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
|
|
@ -0,0 +1,38 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x140104e60 FUN_140104e60
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_140104e60(uint *param_1,uint *param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined8 uVar2;
|
||||
|
||||
iVar1 = FUN_140103a40((int *)param_2);
|
||||
iVar1 = iVar1 % 0x1c;
|
||||
if ((int)*param_2 < 2) {
|
||||
iVar1 = 1;
|
||||
FUN_14010c4c0(param_1,1);
|
||||
}
|
||||
else {
|
||||
uVar2 = FUN_140103ae0(param_1,*param_2 * 0x1c + -0x1d + iVar1);
|
||||
if ((int)uVar2 != 0) {
|
||||
return uVar2;
|
||||
}
|
||||
}
|
||||
iVar1 = iVar1 + -1;
|
||||
while( true ) {
|
||||
if (0x1b < iVar1) {
|
||||
return 0;
|
||||
}
|
||||
uVar2 = FUN_14010c410((int *)param_1,(int *)param_1);
|
||||
if ((int)uVar2 != 0) break;
|
||||
uVar2 = FUN_140109a90((int *)param_1,(int *)param_2);
|
||||
if (((int)uVar2 != -1) && (uVar2 = FUN_140109e70(param_1,param_2,param_1), (int)uVar2 != 0)) {
|
||||
return uVar2;
|
||||
}
|
||||
iVar1 = iVar1 + 1;
|
||||
}
|
||||
return uVar2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue