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
32
decomp/DBCServer_Release_x64/full/functions/0x140001170.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x140001170.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001170 FUN_140001170
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 *
|
||||
FUN_140001170(longlong param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
undefined8 uVar1;
|
||||
undefined8 *puVar2;
|
||||
undefined8 local_res8;
|
||||
|
||||
local_res8 = 0;
|
||||
if (*(longlong *)(param_1 + 0x10) != 0) {
|
||||
(**(code **)(**(longlong **)(param_1 + 0x10) + 0x20))
|
||||
(*(longlong **)(param_1 + 0x10),&local_res8,param_3,param_4,0xfffffffffffffffe);
|
||||
}
|
||||
uVar1 = local_res8;
|
||||
puVar2 = operator_new(0x18);
|
||||
if (puVar2 != (undefined8 *)0x0) {
|
||||
puVar2[1] = 0;
|
||||
*(undefined4 *)(puVar2 + 2) = 1;
|
||||
*puVar2 = uVar1;
|
||||
}
|
||||
*param_2 = puVar2;
|
||||
if (puVar2 == (undefined8 *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_140218220(0x8007000e);
|
||||
}
|
||||
return param_2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue