{"type": "func", "start": 4300311360, "end": 4300311528, "name": "CCBlockLayer::dCCBlockLayer", "pseudocode": "// \n// CCBlockLayer::dCCBlockLayer from 0x100518b40 to 0x100518be8 (168 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b6c820\n// \n// This function is hookable on this platform (idp: pc, 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:31:40 +0000\n// \n\n__int64 __fastcall CCBlockLayer::dCCBlockLayer(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n\n  *(_QWORD *)a1 = off_100B6C818;\n  *(_QWORD *)(a1 + 320) = off_100B6CD90;\n  *(_QWORD *)(a1 + 328) = &off_100B6CE00;\n  *(_QWORD *)(a1 + 336) = off_100B6CE18;\n  *(_QWORD *)(a1 + 344) = off_100B6CE38;\n  *(_QWORD *)(a1 + 352) = off_100B6CE60;\n  *(_QWORD *)(a1 + 408) = off_100B6CE90;\n  *(_QWORD *)(a1 + 432) = off_100B6CF10;\n  if ( *(_BYTE *)(a1 + 545) == 1 )\n  {\n    v1 = cocos2d::CCDirector::sharedDirector();\n    v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 160LL))(v1);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, a1);\n  }\n  return sub_1004AB790((_QWORD *)a1);\n}", "assembly": "; \n; CCBlockLayer::dCCBlockLayer from 0x100518b40 to 0x100518be8 (168 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b6c820\n; \n; This function is hookable on this platform (idp: pc, 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:31:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x100518b40\nmov     rbp, rsp                                                       ; +0x1, 0x100518b41\npush    rbx                                                            ; +0x4, 0x100518b44\npush    rax                                                            ; +0x5, 0x100518b45\nmov     rbx, rdi                                                       ; +0x6, 0x100518b46\nlea     rax, off_100B6C818                                             ; +0x9, 0x100518b49\nmov     [rdi], rax                                                     ; +0x10, 0x100518b50\nlea     rax, off_100B6CD90                                             ; +0x13, 0x100518b53\nmov     [rdi+140h], rax                                                ; +0x1a, 0x100518b5a\nlea     rax, off_100B6CE00                                             ; +0x21, 0x100518b61\nmov     [rdi+148h], rax                                                ; +0x28, 0x100518b68\nlea     rax, off_100B6CE18                                             ; +0x2f, 0x100518b6f\nmov     [rdi+150h], rax                                                ; +0x36, 0x100518b76\nlea     rax, off_100B6CE38                                             ; +0x3d, 0x100518b7d\nmov     [rdi+158h], rax                                                ; +0x44, 0x100518b84\nlea     rax, off_100B6CE60                                             ; +0x4b, 0x100518b8b\nmov     [rdi+160h], rax                                                ; +0x52, 0x100518b92\nlea     rax, off_100B6CE90                                             ; +0x59, 0x100518b99\nmov     [rdi+198h], rax                                                ; +0x60, 0x100518ba0\nlea     rax, off_100B6CF10                                             ; +0x67, 0x100518ba7\nmov     [rdi+1B0h], rax                                                ; +0x6e, 0x100518bae\ncmp     byte ptr [rdi+221h], 1                                         ; +0x75, 0x100518bb5\njnz     short loc_100518BDA                                            ; +0x7c, 0x100518bbc\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x7e, 0x100518bbe\nmov     rcx, [rax]                                                     ; +0x83, 0x100518bc3\nmov     rdi, rax                                                       ; +0x86, 0x100518bc6\ncall    qword ptr [rcx+0A0h]                                           ; +0x89, 0x100518bc9\nmov     rdi, rax                                                       ; +0x8f, 0x100518bcf\nmov     rsi, rbx                                                       ; +0x92, 0x100518bd2\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x95, 0x100518bd5\nmov     rdi, rbx                                                       ; +0x9a, 0x100518bda\nadd     rsp, 8                                                         ; +0x9d, 0x100518bdd\npop     rbx                                                            ; +0xa1, 0x100518be1\npop     rbp                                                            ; +0xa2, 0x100518be2\njmp     sub_1004AB790                                                  ; +0xa3, 0x100518be3", "xrefs": ["<???> @ 0x100b6c820"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}