; ; cocos2d::CCLayer::setTouchMode from 0x180050f20 to 0x180050f65 (69 bytes) ; ; 9 xrefs: ; > @ 0x1800ed280 ; > @ 0x1800ed740 ; > @ 0x1800edc78 ; > @ 0x1800ee1e0 ; > @ 0x1800ee7b8 ; > @ 0x1800f7088 ; > @ 0x1801438a8 ; > @ 0x1801b2160 ; > @ 0x1801b216c ; ; 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 ; push rbx ; +0x0, 0x180050f20 sub rsp, 20h ; +0x2, 0x180050f22 mov rbx, rcx ; +0x6, 0x180050f26 cmp [rcx+18Ch], edx ; +0x9, 0x180050f29 jz short loc_180050F5F ; +0xf, 0x180050f2f cmp byte ptr [rcx+168h], 0 ; +0x11, 0x180050f31 mov [rcx+18Ch], edx ; +0x18, 0x180050f38 jz short loc_180050F5F ; +0x1e, 0x180050f3e mov rax, [rcx] ; +0x20, 0x180050f40 xor edx, edx ; +0x23, 0x180050f43 call qword ptr [rax+388h] ; +0x25, 0x180050f45 mov rax, [rbx] ; +0x2b, 0x180050f4b mov dl, 1 ; +0x2e, 0x180050f4e mov rcx, rbx ; +0x30, 0x180050f50 add rsp, 20h ; +0x33, 0x180050f53 pop rbx ; +0x37, 0x180050f57 jmp qword ptr [rax+388h] ; +0x38, 0x180050f58 add rsp, 20h ; +0x3f, 0x180050f5f pop rbx ; +0x43, 0x180050f63 retn ; +0x44, 0x180050f64