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
45
decomp/DBCServer_Release_x64/full/functions/0x14018b400.c
Normal file
45
decomp/DBCServer_Release_x64/full/functions/0x14018b400.c
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14018b400 FUN_14018b400
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14018b400(undefined8 param_1,longlong param_2,longlong param_3,longlong *param_4)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
longlong lVar2;
|
||||
longlong lVar3;
|
||||
longlong lVar4;
|
||||
int local_res10;
|
||||
int local_res14;
|
||||
longlong *local_res20;
|
||||
|
||||
local_res10 = *(int *)(param_2 + 0x6f8);
|
||||
iVar1 = *(int *)(param_3 + 0x6f8);
|
||||
lVar4 = param_2;
|
||||
local_res14 = iVar1;
|
||||
if (iVar1 < local_res10) {
|
||||
lVar4 = param_3;
|
||||
param_3 = param_2;
|
||||
local_res14 = local_res10;
|
||||
local_res10 = iVar1;
|
||||
}
|
||||
lVar2 = 0;
|
||||
lVar3 = lVar2;
|
||||
if ((longlong *)*param_4 != (longlong *)0x0) {
|
||||
lVar3 = *(longlong *)*param_4;
|
||||
}
|
||||
*(longlong *)(lVar3 + 0x100) = lVar4;
|
||||
if ((longlong *)*param_4 != (longlong *)0x0) {
|
||||
lVar2 = *(longlong *)*param_4;
|
||||
}
|
||||
*(longlong *)(lVar2 + 0x108) = param_3;
|
||||
local_res20 = param_4;
|
||||
FUN_140189c30(param_1,&local_res10,param_4,local_res10,0xfffffffffffffffe);
|
||||
if ((*param_4 != 0) &&
|
||||
(*(longlong *)(*param_4 + 8) = *(longlong *)(*param_4 + 8) + -1,
|
||||
*(longlong *)(*param_4 + 8) == 0)) {
|
||||
FUN_140175a00(*param_4);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue