server-re/decomp/DBCServer_Release_x64/full/functions/0x14004c460.c

22 lines
715 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14004c460 FUN_14004c460
* Pseudocode, not original source. */
void * FUN_14004c460(__uint64 param_1)
{
void *pvVar1;
char *local_res8 [4];
undefined **local_28 [5];
pvVar1 = (void *)0x0;
if ((param_1 != 0) && (pvVar1 = operator_new(param_1), pvVar1 == (void *)0x0)) {
local_res8[0] = (char *)0x0;
std::exception::exception((exception *)local_28,local_res8);
local_28[0] = std::bad_alloc::vftable;
/* WARNING: Subroutine does not return */
_CxxThrowException(local_28,(ThrowInfo *)&DAT_140341858);
}
return pvVar1;
}