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
51
decomp/DBCServer_Release_x64/full/functions/0x1401f6cc0.c
Normal file
51
decomp/DBCServer_Release_x64/full/functions/0x1401f6cc0.c
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401f6cc0 FUN_1401f6cc0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401f6cc0(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
char cVar1;
|
||||
undefined8 uVar2;
|
||||
undefined8 local_res10;
|
||||
undefined8 uVar3;
|
||||
undefined8 local_40;
|
||||
undefined **local_38;
|
||||
undefined4 local_30;
|
||||
undefined2 local_2c;
|
||||
int local_28;
|
||||
|
||||
uVar3 = 0xfffffffffffffffe;
|
||||
while( true ) {
|
||||
local_38 = Proud::AddrPort::vftable;
|
||||
local_28 = 0;
|
||||
local_40 = 0;
|
||||
local_30 = DAT_140344450;
|
||||
local_2c = DAT_140344454;
|
||||
uVar2 = 0;
|
||||
if (*(undefined8 **)(param_2 + 0x10) != (undefined8 *)0x0) {
|
||||
uVar2 = **(undefined8 **)(param_2 + 0x10);
|
||||
}
|
||||
cVar1 = FUN_14019c560(uVar2,0,&local_40,param_4,uVar3);
|
||||
if (cVar1 == '\0') break;
|
||||
*(undefined1 *)(param_2 + 0x80) = 0;
|
||||
if ((local_40._4_4_ != 0) || (local_28 == 0)) {
|
||||
*(undefined4 *)(param_2 + 0x18) = 3;
|
||||
local_res10 = 0;
|
||||
FUN_1401786c0(param_2 + 0x10,&local_res10);
|
||||
return;
|
||||
}
|
||||
*(int *)(param_2 + 0x1c) = *(int *)(param_2 + 0x1c) + 1;
|
||||
if (2 < *(int *)(param_2 + 0x1c)) {
|
||||
if (*(double *)(param_2 + 200) == 0.0) {
|
||||
uVar3 = FUN_1401eac50(*(undefined8 *)(param_1 + 8));
|
||||
*(undefined8 *)(param_2 + 200) = uVar3;
|
||||
}
|
||||
FUN_1401f6490(param_1,param_2);
|
||||
return;
|
||||
}
|
||||
FUN_1401f63c0(param_1);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue