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,36 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14010d340 FUN_14010d340
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
bool FUN_14010d340(uint *param_1)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
int *piVar2;
|
||||
ulonglong uVar3;
|
||||
int iVar4;
|
||||
|
||||
uVar1 = *param_1;
|
||||
uVar3 = (ulonglong)uVar1;
|
||||
if (uVar1 != 0) {
|
||||
if (uVar1 == 1) {
|
||||
return true;
|
||||
}
|
||||
if (1 < (int)uVar1) {
|
||||
iVar4 = 0;
|
||||
if (0 < (int)uVar1) {
|
||||
piVar2 = *(int **)(param_1 + 4);
|
||||
do {
|
||||
if (*piVar2 == 0xfffffff) {
|
||||
iVar4 = iVar4 + 1;
|
||||
}
|
||||
piVar2 = piVar2 + 1;
|
||||
uVar3 = uVar3 - 1;
|
||||
} while (uVar3 != 0);
|
||||
}
|
||||
return (int)uVar1 / 2 <= iVar4;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue