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
42
decomp/DBCServer_Release_x64/full/functions/0x140005cb0.c
Normal file
42
decomp/DBCServer_Release_x64/full/functions/0x140005cb0.c
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140005cb0 FUN_140005cb0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1
|
||||
FUN_140005cb0(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
|
||||
undefined4 *param_5,longlong *param_6)
|
||||
|
||||
{
|
||||
undefined1 uVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined1 local_40 [8];
|
||||
undefined1 local_38 [8];
|
||||
longlong local_30;
|
||||
int local_24;
|
||||
|
||||
FUN_14016b440(local_40);
|
||||
FUN_14016abe0(local_40);
|
||||
FUN_14004f3c0(local_40,0x2b0d);
|
||||
FUN_140153c40(local_40,*param_5);
|
||||
FUN_140153c40(local_40,(param_6[1] - *param_6) / 0xc);
|
||||
puVar2 = (undefined4 *)*param_6;
|
||||
if (puVar2 != (undefined4 *)param_6[1]) {
|
||||
do {
|
||||
FUN_140153c40(local_40,*puVar2);
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(puVar2 + 1));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)((longlong)puVar2 + 6));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)(puVar2 + 2));
|
||||
FUN_14004f3c0(local_40,*(undefined2 *)((longlong)puVar2 + 10));
|
||||
puVar2 = puVar2 + 3;
|
||||
} while (puVar2 != (undefined4 *)param_6[1]);
|
||||
}
|
||||
uVar1 = (**(code **)(*param_1 + 0x18))
|
||||
(param_1,param_2,param_3,param_4,local_40,L"RESP_READ_DUNGEON_RANK",0x2b0d);
|
||||
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