Add fopAcM_RegisterCreateID/fopAcM_RegisterDeleteID macros from TP decomp

This commit is contained in:
LagoLunatic
2026-05-10 16:11:54 -04:00
parent 70b8a14aa4
commit 928ff4f07b
4 changed files with 16 additions and 3 deletions
+4 -1
View File
@@ -682,7 +682,8 @@ BOOL daNpc_Km1_c::_execute() {
/* 00001808-0000188C .text _delete__11daNpc_Km1_cFv */
BOOL daNpc_Km1_c::_delete() {
fopAcM_GetID(this);
fopAcM_RegisterDeleteID(this);
dComIfG_resDeleteDemo(&field_0x6C4,"Km");
if(mpMorf != NULL){
@@ -705,6 +706,8 @@ static BOOL CheckCreateHeap(fopAc_ac_c* actor) {
/* 000018AC-00001A1C .text _create__11daNpc_Km1_cFv */
cPhs_State daNpc_Km1_c::_create() {
fopAcM_RegisterCreateID(this);
static int a_heap_size_tbl[] = {
0x272E0
};