{"type": "func", "start": 13370112, "end": 13370408, "name": "EditorSFXManager::~EditorSFXManager", "pseudocode": "// \n// EditorSFXManager::~EditorSFXManager from 0xcc0300 to 0xcc0428 (296 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x6ad20\n// > <???> @ 0x6e8f0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:06:17 +0000\n// \n\n// Alternative name is '_ZN16EditorSFXManagerD2Ev'\nvoid __fastcall EditorSFXManager::~EditorSFXManager(void **this)\n{\n  cocos2d::CCObject *v2; // x0\n  cocos2d::CCObject *v3; // x0\n  char v4; // w0\n  __int64 v5; // x19\n  _QWORD *v6; // x0\n  _QWORD *v7; // x19\n  void *v8; // x0\n  _QWORD *v9; // x0\n  _QWORD *v10; // x19\n  void *v11; // x0\n  _QWORD *v12; // x0\n  _QWORD *v13; // x19\n  void *v14; // x0\n\n  EditorSFXManager::clearAll((EditorSFXManager *)this);\n  v2 = (cocos2d::CCObject *)*(this + 18);\n  if ( v2 )\n  {\n    cocos2d::CCObject::release(v2);\n    *(this + 18) = nullptr;\n  }\n  v3 = (cocos2d::CCObject *)*(this + 19);\n  if ( v3 )\n  {\n    cocos2d::CCObject::release(v3);\n    *(this + 19) = nullptr;\n  }\n  v4 = *((_BYTE *)this + 168);\n  qword_155F1C8 = 0;\n  if ( (v4 & 1) != 0 )\n    operator delete(*(this + 23));\n  v5 = (__int64)*(this + 16);\n  if ( v5 )\n  {\n    std::__tree<std::__value_type<std::pair<int,int>,std::string>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,std::string>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,std::string>>>::destroy(\n      (__int64)(this + 15),\n      *(void **)v5);\n    std::__tree<std::__value_type<std::pair<int,int>,std::string>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,std::string>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,std::string>>>::destroy(\n      (__int64)(this + 15),\n      *(void **)(v5 + 8));\n    if ( (*(_BYTE *)(v5 + 40) & 1) != 0 )\n      operator delete(*(void **)(v5 + 56));\n    operator delete((void *)v5);\n  }\n  v6 = *(this + 12);\n  if ( v6 )\n  {\n    do\n    {\n      v7 = (_QWORD *)*v6;\n      operator delete(v6);\n      v6 = v7;\n    }\n    while ( v7 );\n  }\n  v8 = *(this + 10);\n  *(this + 10) = nullptr;\n  if ( v8 )\n    operator delete(v8);\n  v9 = *(this + 7);\n  if ( v9 )\n  {\n    do\n    {\n      v10 = (_QWORD *)*v9;\n      operator delete(v9);\n      v9 = v10;\n    }\n    while ( v10 );\n  }\n  v11 = *(this + 5);\n  *(this + 5) = nullptr;\n  if ( v11 )\n    operator delete(v11);\n  v12 = *(this + 2);\n  if ( v12 )\n  {\n    do\n    {\n      v13 = (_QWORD *)*v12;\n      operator delete(v12);\n      v12 = v13;\n    }\n    while ( v13 );\n  }\n  v14 = *this;\n  *this = nullptr;\n  if ( v14 )\n    operator delete(v14);\n}", "assembly": "; \n; EditorSFXManager::~EditorSFXManager from 0xcc0300 to 0xcc0428 (296 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x6ad20\n; > <???> @ 0x6e8f0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:06:17 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xcc0300\nMOV             X29, SP                                                ; +0x4, 0xcc0304\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xcc0308\nMOV             X20, X0                                                ; +0xc, 0xcc030c\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0xcc0310\nBL              _ZN16EditorSFXManager8clearAllEv; EditorSFXManager::clearAll(void) ; +0x14, 0xcc0314\nLDR             X0, [X20,#0x90]; this                                  ; +0x18, 0xcc0318\nCBZ             X0, loc_CC0328                                         ; +0x1c, 0xcc031c\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x20, 0xcc0320\nSTR             XZR, [X20,#0x90]                                       ; +0x24, 0xcc0324\nLDR             X0, [X20,#0x98]; this                                  ; +0x28, 0xcc0328\nCBZ             X0, loc_CC0338                                         ; +0x2c, 0xcc032c\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x30, 0xcc0330\nSTR             XZR, [X20,#0x98]                                       ; +0x34, 0xcc0334\nADRP            X1, #qword_155F1C8@PAGE                                ; +0x38, 0xcc0338\nLDRB            W0, [X20,#0xA8]                                        ; +0x3c, 0xcc033c\nSTR             XZR, [X1,#qword_155F1C8@PAGEOFF]                       ; +0x40, 0xcc0340\nTBNZ            W0, #0, loc_CC040C                                     ; +0x44, 0xcc0344\nLDR             X19, [X20,#0x80]                                       ; +0x48, 0xcc0348\nADD             X21, X20, #0x78 ; 'x'                                  ; +0x4c, 0xcc034c\nCBZ             X19, loc_CC037C                                        ; +0x50, 0xcc0350\nLDR             X1, [X19]                                              ; +0x54, 0xcc0354\nMOV             X0, X21                                                ; +0x58, 0xcc0358\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_4pairIiiEENS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEENS_19__map_value_compareIS3_SA_NS_4lessIS3_EELb1EEENS7_ISA_EEE7destroyEPNS_11__tree_nodeISA_PvEE; std::__tree<std::__value_type<std::pair<int,int>,std::string>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,std::string>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,std::string>>>::destroy(std::__tree_node<std::__value_type<std::pair<int,int>,std::string>,void *> *) ; +0x5c, 0xcc035c\nLDR             X1, [X19,#8]                                           ; +0x60, 0xcc0360\nMOV             X0, X21                                                ; +0x64, 0xcc0364\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_4pairIiiEENS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEENS_19__map_value_compareIS3_SA_NS_4lessIS3_EELb1EEENS7_ISA_EEE7destroyEPNS_11__tree_nodeISA_PvEE; std::__tree<std::__value_type<std::pair<int,int>,std::string>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,std::string>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,std::string>>>::destroy(std::__tree_node<std::__value_type<std::pair<int,int>,std::string>,void *> *) ; +0x68, 0xcc0368\nLDRB            W0, [X19,#0x28]                                        ; +0x6c, 0xcc036c\nTBNZ            W0, #0, loc_CC0400                                     ; +0x70, 0xcc0370\nMOV             X0, X19; void *                                        ; +0x74, 0xcc0374\nBL              _ZdlPv; operator delete(void *)                        ; +0x78, 0xcc0378\nLDR             X0, [X20,#0x60]; void *                                ; +0x7c, 0xcc037c\nCBZ             X0, loc_CC0394                                         ; +0x80, 0xcc0380\nLDR             X19, [X0]                                              ; +0x84, 0xcc0384\nBL              _ZdlPv; operator delete(void *)                        ; +0x88, 0xcc0388\nMOV             X0, X19                                                ; +0x8c, 0xcc038c\nCBNZ            X19, loc_CC0384                                        ; +0x90, 0xcc0390\nLDR             X0, [X20,#0x50]; void *                                ; +0x94, 0xcc0394\nSTR             XZR, [X20,#0x50]                                       ; +0x98, 0xcc0398\nCBZ             X0, loc_CC03A4                                         ; +0x9c, 0xcc039c\nBL              _ZdlPv; operator delete(void *)                        ; +0xa0, 0xcc03a0\nLDR             X0, [X20,#0x38]; void *                                ; +0xa4, 0xcc03a4\nCBZ             X0, loc_CC03BC                                         ; +0xa8, 0xcc03a8\nLDR             X19, [X0]                                              ; +0xac, 0xcc03ac\nBL              _ZdlPv; operator delete(void *)                        ; +0xb0, 0xcc03b0\nMOV             X0, X19                                                ; +0xb4, 0xcc03b4\nCBNZ            X19, loc_CC03AC                                        ; +0xb8, 0xcc03b8\nLDR             X0, [X20,#0x28]; void *                                ; +0xbc, 0xcc03bc\nSTR             XZR, [X20,#0x28]                                       ; +0xc0, 0xcc03c0\nCBZ             X0, loc_CC03CC                                         ; +0xc4, 0xcc03c4\nBL              _ZdlPv; operator delete(void *)                        ; +0xc8, 0xcc03c8\nLDR             X0, [X20,#0x10]; void *                                ; +0xcc, 0xcc03cc\nCBZ             X0, loc_CC03E4                                         ; +0xd0, 0xcc03d0\nLDR             X19, [X0]                                              ; +0xd4, 0xcc03d4\nBL              _ZdlPv; operator delete(void *)                        ; +0xd8, 0xcc03d8\nMOV             X0, X19                                                ; +0xdc, 0xcc03dc\nCBNZ            X19, loc_CC03D4                                        ; +0xe0, 0xcc03e0\nLDR             X0, [X20]; void *                                      ; +0xe4, 0xcc03e4\nSTR             XZR, [X20]                                             ; +0xe8, 0xcc03e8\nCBZ             X0, loc_CC0418                                         ; +0xec, 0xcc03ec\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xf0, 0xcc03f0\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xf4, 0xcc03f4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xf8, 0xcc03f8\nB               _ZdlPv; operator delete(void *)                        ; +0xfc, 0xcc03fc\nLDR             X0, [X19,#0x38]; void *                                ; +0x100, 0xcc0400\nBL              _ZdlPv; operator delete(void *)                        ; +0x104, 0xcc0404\nB               loc_CC0374                                             ; +0x108, 0xcc0408\nLDR             X0, [X20,#0xB8]; void *                                ; +0x10c, 0xcc040c\nBL              _ZdlPv; operator delete(void *)                        ; +0x110, 0xcc0410\nB               loc_CC0348                                             ; +0x114, 0xcc0414\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x118, 0xcc0418\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x11c, 0xcc041c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x120, 0xcc0420\nRET                                                                    ; +0x124, 0xcc0424", "xrefs": ["<???> @ 0x6ad20", "<???> @ 0x6e8f0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}