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
29
decomp/DBCServer_Release_x64/full/functions/0x14018bc80.c
Normal file
29
decomp/DBCServer_Release_x64/full/functions/0x14018bc80.c
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14018bc80 FUN_14018bc80
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_14018bc80(longlong param_1,undefined8 *param_2,uint param_3)
|
||||
|
||||
{
|
||||
uint *puVar1;
|
||||
ulonglong uVar2;
|
||||
|
||||
*param_2 = 0;
|
||||
uVar2 = (ulonglong)param_3 % (ulonglong)*(uint *)(param_1 + 0x428);
|
||||
if (*(longlong *)(param_1 + 0x408) != 0) {
|
||||
puVar1 = *(uint **)(*(longlong *)(param_1 + 0x408) + uVar2 * 8);
|
||||
while( true ) {
|
||||
if (puVar1 == (uint *)0x0) {
|
||||
return param_2;
|
||||
}
|
||||
if ((uint)uVar2 != puVar1[8] % *(uint *)(param_1 + 0x428)) {
|
||||
return param_2;
|
||||
}
|
||||
if (*puVar1 == param_3) break;
|
||||
puVar1 = *(uint **)(puVar1 + 4);
|
||||
}
|
||||
FUN_140188010(param_2,puVar1 + 2,param_3,uVar2,0xfffffffffffffffe);
|
||||
}
|
||||
return param_2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue