{"type": "func", "start": 6287912, "end": 6288084, "name": "ChallengesPage::~ChallengesPage", "pseudocode": "// \n// ChallengesPage::~ChallengesPage from 0x5ff228 to 0x5ff2d4 (172 bytes)\n// \n// 2 xrefs:\n// > `non-virtual thunk to'ChallengesPage::~ChallengesPage @ 0x5ff2dc\n// > ChallengesPage::~ChallengesPage @ 0x5ff2e4\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:54:39 +0000\n// \n\n// Alternative name is '_ZN14ChallengesPageD1Ev'\nvoid __fastcall ChallengesPage::~ChallengesPage(ChallengesPage *this)\n{\n  ChallengesPage **v2; // r0\n  int v3; // r3\n  cocos2d::CCObject *v4; // r0\n  cocos2d::CCObject *v5; // r0\n\n  *(_DWORD *)this = &off_CC14B0;\n  *((_DWORD *)this + 66) = &off_CC1768;\n  *((_DWORD *)this + 67) = &off_CC17A0;\n  *((_DWORD *)this + 68) = &off_CC17AC;\n  *((_DWORD *)this + 69) = &off_CC17BC;\n  *((_DWORD *)this + 70) = &off_CC17D0;\n  *((_DWORD *)this + 79) = &off_CC17E8;\n  *((_DWORD *)this + 83) = &off_CC1828;\n  *((_DWORD *)this + 110) = &off_CC1838;\n  *((_DWORD *)this + 130) = &off_CC185C;\n  *((_DWORD *)this + 131) = &off_CC1868;\n  *((_DWORD *)this + 132) = &off_CC1878;\n  v2 = (ChallengesPage **)GameLevelManager::sharedState(this);\n  if ( v2[230] == (ChallengesPage *)((char *)this + 524) )\n    *(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v2) + 920) = 0;\n  v3 = *((_DWORD *)this + 137);\n  if ( v3 )\n    *(_DWORD *)(v3 + 316) = 0;\n  v4 = *((cocos2d::CCObject **)this + 138);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  v5 = *((cocos2d::CCObject **)this + 133);\n  if ( v5 )\n    cocos2d::CCObject::release(v5);\n  FLAlertLayer::~FLAlertLayer(this);\n}", "assembly": "; \n; ChallengesPage::~ChallengesPage from 0x5ff228 to 0x5ff2d4 (172 bytes)\n; \n; 2 xrefs:\n; > `non-virtual thunk to'ChallengesPage::~ChallengesPage @ 0x5ff2dc\n; > ChallengesPage::~ChallengesPage @ 0x5ff2e4\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:54:39 +0000\n; \nLDR             R3, =(_ZTV14ChallengesPage_ptr - 0x5FF230)             ; +0x0, 0x5ff228\nPUSH            {R4,LR}                                                ; +0x2, 0x5ff22a\nADD             R3, PC; _ZTV14ChallengesPage_ptr                       ; +0x4, 0x5ff22c\nLDR             R3, [R3]; `vtable for'ChallengesPage ...               ; +0x6, 0x5ff22e\nADD.W           R2, R3, #8                                             ; +0x8, 0x5ff230\nSTR             R2, [R0]                                               ; +0xc, 0x5ff234\nADD.W           R2, R3, #0x2C0                                         ; +0xe, 0x5ff236\nSTR.W           R2, [R0,#0x108]                                        ; +0x12, 0x5ff23a\nADD.W           R2, R3, #0x2F8                                         ; +0x16, 0x5ff23e\nSTR.W           R2, [R0,#0x10C]                                        ; +0x1a, 0x5ff242\nADD.W           R2, R3, #0x304                                         ; +0x1e, 0x5ff246\nSTR.W           R2, [R0,#0x110]                                        ; +0x22, 0x5ff24a\nADD.W           R2, R3, #0x314                                         ; +0x26, 0x5ff24e\nSTR.W           R2, [R0,#0x114]                                        ; +0x2a, 0x5ff252\nADD.W           R2, R3, #0x328                                         ; +0x2e, 0x5ff256\nSTR.W           R2, [R0,#0x118]                                        ; +0x32, 0x5ff25a\nADD.W           R2, R3, #0x340                                         ; +0x36, 0x5ff25e\nSTR.W           R2, [R0,#0x13C]                                        ; +0x3a, 0x5ff262\nADD.W           R2, R3, #0x380                                         ; +0x3e, 0x5ff266\nSTR.W           R2, [R0,#0x14C]                                        ; +0x42, 0x5ff26a\nADD.W           R2, R3, #0x390                                         ; +0x46, 0x5ff26e\nSTR.W           R2, [R0,#0x1B8]                                        ; +0x4a, 0x5ff272\nADD.W           R2, R3, #0x3B4                                         ; +0x4e, 0x5ff276\nSTR.W           R2, [R0,#0x208]                                        ; +0x52, 0x5ff27a\nADD.W           R2, R3, #0x3C0                                         ; +0x56, 0x5ff27e\nADD.W           R3, R3, #0x3D0                                         ; +0x5a, 0x5ff282\nSTR.W           R2, [R0,#0x20C]                                        ; +0x5e, 0x5ff286\nMOV             R4, R0                                                 ; +0x62, 0x5ff28a\nSTR.W           R3, [R0,#0x210]                                        ; +0x64, 0x5ff28c\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x68, 0x5ff290\nADD.W           R3, R4, #0x20C                                         ; +0x6c, 0x5ff294\nLDR.W           R2, [R0,#0x398]                                        ; +0x70, 0x5ff298\nCMP             R2, R3                                                 ; +0x74, 0x5ff29c\nBNE             loc_5FF2AA                                             ; +0x76, 0x5ff29e\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x78, 0x5ff2a0\nMOVS            R3, #0                                                 ; +0x7c, 0x5ff2a4\nSTR.W           R3, [R0,#0x398]                                        ; +0x7e, 0x5ff2a6\nLDR.W           R3, [R4,#0x224]                                        ; +0x82, 0x5ff2aa\nCBZ             R3, loc_5FF2B6                                         ; +0x86, 0x5ff2ae\nMOVS            R2, #0                                                 ; +0x88, 0x5ff2b0\nSTR.W           R2, [R3,#0x13C]                                        ; +0x8a, 0x5ff2b2\nLDR.W           R0, [R4,#0x228]; this                                  ; +0x8e, 0x5ff2b6\nCBZ             R0, loc_5FF2C0                                         ; +0x92, 0x5ff2ba\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x94, 0x5ff2bc\nLDR.W           R0, [R4,#0x214]; this                                  ; +0x98, 0x5ff2c0\nCBZ             R0, loc_5FF2CA                                         ; +0x9c, 0x5ff2c4\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x9e, 0x5ff2c6\nMOV             R0, R4; this                                           ; +0xa2, 0x5ff2ca\nBL              _ZN12FLAlertLayerD2Ev; FLAlertLayer::~FLAlertLayer()   ; +0xa4, 0x5ff2cc\nMOV             R0, R4                                                 ; +0xa8, 0x5ff2d0\nPOP             {R4,PC}                                                ; +0xaa, 0x5ff2d2", "xrefs": ["`non-virtual thunk to'ChallengesPage::~ChallengesPage @ 0x5ff2dc", "ChallengesPage::~ChallengesPage @ 0x5ff2e4"], "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"}