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,34 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400fea10 FUN_1400fea10
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
uint FUN_1400fea10(longlong *param_1,void *param_2,uint param_3)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
uint uVar2;
|
||||
|
||||
uVar1 = *(uint *)(param_1 + 1);
|
||||
uVar2 = uVar1;
|
||||
if (param_3 < uVar1) {
|
||||
uVar2 = param_3;
|
||||
}
|
||||
if (uVar2 == 0) {
|
||||
return 0;
|
||||
}
|
||||
*(uint *)(param_1 + 1) = uVar1 - uVar2;
|
||||
if (*(int *)(param_1[5] + 0x2c) == 1) {
|
||||
uVar1 = FUN_1400fe5a0(*(uint *)((longlong)param_1 + 0x4c),(byte *)*param_1,uVar2);
|
||||
}
|
||||
else {
|
||||
if (*(int *)(param_1[5] + 0x2c) != 2) goto LAB_1400fea83;
|
||||
uVar1 = FUN_1400f6e20(*(uint *)((longlong)param_1 + 0x4c),(uint *)*param_1,uVar2);
|
||||
}
|
||||
*(uint *)((longlong)param_1 + 0x4c) = uVar1;
|
||||
LAB_1400fea83:
|
||||
memcpy(param_2,(void *)*param_1,(ulonglong)uVar2);
|
||||
*param_1 = *param_1 + (ulonglong)uVar2;
|
||||
*(int *)((longlong)param_1 + 0xc) = *(int *)((longlong)param_1 + 0xc) + uVar2;
|
||||
return uVar2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue