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,42 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14010b990 FUN_14010b990
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14010b990(int *param_1,int param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined4 *puVar3;
|
||||
undefined4 *puVar4;
|
||||
|
||||
if (0 < param_2) {
|
||||
if (*param_1 <= param_2) {
|
||||
FUN_140109a60(param_1);
|
||||
return;
|
||||
}
|
||||
puVar3 = *(undefined4 **)(param_1 + 4);
|
||||
iVar1 = 0;
|
||||
puVar4 = puVar3 + param_2;
|
||||
puVar2 = puVar3;
|
||||
if (0 < *param_1 - param_2) {
|
||||
do {
|
||||
iVar1 = iVar1 + 1;
|
||||
puVar3 = puVar2 + 1;
|
||||
*puVar2 = *puVar4;
|
||||
puVar4 = puVar4 + 1;
|
||||
puVar2 = puVar3;
|
||||
} while (iVar1 < *param_1 - param_2);
|
||||
}
|
||||
if (iVar1 < *param_1) {
|
||||
do {
|
||||
*puVar3 = 0;
|
||||
iVar1 = iVar1 + 1;
|
||||
puVar3 = puVar3 + 1;
|
||||
} while (iVar1 < *param_1);
|
||||
}
|
||||
*param_1 = *param_1 - param_2;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue