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
31
decomp/DBCServer_Release_x64/full/functions/0x14019ad60.c
Normal file
31
decomp/DBCServer_Release_x64/full/functions/0x14019ad60.c
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14019ad60 FUN_14019ad60
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_14019ad60(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
undefined1 auVar1 [16];
|
||||
undefined1 auVar2 [16];
|
||||
ulonglong uVar3;
|
||||
ulonglong uVar4;
|
||||
|
||||
if (param_2 != 0) {
|
||||
uVar4 = *(ulonglong *)(param_1 + 0x60) >> 7;
|
||||
auVar1._8_8_ = 0;
|
||||
auVar1._0_8_ = uVar4;
|
||||
auVar2._8_8_ = 0;
|
||||
auVar2._0_8_ = param_2 - 1U;
|
||||
uVar3 = SUB168(auVar2 / auVar1,0);
|
||||
if (0xffffffff < uVar3) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d710(L"Proud::CFastHeapImpl::GetAllocByGroundSize",(param_2 - 1U) % uVar4);
|
||||
}
|
||||
if (uVar3 < 0x80) {
|
||||
return *(undefined8 *)
|
||||
(*(longlong *)(param_1 + 0x68) + (longlong)SUB164(auVar2 / auVar1,0) * 8);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue