decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
|
|
@ -0,0 +1,36 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x140071ba0 FUN_140071ba0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140071ba0(longlong param_1,char param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
longlong lVar2;
|
||||
exception local_50 [72];
|
||||
|
||||
FUN_14006b350((int *)(param_1 + 0x28));
|
||||
if (*(char *)(param_1 + 0x80) == '\0') {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14006be00();
|
||||
}
|
||||
if (param_2 == '\0') {
|
||||
param_4 = 0;
|
||||
lVar2 = WSASocketW(2);
|
||||
}
|
||||
else {
|
||||
lVar2 = Ordinal_23(2);
|
||||
}
|
||||
*(longlong *)(param_1 + 0x3d0) = lVar2;
|
||||
if (lVar2 == -1) {
|
||||
uVar1 = Ordinal_111();
|
||||
FUN_14006ba50(local_50,L"Socket 생성 실패: %d",(ulonglong)uVar1,param_4);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_50,(ThrowInfo *)&DAT_1401a93e8);
|
||||
}
|
||||
*(undefined1 *)(param_1 + 0x80) = 0;
|
||||
*(int *)(param_1 + 0x310) = *(int *)(param_1 + 0x310) + 1;
|
||||
FUN_14006b3e0(param_1 + 0x28);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue