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
44
decomp/DBCServer_Release_x64/full/functions/0x14015b710.c
Normal file
44
decomp/DBCServer_Release_x64/full/functions/0x14015b710.c
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14015b710 FUN_14015b710
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_14015b710(longlong param_1)
|
||||
|
||||
{
|
||||
char cVar1;
|
||||
longlong lVar2;
|
||||
DWORD DVar3;
|
||||
DWORD DVar4;
|
||||
longlong *plVar5;
|
||||
|
||||
DVar3 = GetTickCount();
|
||||
lVar2 = DAT_140353198;
|
||||
*(undefined4 *)(param_1 + 0x40) = 0xd;
|
||||
*(undefined1 *)(param_1 + 0x18) = *(undefined1 *)(lVar2 + 0x16);
|
||||
plVar5 = (longlong *)FUN_1401e1a80();
|
||||
*(longlong **)(param_1 + 0x10) = plVar5;
|
||||
if (plVar5 != (longlong *)0x0) {
|
||||
(**(code **)(*plVar5 + 0x118))(plVar5,param_1);
|
||||
(**(code **)(**(longlong **)(param_1 + 0x10) + 0x10))
|
||||
(*(longlong **)(param_1 + 0x10),param_1 + 0x48);
|
||||
(**(code **)(**(longlong **)(param_1 + 0x10) + 8))
|
||||
(*(longlong **)(param_1 + 0x10),param_1 + 0x68);
|
||||
}
|
||||
if (*(char *)(DAT_140353190 + 0x150) != '\0') {
|
||||
FUN_14015b540(param_1);
|
||||
cVar1 = *(char *)(param_1 + 0x88);
|
||||
while (cVar1 == '\0') {
|
||||
FUN_14015c0d0(param_1);
|
||||
DVar4 = GetTickCount();
|
||||
if (30000 < DVar4 - DVar3) {
|
||||
printf("\n AGENT MODE ERROR - NOT RECEIVE DATA \n");
|
||||
Sleep(3000);
|
||||
return 0;
|
||||
}
|
||||
Sleep(10);
|
||||
cVar1 = *(char *)(param_1 + 0x88);
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue