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
42
decomp/DBCServer_Release_x64/full/functions/0x14009f0e0.c
Normal file
42
decomp/DBCServer_Release_x64/full/functions/0x14009f0e0.c
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14009f0e0 FUN_14009f0e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14009f0e0(int *param_1,int *param_2,longlong *param_3)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined8 *puVar2;
|
||||
int local_48;
|
||||
undefined8 local_44;
|
||||
undefined1 local_38 [24];
|
||||
undefined1 local_20 [32];
|
||||
|
||||
iVar1 = *param_2;
|
||||
if (iVar1 < 1) {
|
||||
return;
|
||||
}
|
||||
if (param_3[4] != 0) {
|
||||
for (puVar2 = *(undefined8 **)
|
||||
(*param_3 + ((ulonglong)(longlong)*param_1 % (ulonglong)param_3[1]) * 8);
|
||||
puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) {
|
||||
if (*param_1 == *(int *)(puVar2 + 1)) {
|
||||
if (puVar2 != (undefined8 *)0x0) {
|
||||
*(int *)(puVar2 + 2) = *(int *)(puVar2 + 2) + iVar1;
|
||||
*(int *)((longlong)puVar2 + 0xc) = *(int *)((longlong)puVar2 + 0xc) + 1;
|
||||
return;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
local_48 = *param_1;
|
||||
local_44 = CONCAT44(iVar1,1);
|
||||
if (param_3[4] != 0) {
|
||||
FUN_1400a4fb0(param_3,local_38,&local_48,&local_48);
|
||||
return;
|
||||
}
|
||||
FUN_1400a5140(param_3,local_20,&local_48);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue