; ; cocos2d::extension::CCScrollView::setTouchEnabled from 0x180012850 to 0x18001288e (62 bytes) ; ; 4 xrefs: ; > @ 0x1800286b8 ; > @ 0x180028c30 ; > @ 0x18002fdf8 ; > @ 0x18004a3d4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x180012850 push rdi ; +0x5, 0x180012855 sub rsp, 20h ; +0x6, 0x180012856 movzx ebx, dl ; +0xa, 0x18001285a mov rdi, rcx ; +0xd, 0x18001285d call cs:__imp_?setTouchEnabled@CCLayer@cocos2d@@UEAAX_N@Z; cocos2d::CCLayer::setTouchEnabled(bool) ; +0x10, 0x180012860 test bl, bl ; +0x16, 0x180012866 jnz short loc_180012883 ; +0x18, 0x180012868 mov rcx, [rdi+1F8h] ; +0x1a, 0x18001286a mov [rdi+1B4h], bl ; +0x21, 0x180012871 mov [rdi+1C8h], bl ; +0x27, 0x180012877 call cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x2d, 0x18001287d mov rbx, [rsp+28h+arg_0] ; +0x33, 0x180012883 add rsp, 20h ; +0x38, 0x180012888 pop rdi ; +0x3c, 0x18001288c retn ; +0x3d, 0x18001288d