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
25
decomp/DBCServer_Release_x64/full/functions/0x14004bdb0.c
Normal file
25
decomp/DBCServer_Release_x64/full/functions/0x14004bdb0.c
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14004bdb0 FUN_14004bdb0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void * FUN_14004bdb0(undefined8 param_1,ulonglong param_2)
|
||||
|
||||
{
|
||||
void *pvVar1;
|
||||
char *local_res10 [3];
|
||||
undefined **local_28 [5];
|
||||
|
||||
if (param_2 == 0) {
|
||||
return (void *)0x0;
|
||||
}
|
||||
if ((param_2 < 0x4000000000000000) && (pvVar1 = operator_new(param_2 * 4), pvVar1 != (void *)0x0))
|
||||
{
|
||||
return pvVar1;
|
||||
}
|
||||
local_res10[0] = (char *)0x0;
|
||||
std::exception::exception((exception *)local_28,local_res10);
|
||||
local_28[0] = std::bad_alloc::vftable;
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_28,(ThrowInfo *)&DAT_140341858);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue