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
43
decomp/DBCServer_Release_x64/full/functions/0x140004270.c
Normal file
43
decomp/DBCServer_Release_x64/full/functions/0x140004270.c
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140004270 FUN_140004270
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140004270(longlong *param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
undefined4 *param_5,undefined4 *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
longlong lVar2;
|
||||
undefined4 *puVar3;
|
||||
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,0x2b03);
|
||||
FUN_140153c40(local_40,*param_4);
|
||||
puVar3 = param_5 + 0x20;
|
||||
lVar2 = 0x20;
|
||||
do {
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_14016e5b0(local_40,puVar3);
|
||||
puVar3 = puVar3 + 4;
|
||||
param_5 = param_5 + 1;
|
||||
lVar2 = lVar2 + -1;
|
||||
} while (lVar2 != 0);
|
||||
FUN_140153c40(local_40,*param_6);
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,local_res10,1,param_3,local_40,L"RESP_READ_QUICKSLOT",0x2b03);
|
||||
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