; ; cocos2d::CCDirector::setTouchDispatcher from 0x1800bfbd0 to 0x1800bfc10 (64 bytes) ; ; 5 xrefs: ; > @ 0x180107308 ; > @ 0x180107418 ; > @ 0x1801438a8 ; > @ 0x1801b93a8 ; > @ 0x1801b93b4 ; ; 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, 0x1800bfbd0 push rdi ; +0x5, 0x1800bfbd5 sub rsp, 20h ; +0x6, 0x1800bfbd6 mov rbx, rdx ; +0xa, 0x1800bfbda mov rdi, rcx ; +0xd, 0x1800bfbdd cmp [rcx+78h], rdx ; +0x10, 0x1800bfbe0 jz short loc_1800BFC05 ; +0x14, 0x1800bfbe4 test rdx, rdx ; +0x16, 0x1800bfbe6 jz short loc_1800BFBF3 ; +0x19, 0x1800bfbe9 mov rcx, rdx; this ; +0x1b, 0x1800bfbeb call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1e, 0x1800bfbee mov rcx, [rdi+78h]; this ; +0x23, 0x1800bfbf3 test rcx, rcx ; +0x27, 0x1800bfbf7 jz short loc_1800BFC01 ; +0x2a, 0x1800bfbfa call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2c, 0x1800bfbfc mov [rdi+78h], rbx ; +0x31, 0x1800bfc01 mov rbx, [rsp+28h+arg_0] ; +0x35, 0x1800bfc05 add rsp, 20h ; +0x3a, 0x1800bfc0a pop rdi ; +0x3e, 0x1800bfc0e retn ; +0x3f, 0x1800bfc0f