server-re/decomp/Agent_Release_x64/full/functions/0x14002b7b0.c
2026-10-14 16:45:19 -04:00

22 lines
620 B
C

/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x14002b7b0 FUN_14002b7b0
* Pseudocode, not original source. */
undefined8 * FUN_14002b7b0(undefined8 *param_1,uint param_2)
{
*param_1 = MagiCustomOption::vftable;
if (0xf < (ulonglong)param_1[6]) {
operator_delete((void *)param_1[3]);
}
param_1[6] = 0xf;
param_1[5] = 0;
*(undefined1 *)(param_1 + 3) = 0;
*param_1 = MBISingleton<MagiCustomOption>::vftable;
DAT_140162d48 = 0;
if ((param_2 & 1) != 0) {
operator_delete(param_1);
}
return param_1;
}