{"type": "func", "start": 6442526800, "end": 6442526862, "name": "cocos2d::extension::CCScrollView::setTouchEnabled", "pseudocode": "// \n// cocos2d::extension::CCScrollView::setTouchEnabled from 0x180012850 to 0x18001288e (62 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800286b8\n// > <???> @ 0x180028c30\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a3d4\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 cocos2d::extension::CCScrollView::setTouchEnabled(cocos2d::CCArray **this, bool a2)\n{\n  cocos2d::CCArray *v4; // rcx\n\n  cocos2d::CCLayer::setTouchEnabled((cocos2d::CCLayer *)this, a2);\n  if ( !a2 )\n  {\n    v4 = *(this + 63);\n    *((_BYTE *)this + 436) = 0;\n    *((_BYTE *)this + 456) = 0;\n    cocos2d::CCArray::removeAllObjects(v4);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCScrollView::setTouchEnabled from 0x180012850 to 0x18001288e (62 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800286b8\n; > <???> @ 0x180028c30\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a3d4\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180012850\npush    rdi                                                            ; +0x5, 0x180012855\nsub     rsp, 20h                                                       ; +0x6, 0x180012856\nmovzx   ebx, dl                                                        ; +0xa, 0x18001285a\nmov     rdi, rcx                                                       ; +0xd, 0x18001285d\ncall    cs:__imp_?setTouchEnabled@CCLayer@cocos2d@@UEAAX_N@Z; cocos2d::CCLayer::setTouchEnabled(bool) ; +0x10, 0x180012860\ntest    bl, bl                                                         ; +0x16, 0x180012866\njnz     short loc_180012883                                            ; +0x18, 0x180012868\nmov     rcx, [rdi+1F8h]                                                ; +0x1a, 0x18001286a\nmov     [rdi+1B4h], bl                                                 ; +0x21, 0x180012871\nmov     [rdi+1C8h], bl                                                 ; +0x27, 0x180012877\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x2d, 0x18001287d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x33, 0x180012883\nadd     rsp, 20h                                                       ; +0x38, 0x180012888\npop     rdi                                                            ; +0x3c, 0x18001288c\nretn                                                                   ; +0x3d, 0x18001288d", "xrefs": ["<???> @ 0x1800286b8", "<???> @ 0x180028c30", "<???> @ 0x18002fdf8", "<???> @ 0x18004a3d4"], "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"}