{"type": "func", "start": 5368980640, "end": 5368980811, "name": "CCBlockLayer::dCCBlockLayer", "pseudocode": "// \n// CCBlockLayer::dCCBlockLayer from 0x1400424a0 to 0x14004254b (171 bytes)\n// \n// 4 xrefs:\n// > sub_140042460 @ 0x14004246f\n// > sub_1400D9D50 @ 0x1400d9dd9\n// > sub_14037C7C0 @ 0x14037c849\n// > <???> @ 0x1406c43d4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CCBlockLayer::dCCBlockLayer(__int64 a1)\n{\n  __int64 v2; // rax\n  cocos2d::CCTouchDispatcher *v3; // rax\n\n  *(_QWORD *)a1 = &CCBlockLayer::`vftable';\n  *(_QWORD *)(a1 + 320) = &CCBlockLayer::`vftable';\n  *(_QWORD *)(a1 + 328) = &CCBlockLayer::`vftable';\n  *(_QWORD *)(a1 + 336) = &CCBlockLayer::`vftable';\n  *(_QWORD *)(a1 + 344) = &CCBlockLayer::`vftable';\n  *(_QWORD *)(a1 + 352) = &CCBlockLayer::`vftable';\n  *(_QWORD *)(a1 + 408) = &CCBlockLayer::`vftable';\n  *(_QWORD *)(a1 + 432) = &CCBlockLayer::`vftable';\n  if ( *(_BYTE *)(a1 + 545) )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector();\n    v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (struct cocos2d::CCObject *)a1);\n  }\n  cocos2d::CCLayerColor::~CCLayerColor((cocos2d::CCLayerColor *)a1);\n}", "assembly": "; \n; CCBlockLayer::dCCBlockLayer from 0x1400424a0 to 0x14004254b (171 bytes)\n; \n; 4 xrefs:\n; > sub_140042460 @ 0x14004246f\n; > sub_1400D9D50 @ 0x1400d9dd9\n; > sub_14037C7C0 @ 0x14037c849\n; > <???> @ 0x1406c43d4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1400424a0\nsub     rsp, 20h                                                       ; +0x2, 0x1400424a2\nmov     rbx, rcx                                                       ; +0x6, 0x1400424a6\nlea     rax, ??_7CCBlockLayer@@6B@; const CCBlockLayer::`vftable'      ; +0x9, 0x1400424a9\nmov     [rcx], rax                                                     ; +0x10, 0x1400424b0\nlea     rax, ??_7CCBlockLayer@@6B@_0; const CCBlockLayer::`vftable'    ; +0x13, 0x1400424b3\nmov     [rcx+140h], rax                                                ; +0x1a, 0x1400424ba\nlea     rax, ??_7CCBlockLayer@@6B@_1; const CCBlockLayer::`vftable'    ; +0x21, 0x1400424c1\nmov     [rcx+148h], rax                                                ; +0x28, 0x1400424c8\nlea     rax, ??_7CCBlockLayer@@6B@_2; const CCBlockLayer::`vftable'    ; +0x2f, 0x1400424cf\nmov     [rcx+150h], rax                                                ; +0x36, 0x1400424d6\nlea     rax, ??_7CCBlockLayer@@6B@_3; const CCBlockLayer::`vftable'    ; +0x3d, 0x1400424dd\nmov     [rcx+158h], rax                                                ; +0x44, 0x1400424e4\nlea     rax, ??_7CCBlockLayer@@6B@_4; const CCBlockLayer::`vftable'    ; +0x4b, 0x1400424eb\nmov     [rcx+160h], rax                                                ; +0x52, 0x1400424f2\nlea     rax, ??_7CCBlockLayer@@6B@_5; const CCBlockLayer::`vftable'    ; +0x59, 0x1400424f9\nmov     [rcx+198h], rax                                                ; +0x60, 0x140042500\nlea     rax, ??_7CCBlockLayer@@6B@_6; const CCBlockLayer::`vftable'    ; +0x67, 0x140042507\nmov     [rcx+1B0h], rax                                                ; +0x6e, 0x14004250e\ncmp     byte ptr [rcx+221h], 0                                         ; +0x75, 0x140042515\njz      short loc_14004253C                                            ; +0x7c, 0x14004251c\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x7e, 0x14004251e\nmov     rdx, [rax]                                                     ; +0x84, 0x140042524\nmov     rcx, rax                                                       ; +0x87, 0x140042527\ncall    qword ptr [rdx+90h]                                            ; +0x8a, 0x14004252a\nmov     rcx, rax                                                       ; +0x90, 0x140042530\nmov     rdx, rbx                                                       ; +0x93, 0x140042533\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x96, 0x140042536\nmov     rcx, rbx                                                       ; +0x9c, 0x14004253c\nadd     rsp, 20h                                                       ; +0x9f, 0x14004253f\npop     rbx                                                            ; +0xa3, 0x140042543\njmp     cs:__imp_??1CCLayerColor@cocos2d@@UEAA@XZ; cocos2d::CCLayerColor::~CCLayerColor(void) ; +0xa4, 0x140042544", "xrefs": ["sub_140042460 @ 0x14004246f", "sub_1400D9D50 @ 0x1400d9dd9", "sub_14037C7C0 @ 0x14037c849", "<???> @ 0x1406c43d4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}