{"type": "func", "start": 4797196, "end": 4797312, "name": "CreatorLayer::~CreatorLayer", "pseudocode": "// \n// CreatorLayer::~CreatorLayer from 0x49330c to 0x493380 (116 bytes)\n// \n// 2 xrefs:\n// > `non-virtual thunk to'CreatorLayer::~CreatorLayer @ 0x493388\n// > CreatorLayer::~CreatorLayer @ 0x493390\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:39 +0000\n// \n\n// Alternative name is '_ZN12CreatorLayerD1Ev'\nvoid __fastcall CreatorLayer::~CreatorLayer(CreatorLayer *this)\n{\n  CreatorLayer **v2; // r0\n\n  *(_DWORD *)this = &off_C96758;\n  *((_DWORD *)this + 66) = &off_C969AC;\n  *((_DWORD *)this + 67) = &off_C969E4;\n  *((_DWORD *)this + 68) = &off_C969F0;\n  *((_DWORD *)this + 69) = &off_C96A00;\n  *((_DWORD *)this + 70) = &off_C96A14;\n  *((_DWORD *)this + 79) = &off_C96A2C;\n  *((_DWORD *)this + 80) = &off_C96A38;\n  *((_DWORD *)this + 81) = &off_C96A44;\n  v2 = (CreatorLayer **)GameLevelManager::sharedState(this);\n  if ( v2[232] == (CreatorLayer *)((char *)this + 324) )\n    *(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v2) + 928) = 0;\n  cocos2d::CCLayer::~CCLayer(this);\n}", "assembly": "; \n; CreatorLayer::~CreatorLayer from 0x49330c to 0x493380 (116 bytes)\n; \n; 2 xrefs:\n; > `non-virtual thunk to'CreatorLayer::~CreatorLayer @ 0x493388\n; > CreatorLayer::~CreatorLayer @ 0x493390\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:39 +0000\n; \nLDR             R3, =(_ZTV12CreatorLayer_ptr - 0x493314)               ; +0x0, 0x49330c\nPUSH            {R4,LR}                                                ; +0x2, 0x49330e\nADD             R3, PC; _ZTV12CreatorLayer_ptr                         ; +0x4, 0x493310\nLDR             R3, [R3]; `vtable for'CreatorLayer ...                 ; +0x6, 0x493312\nADD.W           R2, R3, #8                                             ; +0x8, 0x493314\nSTR             R2, [R0]                                               ; +0xc, 0x493318\nADD.W           R2, R3, #0x25C                                         ; +0xe, 0x49331a\nSTR.W           R2, [R0,#0x108]                                        ; +0x12, 0x49331e\nADD.W           R2, R3, #0x294                                         ; +0x16, 0x493322\nSTR.W           R2, [R0,#0x10C]                                        ; +0x1a, 0x493326\nADD.W           R2, R3, #0x2A0                                         ; +0x1e, 0x49332a\nSTR.W           R2, [R0,#0x110]                                        ; +0x22, 0x49332e\nADD.W           R2, R3, #0x2B0                                         ; +0x26, 0x493332\nSTR.W           R2, [R0,#0x114]                                        ; +0x2a, 0x493336\nADD.W           R2, R3, #0x2C4                                         ; +0x2e, 0x49333a\nSTR.W           R2, [R0,#0x118]                                        ; +0x32, 0x49333e\nADD.W           R2, R3, #0x2DC                                         ; +0x36, 0x493342\nSTR.W           R2, [R0,#0x13C]                                        ; +0x3a, 0x493346\nADD.W           R2, R3, #0x2E8                                         ; +0x3e, 0x49334a\nADD.W           R3, R3, #0x2F4                                         ; +0x42, 0x49334e\nSTR.W           R2, [R0,#0x140]                                        ; +0x46, 0x493352\nMOV             R4, R0                                                 ; +0x4a, 0x493356\nSTR.W           R3, [R0,#0x144]                                        ; +0x4c, 0x493358\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x50, 0x49335c\nADD.W           R3, R4, #0x144                                         ; +0x54, 0x493360\nLDR.W           R2, [R0,#0x3A0]                                        ; +0x58, 0x493364\nCMP             R2, R3                                                 ; +0x5c, 0x493368\nBNE             loc_493376                                             ; +0x5e, 0x49336a\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x60, 0x49336c\nMOVS            R3, #0                                                 ; +0x64, 0x493370\nSTR.W           R3, [R0,#0x3A0]                                        ; +0x66, 0x493372\nMOV             R0, R4; this                                           ; +0x6a, 0x493376\nBL              _ZN7cocos2d7CCLayerD2Ev; cocos2d::CCLayer::~CCLayer()  ; +0x6c, 0x493378\nMOV             R0, R4                                                 ; +0x70, 0x49337c\nPOP             {R4,PC}                                                ; +0x72, 0x49337e", "xrefs": ["`non-virtual thunk to'CreatorLayer::~CreatorLayer @ 0x493388", "CreatorLayer::~CreatorLayer @ 0x493390"], "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"}