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
41
decomp/DBCServer_Release_x64/full/functions/0x1401c3450.c
Normal file
41
decomp/DBCServer_Release_x64/full/functions/0x1401c3450.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401c3450 FUN_1401c3450
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401c3450(longlong param_1,undefined8 param_2)
|
||||
|
||||
{
|
||||
ulonglong uVar1;
|
||||
int iVar2;
|
||||
ulonglong uVar3;
|
||||
uint uVar4;
|
||||
ulonglong uVar5;
|
||||
|
||||
FUN_14016cac0(param_2,(longlong)*(int *)(param_1 + 0x18));
|
||||
iVar2 = *(int *)(param_1 + 0x18);
|
||||
uVar3 = 0;
|
||||
uVar5 = uVar3;
|
||||
if (0 < iVar2) {
|
||||
do {
|
||||
if (((longlong)uVar3 < 0) || (iVar2 <= (int)uVar5)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6e0();
|
||||
}
|
||||
uVar1 = *(ulonglong *)(*(longlong *)(param_1 + 0x10) + uVar3 * 8);
|
||||
if ((int)uVar1 == (int)(uVar1 >> 0x20)) {
|
||||
FUN_14004eef0(param_2,0);
|
||||
}
|
||||
else {
|
||||
FUN_14004eef0(param_2,1);
|
||||
FUN_140153c40(param_2,uVar1 & 0xffffffff);
|
||||
}
|
||||
FUN_140153c40(param_2);
|
||||
iVar2 = *(int *)(param_1 + 0x18);
|
||||
uVar4 = (int)uVar5 + 1;
|
||||
uVar3 = uVar3 + 1;
|
||||
uVar5 = (ulonglong)uVar4;
|
||||
} while ((int)uVar4 < iVar2);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue