{"type": "func", "start": 3954932, "end": 3955036, "name": "CCBlockLayer::~CCBlockLayer", "pseudocode": "// \n// CCBlockLayer::~CCBlockLayer from 0x3c58f4 to 0x3c595c (104 bytes)\n// \n// 4 xrefs:\n// > `non-virtual thunk to'CCBlockLayer::~CCBlockLayer @ 0x3c5964\n// > CCBlockLayer::~CCBlockLayer @ 0x3c596c\n// > PauseLayer::~PauseLayer @ 0x48e4b2\n// > EditorPauseLayer::~EditorPauseLayer @ 0x5082a4\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:46:34 +0000\n// \n\n// Alternative name is '_ZN12CCBlockLayerD1Ev'\nvoid __fastcall CCBlockLayer::~CCBlockLayer(CCBlockLayer *this)\n{\n  int v2; // r3\n  int v3; // r0\n  cocos2d::CCTouchDispatcher *v4; // r0\n\n  *(_DWORD *)this = &off_C84478;\n  *((_DWORD *)this + 66) = &off_C84734;\n  *((_DWORD *)this + 67) = &off_C8476C;\n  *((_DWORD *)this + 68) = &off_C84778;\n  *((_DWORD *)this + 69) = &off_C84788;\n  *((_DWORD *)this + 70) = &off_C8479C;\n  *((_DWORD *)this + 83) = &off_C847F4;\n  v2 = *((unsigned __int8 *)this + 441);\n  *((_DWORD *)this + 79) = &off_C847B4;\n  if ( v2 )\n  {\n    v3 = cocos2d::CCDirector::sharedDirector(this);\n    v4 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 80))(v3);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, this);\n  }\n  cocos2d::CCLayerColor::~CCLayerColor(this);\n}", "assembly": "; \n; CCBlockLayer::~CCBlockLayer from 0x3c58f4 to 0x3c595c (104 bytes)\n; \n; 4 xrefs:\n; > `non-virtual thunk to'CCBlockLayer::~CCBlockLayer @ 0x3c5964\n; > CCBlockLayer::~CCBlockLayer @ 0x3c596c\n; > PauseLayer::~PauseLayer @ 0x48e4b2\n; > EditorPauseLayer::~EditorPauseLayer @ 0x5082a4\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:46:34 +0000\n; \nLDR             R3, =(_ZTV12CCBlockLayer_ptr - 0x3C58FC)               ; +0x0, 0x3c58f4\nPUSH            {R4,LR}                                                ; +0x2, 0x3c58f6\nADD             R3, PC; _ZTV12CCBlockLayer_ptr                         ; +0x4, 0x3c58f8\nLDR             R3, [R3]; `vtable for'CCBlockLayer ...                 ; +0x6, 0x3c58fa\nADD.W           R2, R3, #8                                             ; +0x8, 0x3c58fc\nSTR             R2, [R0]                                               ; +0xc, 0x3c5900\nADD.W           R2, R3, #0x2C4                                         ; +0xe, 0x3c5902\nSTR.W           R2, [R0,#0x108]                                        ; +0x12, 0x3c5906\nADD.W           R2, R3, #0x2FC                                         ; +0x16, 0x3c590a\nSTR.W           R2, [R0,#0x10C]                                        ; +0x1a, 0x3c590e\nADD.W           R2, R3, #0x308                                         ; +0x1e, 0x3c5912\nSTR.W           R2, [R0,#0x110]                                        ; +0x22, 0x3c5916\nADD.W           R2, R3, #0x318                                         ; +0x26, 0x3c591a\nSTR.W           R2, [R0,#0x114]                                        ; +0x2a, 0x3c591e\nADD.W           R2, R3, #0x32C                                         ; +0x2e, 0x3c5922\nSTR.W           R2, [R0,#0x118]                                        ; +0x32, 0x3c5926\nADD.W           R2, R3, #0x344                                         ; +0x36, 0x3c592a\nADD.W           R3, R3, #0x384                                         ; +0x3a, 0x3c592e\nSTR.W           R3, [R0,#0x14C]                                        ; +0x3e, 0x3c5932\nMOV             R4, R0                                                 ; +0x42, 0x3c5936\nLDRB.W          R3, [R0,#0x1B9]                                        ; +0x44, 0x3c5938\nSTR.W           R2, [R0,#0x13C]                                        ; +0x48, 0x3c593c\nCBZ             R3, loc_3C5952                                         ; +0x4c, 0x3c5940\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4e, 0x3c5942\nLDR             R3, [R0]                                               ; +0x52, 0x3c5946\nLDR             R3, [R3,#0x50]                                         ; +0x54, 0x3c5948\nBLX             R3                                                     ; +0x56, 0x3c594a\nMOV             R1, R4; cocos2d::CCObject *                            ; +0x58, 0x3c594c\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x5a, 0x3c594e\nMOV             R0, R4; this                                           ; +0x5e, 0x3c5952\nBL              _ZN7cocos2d12CCLayerColorD2Ev; cocos2d::CCLayerColor::~CCLayerColor() ; +0x60, 0x3c5954\nMOV             R0, R4                                                 ; +0x64, 0x3c5958\nPOP             {R4,PC}                                                ; +0x66, 0x3c595a", "xrefs": ["`non-virtual thunk to'CCBlockLayer::~CCBlockLayer @ 0x3c5964", "CCBlockLayer::~CCBlockLayer @ 0x3c596c", "PauseLayer::~PauseLayer @ 0x48e4b2", "EditorPauseLayer::~EditorPauseLayer @ 0x5082a4"], "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"}