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,56 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x140119ef0 FUN_140119ef0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140119ef0(longlong param_1)
|
||||
|
||||
{
|
||||
char cVar1;
|
||||
longlong lVar2;
|
||||
longlong lVar3;
|
||||
ulonglong uVar4;
|
||||
char *pcVar5;
|
||||
char *pcVar6;
|
||||
bool bVar7;
|
||||
|
||||
lVar2 = *(longlong *)(param_1 + 0xa0);
|
||||
if (lVar2 == param_1 + 0x58) {
|
||||
return;
|
||||
}
|
||||
do {
|
||||
lVar3 = 8;
|
||||
pcVar5 = (char *)(*(longlong *)(lVar2 + 0x20) + 0x10);
|
||||
bVar7 = pcVar5 == (char *)0x0;
|
||||
pcVar6 = "country";
|
||||
do {
|
||||
if (lVar3 == 0) break;
|
||||
lVar3 = lVar3 + -1;
|
||||
bVar7 = *pcVar5 == *pcVar6;
|
||||
pcVar5 = pcVar5 + 1;
|
||||
pcVar6 = pcVar6 + 1;
|
||||
} while (bVar7);
|
||||
if (bVar7) {
|
||||
pcVar5 = (char *)(*(longlong *)(lVar2 + 0x30) + 0x10);
|
||||
if (pcVar5 == (char *)0x0) {
|
||||
return;
|
||||
}
|
||||
uVar4 = 0xffffffffffffffff;
|
||||
pcVar6 = pcVar5;
|
||||
break;
|
||||
}
|
||||
lVar2 = *(longlong *)(lVar2 + 0x48);
|
||||
if (lVar2 == param_1 + 0x58) {
|
||||
return;
|
||||
}
|
||||
} while( true );
|
||||
while( true ) {
|
||||
uVar4 = uVar4 - 1;
|
||||
cVar1 = *pcVar6;
|
||||
pcVar6 = pcVar6 + 1;
|
||||
if (cVar1 == '\0') break;
|
||||
if (uVar4 == 0) break;
|
||||
}
|
||||
FUN_140003e60(&DAT_1401bd250,pcVar5,~uVar4 - 1);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue