{"type": "func", "start": 8311020, "end": 8311280, "name": "EditLevelLayer::~EditLevelLayer", "pseudocode": "// \n// EditLevelLayer::~EditLevelLayer from 0x7ed0ec to 0x7ed1f0 (260 bytes)\n// \n// 6 xrefs:\n// > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x7ed1f4\n// > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x7ed1fc\n// > EditLevelLayer::~EditLevelLayer @ 0x7ed210\n// > <???> @ 0xac7f8\n// > <???> @ 0xf0130\n// > <???> @ 0x143c4b8\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 12:54:33 +0000\n// \n\n// Alternative name is '_ZN14EditLevelLayerD1Ev'\nvoid __fastcall EditLevelLayer::~EditLevelLayer(EditLevelLayer *this)\n{\n  cocos2d::CCObject *v2; // x0\n  cocos2d::CCObject *v3; // x0\n  __int64 v4; // x0\n  GameLevelManager *v5; // x0\n\n  v2 = *((cocos2d::CCObject **)this + 60);\n  *(_QWORD *)this = &off_143C4B0;\n  *((_QWORD *)this + 40) = off_143C990;\n  *((_QWORD *)this + 41) = &off_143CA00;\n  *((_QWORD *)this + 42) = off_143CA18;\n  *((_QWORD *)this + 43) = off_143CA38;\n  *((_QWORD *)this + 44) = off_143CA60;\n  *((_QWORD *)this + 51) = off_143CA90;\n  *((_QWORD *)this + 52) = &off_143CAD8;\n  *((_QWORD *)this + 53) = off_143CAF0;\n  *((_QWORD *)this + 54) = &off_143CB10;\n  *((_QWORD *)this + 55) = &off_143CB28;\n  *((_QWORD *)this + 56) = off_143CB40;\n  *((_QWORD *)this + 57) = &off_143CB68;\n  if ( v2 )\n    cocos2d::CCObject::release(v2);\n  v3 = *((cocos2d::CCObject **)this + 59);\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  v4 = *((_QWORD *)this + 66);\n  if ( v4 )\n    *(_QWORD *)(v4 + 664) = 0;\n  v5 = *((GameLevelManager **)this + 69);\n  if ( v5 )\n    *((_QWORD *)v5 + 148) = 0;\n  if ( *(EditLevelLayer **)(GameLevelManager::sharedState(v5) + 1360) == (EditLevelLayer *)((char *)this + 424) )\n    *(_QWORD *)(GameLevelManager::sharedState((EditLevelLayer *)((char *)this + 424)) + 1360) = 0;\n  if ( (*((_BYTE *)this + 560) & 1) != 0 )\n    operator delete(*((void **)this + 72));\n  if ( (*((_BYTE *)this + 504) & 1) != 0 )\n    operator delete(*((void **)this + 65));\n  cocos2d::CCLayer::~CCLayer(this);\n}", "assembly": "; \n; EditLevelLayer::~EditLevelLayer from 0x7ed0ec to 0x7ed1f0 (260 bytes)\n; \n; 6 xrefs:\n; > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x7ed1f4\n; > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x7ed1fc\n; > EditLevelLayer::~EditLevelLayer @ 0x7ed210\n; > <???> @ 0xac7f8\n; > <???> @ 0xf0130\n; > <???> @ 0x143c4b8\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 12:54:33 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x7ed0ec\nADRP            X1, #_ZTV14EditLevelLayer_ptr@PAGE                     ; +0x4, 0x7ed0f0\nMOV             X29, SP                                                ; +0x8, 0x7ed0f4\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x7ed0f8\nMOV             X19, X0                                                ; +0x10, 0x7ed0fc\nLDR             X1, [X1,#_ZTV14EditLevelLayer_ptr@PAGEOFF]; `vtable for'EditLevelLayer ... ; +0x14, 0x7ed100\nLDR             X0, [X0,#0x1E0]; this                                  ; +0x18, 0x7ed104\nADD             X13, X1, #0x10                                         ; +0x1c, 0x7ed108\nADD             X12, X1, #0x4F0                                        ; +0x20, 0x7ed10c\nADD             X11, X1, #0x560                                        ; +0x24, 0x7ed110\nADD             X10, X1, #0x578                                        ; +0x28, 0x7ed114\nADD             X9, X1, #0x598                                         ; +0x2c, 0x7ed118\nADD             X8, X1, #0x5C0                                         ; +0x30, 0x7ed11c\nADD             X7, X1, #0x5F0                                         ; +0x34, 0x7ed120\nADD             X6, X1, #0x638                                         ; +0x38, 0x7ed124\nADD             X5, X1, #0x650                                         ; +0x3c, 0x7ed128\nADD             X4, X1, #0x670                                         ; +0x40, 0x7ed12c\nADD             X3, X1, #0x688                                         ; +0x44, 0x7ed130\nADD             X2, X1, #0x6A0                                         ; +0x48, 0x7ed134\nSTR             X13, [X19]                                             ; +0x4c, 0x7ed138\nADD             X1, X1, #0x6C8                                         ; +0x50, 0x7ed13c\nSTR             X12, [X19,#0x140]                                      ; +0x54, 0x7ed140\nSTR             X11, [X19,#0x148]                                      ; +0x58, 0x7ed144\nSTR             X10, [X19,#0x150]                                      ; +0x5c, 0x7ed148\nSTR             X9, [X19,#0x158]                                       ; +0x60, 0x7ed14c\nSTR             X8, [X19,#0x160]                                       ; +0x64, 0x7ed150\nSTR             X7, [X19,#0x198]                                       ; +0x68, 0x7ed154\nSTR             X6, [X19,#0x1A0]                                       ; +0x6c, 0x7ed158\nSTR             X5, [X19,#0x1A8]                                       ; +0x70, 0x7ed15c\nSTR             X4, [X19,#0x1B0]                                       ; +0x74, 0x7ed160\nSTR             X3, [X19,#0x1B8]                                       ; +0x78, 0x7ed164\nSTR             X2, [X19,#0x1C0]                                       ; +0x7c, 0x7ed168\nSTR             X1, [X19,#0x1C8]                                       ; +0x80, 0x7ed16c\nCBZ             X0, loc_7ED178                                         ; +0x84, 0x7ed170\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x88, 0x7ed174\nLDR             X0, [X19,#0x1D8]; this                                 ; +0x8c, 0x7ed178\nCBZ             X0, loc_7ED184                                         ; +0x90, 0x7ed17c\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x94, 0x7ed180\nLDR             X0, [X19,#0x210]                                       ; +0x98, 0x7ed184\nCBZ             X0, loc_7ED190                                         ; +0x9c, 0x7ed188\nSTR             XZR, [X0,#0x298]                                       ; +0xa0, 0x7ed18c\nLDR             X0, [X19,#0x228]; this                                 ; +0xa4, 0x7ed190\nCBZ             X0, loc_7ED19C                                         ; +0xa8, 0x7ed194\nSTR             XZR, [X0,#0x4A0]                                       ; +0xac, 0x7ed198\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xb0, 0x7ed19c\nLDR             X1, [X0,#0x550]                                        ; +0xb4, 0x7ed1a0\nADD             X0, X19, #0x1A8; this                                  ; +0xb8, 0x7ed1a4\nCMP             X1, X0                                                 ; +0xbc, 0x7ed1a8\nB.EQ            loc_7ED1E4                                             ; +0xc0, 0x7ed1ac\nLDRB            W0, [X19,#0x230]                                       ; +0xc4, 0x7ed1b0\nTBNZ            W0, #0, loc_7ED1D8                                     ; +0xc8, 0x7ed1b4\nLDRB            W0, [X19,#0x1F8]                                       ; +0xcc, 0x7ed1b8\nTBZ             W0, #0, loc_7ED1C8                                     ; +0xd0, 0x7ed1bc\nLDR             X0, [X19,#0x208]; void *                               ; +0xd4, 0x7ed1c0\nBL              _ZdlPv; operator delete(void *)                        ; +0xd8, 0x7ed1c4\nMOV             X0, X19; this                                          ; +0xdc, 0x7ed1c8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0xe0, 0x7ed1cc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0xe4, 0x7ed1d0\nB               _ZN7cocos2d7CCLayerD1Ev; cocos2d::CCLayer::~CCLayer()  ; +0xe8, 0x7ed1d4\nLDR             X0, [X19,#0x240]; void *                               ; +0xec, 0x7ed1d8\nBL              _ZdlPv; operator delete(void *)                        ; +0xf0, 0x7ed1dc\nB               loc_7ED1B8                                             ; +0xf4, 0x7ed1e0\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xf8, 0x7ed1e4\nSTR             XZR, [X0,#0x550]                                       ; +0xfc, 0x7ed1e8\nB               loc_7ED1B0                                             ; +0x100, 0x7ed1ec", "xrefs": ["`non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x7ed1f4", "`non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x7ed1fc", "EditLevelLayer::~EditLevelLayer @ 0x7ed210", "<???> @ 0xac7f8", "<???> @ 0xf0130", "<???> @ 0x143c4b8"], "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"}