{"type": "func", "start": 4295516560, "end": 4295516688, "name": "CCBlockLayer::dCCBlockLayer", "pseudocode": "// \n// CCBlockLayer::dCCBlockLayer from 0x100086190 to 0x100086210 (128 bytes)\n// \n// 12 xrefs:\n// > j_CCBlockLayer::dCCBlockLayer @ 0x100086214\n// > sub_100086218 @ 0x10008621c\n// > sub_100086220 @ 0x100086228\n// > sub_100086234 @ 0x100086240\n// > j_CCBlockLayer::dCCBlockLayer_0 @ 0x100141d00\n// > sub_100141D04 @ 0x100141d08\n// > sub_100141D0C @ 0x100141d14\n// > sub_100141D20 @ 0x100141d2c\n// > j_CCBlockLayer::dCCBlockLayer_1 @ 0x10039ba98\n// > sub_10039BA9C @ 0x10039baa0\n// > sub_10039BAA4 @ 0x10039baac\n// > sub_10039BAB8 @ 0x10039bac4\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\n__int64 __fastcall CCBlockLayer::dCCBlockLayer(__int64 a1)\n{\n  cocos2d::CCDirector *v2; // x0\n  cocos2d::CCTouchDispatcher *v3; // x0\n\n  *(_QWORD *)a1 = off_10077E368;\n  *(_QWORD *)(a1 + 320) = off_10077E8D0;\n  *(_QWORD *)(a1 + 328) = &off_10077E940;\n  *(_QWORD *)(a1 + 336) = off_10077E958;\n  *(_QWORD *)(a1 + 344) = &off_10077E978;\n  *(_QWORD *)(a1 + 352) = off_10077E998;\n  *(_QWORD *)(a1 + 408) = off_10077E9C0;\n  *(_QWORD *)(a1 + 432) = off_10077EA40;\n  if ( *(_BYTE *)(a1 + 545) == 1 )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector();\n    v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (cocos2d::CCObject *)a1);\n  }\n  return cocos2d::CCLayerColor::dCCLayerColor(a1);\n}", "assembly": "; \n; CCBlockLayer::dCCBlockLayer from 0x100086190 to 0x100086210 (128 bytes)\n; \n; 12 xrefs:\n; > j_CCBlockLayer::dCCBlockLayer @ 0x100086214\n; > sub_100086218 @ 0x10008621c\n; > sub_100086220 @ 0x100086228\n; > sub_100086234 @ 0x100086240\n; > j_CCBlockLayer::dCCBlockLayer_0 @ 0x100141d00\n; > sub_100141D04 @ 0x100141d08\n; > sub_100141D0C @ 0x100141d14\n; > sub_100141D20 @ 0x100141d2c\n; > j_CCBlockLayer::dCCBlockLayer_1 @ 0x10039ba98\n; > sub_10039BA9C @ 0x10039baa0\n; > sub_10039BAA4 @ 0x10039baac\n; > sub_10039BAB8 @ 0x10039bac4\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100086190\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100086194\nADD             X29, SP, #0x10                                         ; +0x8, 0x100086198\nMOV             X19, X0                                                ; +0xc, 0x10008619c\nADRL            X8, off_10077E368                                      ; +0x10, 0x1000861a0\nSTR             X8, [X0]                                               ; +0x18, 0x1000861a8\nADD             X9, X8, #(off_10077E8D0 - 0x10077E368)                 ; +0x1c, 0x1000861ac\nADD             X10, X8, #(off_10077E940 - 0x10077E368)                ; +0x20, 0x1000861b0\nSTP             X9, X10, [X0,#0x140]                                   ; +0x24, 0x1000861b4\nADD             X9, X8, #(off_10077E958 - 0x10077E368)                 ; +0x28, 0x1000861b8\nADD             X10, X8, #(off_10077E978 - 0x10077E368)                ; +0x2c, 0x1000861bc\nSTP             X9, X10, [X0,#0x150]                                   ; +0x30, 0x1000861c0\nADD             X9, X8, #(off_10077E998 - 0x10077E368)                 ; +0x34, 0x1000861c4\nSTR             X9, [X0,#0x160]                                        ; +0x38, 0x1000861c8\nADD             X9, X8, #(off_10077E9C0 - 0x10077E368)                 ; +0x3c, 0x1000861cc\nSTR             X9, [X0,#0x198]                                        ; +0x40, 0x1000861d0\nADD             X8, X8, #(off_10077EA40 - 0x10077E368)                 ; +0x44, 0x1000861d4\nSTR             X8, [X0,#0x1B0]                                        ; +0x48, 0x1000861d8\nLDRB            W8, [X0,#0x221]                                        ; +0x4c, 0x1000861dc\nCMP             W8, #1                                                 ; +0x50, 0x1000861e0\nB.NE            loc_100086200                                          ; +0x54, 0x1000861e4\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x58, 0x1000861e8\nLDR             X8, [X0]                                               ; +0x5c, 0x1000861ec\nLDR             X8, [X8,#0xA0]                                         ; +0x60, 0x1000861f0\nBLR             X8                                                     ; +0x64, 0x1000861f4\nMOV             X1, X19                                                ; +0x68, 0x1000861f8\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x6c, 0x1000861fc\nMOV             X0, X19                                                ; +0x70, 0x100086200\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x100086204\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x78, 0x100086208\nB               cocos2d__CCLayerColor__dCCLayerColor                   ; +0x7c, 0x10008620c", "xrefs": ["j_CCBlockLayer::dCCBlockLayer @ 0x100086214", "sub_100086218 @ 0x10008621c", "sub_100086220 @ 0x100086228", "sub_100086234 @ 0x100086240", "j_CCBlockLayer::dCCBlockLayer_0 @ 0x100141d00", "sub_100141D04 @ 0x100141d08", "sub_100141D0C @ 0x100141d14", "sub_100141D20 @ 0x100141d2c", "j_CCBlockLayer::dCCBlockLayer_1 @ 0x10039ba98", "sub_10039BA9C @ 0x10039baa0", "sub_10039BAA4 @ 0x10039baac", "sub_10039BAB8 @ 0x10039bac4"], "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"}