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
53
decomp/DBCServer_Release_x64/full/functions/0x1400054e0.c
Normal file
53
decomp/DBCServer_Release_x64/full/functions/0x1400054e0.c
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400054e0 FUN_1400054e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_1400054e0(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 local_res10 [2];
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
local_res10[0] = param_2;
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b0b);
|
||||
FUN_140153c40(local_40,*param_4);
|
||||
lVar2 = SUB168(SEXT816(-0x608b85ead287c92f) * SEXT816(param_5[1] - *param_5),8) +
|
||||
(param_5[1] - *param_5);
|
||||
FUN_140153c40(local_40,(lVar2 >> 9) - (lVar2 >> 0x3f));
|
||||
lVar2 = *param_5;
|
||||
if (lVar2 != param_5[1]) {
|
||||
do {
|
||||
FUN_14016e5b0(local_40,lVar2);
|
||||
FUN_14016e5b0(local_40,lVar2 + 0x10);
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x31c));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 800));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x322));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x326));
|
||||
FUN_14004ee00(local_40,*(undefined8 *)(lVar2 + 0x328));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(lVar2 + 0x330));
|
||||
FUN_140153c40(local_40,*(undefined4 *)(lVar2 + 0x332));
|
||||
FUN_14016cf00(local_40,lVar2 + 0x20);
|
||||
FUN_14016cf00(local_40,lVar2 + 0x40);
|
||||
FUN_14016cf00(local_40,lVar2 + 0x60);
|
||||
lVar2 = lVar2 + 0x336;
|
||||
} while (lVar2 != param_5[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))(param_1,local_res10,1,param_3,local_40,L"RESP_MAIL",0x2b0b)
|
||||
;
|
||||
FUN_14016d0e0(local_38);
|
||||
if ((local_30 != 0) && (local_24 < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue