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/0x1401c0510.c
Normal file
43
decomp/DBCServer_Release_x64/full/functions/0x1401c0510.c
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401c0510 FUN_1401c0510
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401c0510(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
undefined8 *puVar2;
|
||||
longlong *plVar3;
|
||||
undefined8 uVar4;
|
||||
|
||||
uVar4 = 0xfffffffffffffffe;
|
||||
*param_1 = Proud::CRecycleHostIDFactory::vftable;
|
||||
*(undefined4 *)(param_1 + 2) = 2;
|
||||
FUN_1401750f0(param_1 + 3);
|
||||
lVar1 = param_1[0x11];
|
||||
while( true ) {
|
||||
if (lVar1 == 0) {
|
||||
param_1[0xf] = 0;
|
||||
param_1[0x10] = 0;
|
||||
FUN_1401bf2d0(param_1 + 0xe);
|
||||
FUN_1401b73d0(param_1 + 3);
|
||||
*param_1 = Proud::IHostIDFactory::vftable;
|
||||
return;
|
||||
}
|
||||
puVar2 = (undefined8 *)param_1[0xf];
|
||||
if (puVar2 == (undefined8 *)0x0) break;
|
||||
param_1[0xf] = *puVar2;
|
||||
plVar3 = (longlong *)param_1[0xe];
|
||||
if (plVar3 == (longlong *)0x0) {
|
||||
FUN_14016d970();
|
||||
}
|
||||
else {
|
||||
(**(code **)(*plVar3 + 0x10))(plVar3,puVar2,plVar3,param_4,uVar4);
|
||||
}
|
||||
param_1[0x11] = param_1[0x11] + -1;
|
||||
lVar1 = param_1[0x11];
|
||||
}
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14004dc60(0x80004005);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue