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,54 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14006d300 FUN_14006d300
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14006d300(longlong param_1,longlong param_2,short *param_3)
|
||||
|
||||
{
|
||||
undefined1 auVar1 [16];
|
||||
undefined1 auVar2 [16];
|
||||
ulonglong uVar3;
|
||||
ulonglong uVar4;
|
||||
ulonglong uVar5;
|
||||
longlong *plVar6;
|
||||
exception local_58 [88];
|
||||
|
||||
if (*(int *)(param_1 + 0x40) != 2) {
|
||||
FUN_14006c280(
|
||||
L"CFastHeap.Free(): Attempt Free after Heap destruction! Doing Free before WinMain returns in highly recommended. Refer the manual for the resolution."
|
||||
);
|
||||
return;
|
||||
}
|
||||
if ((param_2 == 0) || (param_3 = (short *)(param_2 + -0x10), *param_3 != 0x71a)) {
|
||||
FUN_14006ba50(local_58,
|
||||
L"Not CFastHeap-allocated block! Refer to ProudNet help \'ProudNet Technical Note\' for more help."
|
||||
,param_3,param_1);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1401a93e8);
|
||||
}
|
||||
*param_3 = 0xb0c;
|
||||
if (*(longlong *)(param_2 + -8) != 0) {
|
||||
uVar5 = *(ulonglong *)(param_1 + 0x60) >> 7;
|
||||
uVar3 = *(longlong *)(param_2 + -8) - 1;
|
||||
auVar1._8_8_ = 0;
|
||||
auVar1._0_8_ = uVar5;
|
||||
auVar2._8_8_ = 0;
|
||||
auVar2._0_8_ = uVar3;
|
||||
uVar4 = SUB168(auVar2 / auVar1,0);
|
||||
if (0xffffffff < uVar4) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14006be60(L"Proud::CFastHeapImpl::GetAllocByGroundSize",uVar3 % uVar5,param_3,param_1);
|
||||
}
|
||||
if ((uVar4 < 0x80) &&
|
||||
(plVar6 = *(longlong **)
|
||||
(*(longlong *)(param_1 + 0x68) + (longlong)SUB164(auVar2 / auVar1,0) * 8),
|
||||
plVar6 != (longlong *)0x0)) goto LAB_14006d388;
|
||||
}
|
||||
plVar6 = *(longlong **)(param_1 + 0x48);
|
||||
LAB_14006d388:
|
||||
/* WARNING: Could not recover jumptable at 0x00014006d392. Too many branches */
|
||||
/* WARNING: Treating indirect jump as call */
|
||||
(**(code **)(*plVar6 + 0x10))(plVar6,param_3);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue