{"type": "func", "start": 6442525360, "end": 6442525422, "name": "cocos2d::extension::CCScrollView::setTouchEnabled", "pseudocode": "// \n// cocos2d::extension::CCScrollView::setTouchEnabled from 0x1800122b0 to 0x1800122ee (62 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18002ad50\n// > <???> @ 0x18002b2e8\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c2b4\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:15:40 +0000\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 0x1800122b0 to 0x1800122ee (62 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18002ad50\n; > <???> @ 0x18002b2e8\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c2b4\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:15:40 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800122b0\npush    rdi                                                            ; +0x5, 0x1800122b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800122b6\nmovzx   ebx, dl                                                        ; +0xa, 0x1800122ba\nmov     rdi, rcx                                                       ; +0xd, 0x1800122bd\ncall    cs:__imp_?setTouchEnabled@CCLayer@cocos2d@@UEAAX_N@Z; cocos2d::CCLayer::setTouchEnabled(bool) ; +0x10, 0x1800122c0\ntest    bl, bl                                                         ; +0x16, 0x1800122c6\njnz     short loc_1800122E3                                            ; +0x18, 0x1800122c8\nmov     rcx, [rdi+1F8h]                                                ; +0x1a, 0x1800122ca\nmov     [rdi+1B4h], bl                                                 ; +0x21, 0x1800122d1\nmov     [rdi+1C8h], bl                                                 ; +0x27, 0x1800122d7\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x2d, 0x1800122dd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x33, 0x1800122e3\nadd     rsp, 20h                                                       ; +0x38, 0x1800122e8\npop     rdi                                                            ; +0x3c, 0x1800122ec\nretn                                                                   ; +0x3d, 0x1800122ed", "xrefs": ["<???> @ 0x18002ad50", "<???> @ 0x18002b2e8", "<???> @ 0x180032408", "<???> @ 0x18004c2b4"], "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"}