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

22 lines
604 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401f4040 FUN_1401f4040
* Pseudocode, not original source. */
undefined8 * FUN_1401f4040(undefined8 *param_1,uint param_2)
{
*param_1 = Proud::CFastArray<unsigned_char,0>::vftable;
if (param_1[2] != 0) {
if ((longlong *)param_1[1] == (longlong *)0x0) {
FUN_14016d970(param_1[2]);
}
else {
(**(code **)(*(longlong *)param_1[1] + 0x18))();
}
}
if ((param_2 & 1) != 0) {
operator_delete(param_1);
}
return param_1;
}