server-re/decomp/AgentManager_Release_x64/full/functions/0x14000c770.c
2026-10-15 09:58:24 -04:00

22 lines
718 B
C

/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
* Ghidra 12.1.2 decompiler output for 0x14000c770 FUN_14000c770
* Pseudocode, not original source. */
void * FUN_14000c770(__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_14016c158);
}
return pvVar1;
}