{"type": "func", "start": 4846996, "end": 4847204, "name": "EditLevelLayer::~EditLevelLayer", "pseudocode": "// \n// EditLevelLayer::~EditLevelLayer from 0x49f594 to 0x49f664 (208 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x49f66c\n// > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x49f674\n// > EditLevelLayer::~EditLevelLayer @ 0x49f67c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:48 +0000\n// \n\n// Alternative name is '_ZN14EditLevelLayerD1Ev'\nvoid __fastcall EditLevelLayer::~EditLevelLayer(EditLevelLayer *this)\n{\n  cocos2d::CCObject *v2; // r0\n  cocos2d::CCObject *v3; // r0\n  int v4; // r3\n  int v5; // r3\n  EditLevelLayer **v6; // r0\n\n  *(_DWORD *)this = &off_C97D10;\n  *((_DWORD *)this + 66) = &off_C97F80;\n  *((_DWORD *)this + 67) = &off_C97FB8;\n  *((_DWORD *)this + 68) = &off_C97FC4;\n  *((_DWORD *)this + 69) = &off_C97FD4;\n  *((_DWORD *)this + 70) = &off_C97FE8;\n  *((_DWORD *)this + 79) = &off_C98000;\n  *((_DWORD *)this + 80) = &off_C98024;\n  *((_DWORD *)this + 81) = &off_C98030;\n  *((_DWORD *)this + 82) = &off_C98040;\n  *((_DWORD *)this + 83) = &off_C9804C;\n  *((_DWORD *)this + 84) = &off_C98058;\n  *((_DWORD *)this + 85) = &off_C9806C;\n  v2 = *((cocos2d::CCObject **)this + 88);\n  if ( v2 )\n    cocos2d::CCObject::release(v2);\n  v3 = *((cocos2d::CCObject **)this + 87);\n  if ( v3 )\n    v3 = (cocos2d::CCObject *)cocos2d::CCObject::release(v3);\n  v4 = *((_DWORD *)this + 95);\n  if ( v4 )\n    *(_DWORD *)(v4 + 520) = 0;\n  v5 = *((_DWORD *)this + 98);\n  if ( v5 )\n    *(_DWORD *)(v5 + 852) = 0;\n  v6 = (EditLevelLayer **)GameLevelManager::sharedState(v3);\n  if ( v6[222] == (EditLevelLayer *)((char *)this + 324) )\n    *(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v6) + 888) = 0;\n  std::string::~string((int)this + 396);\n  std::string::~string((int)this + 368);\n  cocos2d::CCLayer::~CCLayer(this);\n}", "assembly": "; \n; EditLevelLayer::~EditLevelLayer from 0x49f594 to 0x49f664 (208 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x49f66c\n; > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x49f674\n; > EditLevelLayer::~EditLevelLayer @ 0x49f67c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:48 +0000\n; \nLDR             R3, =(_ZTV14EditLevelLayer_ptr - 0x49F59C)             ; +0x0, 0x49f594\nPUSH            {R4,LR}                                                ; +0x2, 0x49f596\nADD             R3, PC; _ZTV14EditLevelLayer_ptr                       ; +0x4, 0x49f598\nLDR             R3, [R3]; `vtable for'EditLevelLayer ...               ; +0x6, 0x49f59a\nADD.W           R2, R3, #8                                             ; +0x8, 0x49f59c\nMOV             R4, R0                                                 ; +0xc, 0x49f5a0\nSTR             R2, [R0]                                               ; +0xe, 0x49f5a2\nADD.W           R2, R3, #0x278                                         ; +0x10, 0x49f5a4\nSTR.W           R2, [R0,#0x108]                                        ; +0x14, 0x49f5a8\nADD.W           R2, R3, #0x2B0                                         ; +0x18, 0x49f5ac\nSTR.W           R2, [R0,#0x10C]                                        ; +0x1c, 0x49f5b0\nADD.W           R2, R3, #0x2BC                                         ; +0x20, 0x49f5b4\nSTR.W           R2, [R0,#0x110]                                        ; +0x24, 0x49f5b8\nADD.W           R2, R3, #0x2CC                                         ; +0x28, 0x49f5bc\nSTR.W           R2, [R0,#0x114]                                        ; +0x2c, 0x49f5c0\nADD.W           R2, R3, #0x2E0                                         ; +0x30, 0x49f5c4\nSTR.W           R2, [R0,#0x118]                                        ; +0x34, 0x49f5c8\nADD.W           R2, R3, #0x2F8                                         ; +0x38, 0x49f5cc\nSTR.W           R2, [R0,#0x13C]                                        ; +0x3c, 0x49f5d0\nADD.W           R2, R3, #0x31C                                         ; +0x40, 0x49f5d4\nSTR.W           R2, [R0,#0x140]                                        ; +0x44, 0x49f5d8\nADD.W           R2, R3, #0x328                                         ; +0x48, 0x49f5dc\nSTR.W           R2, [R0,#0x144]                                        ; +0x4c, 0x49f5e0\nADD.W           R2, R3, #0x338                                         ; +0x50, 0x49f5e4\nSTR.W           R2, [R0,#0x148]                                        ; +0x54, 0x49f5e8\nADD.W           R2, R3, #0x344                                         ; +0x58, 0x49f5ec\nSTR.W           R2, [R0,#0x14C]                                        ; +0x5c, 0x49f5f0\nADD.W           R2, R3, #0x350                                         ; +0x60, 0x49f5f4\nADD.W           R3, R3, #0x364                                         ; +0x64, 0x49f5f8\nSTR.W           R2, [R0,#0x150]                                        ; +0x68, 0x49f5fc\nSTR.W           R3, [R0,#0x154]                                        ; +0x6c, 0x49f600\nLDR.W           R0, [R0,#0x160]; this                                  ; +0x70, 0x49f604\nCBZ             R0, loc_49F60E                                         ; +0x74, 0x49f608\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x76, 0x49f60a\nLDR.W           R0, [R4,#0x15C]; this                                  ; +0x7a, 0x49f60e\nCBZ             R0, loc_49F618                                         ; +0x7e, 0x49f612\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x80, 0x49f614\nLDR.W           R3, [R4,#0x17C]                                        ; +0x84, 0x49f618\nCBZ             R3, loc_49F624                                         ; +0x88, 0x49f61c\nMOVS            R2, #0                                                 ; +0x8a, 0x49f61e\nSTR.W           R2, [R3,#0x208]                                        ; +0x8c, 0x49f620\nLDR.W           R3, [R4,#0x188]                                        ; +0x90, 0x49f624\nCBZ             R3, loc_49F630                                         ; +0x94, 0x49f628\nMOVS            R2, #0                                                 ; +0x96, 0x49f62a\nSTR.W           R2, [R3,#0x354]                                        ; +0x98, 0x49f62c\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x9c, 0x49f630\nADD.W           R3, R4, #0x144                                         ; +0xa0, 0x49f634\nLDR.W           R2, [R0,#0x378]                                        ; +0xa4, 0x49f638\nCMP             R2, R3                                                 ; +0xa8, 0x49f63c\nBNE             loc_49F64A                                             ; +0xaa, 0x49f63e\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xac, 0x49f640\nMOVS            R3, #0                                                 ; +0xb0, 0x49f644\nSTR.W           R3, [R0,#0x378]                                        ; +0xb2, 0x49f646\nADD.W           R0, R4, #0x18C                                         ; +0xb6, 0x49f64a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xba, 0x49f64e\nADD.W           R0, R4, #0x170                                         ; +0xbe, 0x49f652\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xc2, 0x49f656\nMOV             R0, R4; this                                           ; +0xc6, 0x49f65a\nBL              _ZN7cocos2d7CCLayerD2Ev; cocos2d::CCLayer::~CCLayer()  ; +0xc8, 0x49f65c\nMOV             R0, R4                                                 ; +0xcc, 0x49f660\nPOP             {R4,PC}                                                ; +0xce, 0x49f662", "xrefs": ["`non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x49f66c", "`non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x49f674", "EditLevelLayer::~EditLevelLayer @ 0x49f67c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}