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,41 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14000cef0 FUN_14000cef0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_14000cef0(longlong param_1)
|
||||
|
||||
{
|
||||
char cVar1;
|
||||
undefined8 *puVar2;
|
||||
ulonglong uVar3;
|
||||
char *pcVar4;
|
||||
char *pcVar5;
|
||||
|
||||
puVar2 = operator_new(0x58);
|
||||
if (puVar2 == (undefined8 *)0x0) {
|
||||
return (undefined8 *)0x0;
|
||||
}
|
||||
puVar2[1] = 0xffffffffffffffff;
|
||||
uVar3 = 0xffffffffffffffff;
|
||||
puVar2[2] = 0;
|
||||
puVar2[7] = &DAT_1401bcf30;
|
||||
puVar2[3] = 0;
|
||||
puVar2[5] = 0;
|
||||
puVar2[6] = 0;
|
||||
puVar2[9] = 0;
|
||||
puVar2[10] = 0;
|
||||
*(undefined4 *)(puVar2 + 4) = 2;
|
||||
*puVar2 = TiXmlComment::vftable;
|
||||
pcVar4 = (char *)(*(longlong *)(param_1 + 0x38) + 0x10);
|
||||
pcVar5 = pcVar4;
|
||||
do {
|
||||
if (uVar3 == 0) break;
|
||||
uVar3 = uVar3 - 1;
|
||||
cVar1 = *pcVar5;
|
||||
pcVar5 = pcVar5 + 1;
|
||||
} while (cVar1 != '\0');
|
||||
FUN_14000af60(puVar2 + 7,pcVar4,~uVar3 - 1);
|
||||
puVar2[2] = *(undefined8 *)(param_1 + 0x10);
|
||||
return puVar2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue