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
33
decomp/DBCServer_Release_x64/full/functions/0x1401e3340.c
Normal file
33
decomp/DBCServer_Release_x64/full/functions/0x1401e3340.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401e3340 FUN_1401e3340
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
int FUN_1401e3340(longlong param_1,undefined8 param_2,undefined4 *param_3)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
int *piVar2;
|
||||
int iVar3;
|
||||
undefined4 local_res8 [8];
|
||||
|
||||
if ((param_1 != 0) && (param_3 != (undefined4 *)0x0)) {
|
||||
iVar1 = FUN_140202080(param_1,param_2,local_res8);
|
||||
iVar3 = 0;
|
||||
piVar2 = &DAT_140291650;
|
||||
do {
|
||||
if (iVar1 == *piVar2) {
|
||||
iVar1 = *(int *)(&DAT_140291654 + (longlong)iVar3 * 8);
|
||||
if (iVar1 == 0) {
|
||||
*param_3 = local_res8[0];
|
||||
iVar1 = 0;
|
||||
}
|
||||
return iVar1;
|
||||
}
|
||||
piVar2 = piVar2 + 2;
|
||||
iVar3 = iVar3 + 1;
|
||||
} while ((longlong)piVar2 < 0x140291668);
|
||||
return 1;
|
||||
}
|
||||
return 0x10;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue