/* 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::vftable; DAT_140162d48 = 0; if ((param_2 & 1) != 0) { operator_delete(param_1); } return param_1; }