; ; cocos2d::extension::CCControlSaturationBrightnessPicker::registerWithTouchDispatcher from 0x180008820 to 0x180008870 (80 bytes) ; ; 4 xrefs: ; > @ 0x180024cd0 ; > @ 0x180025868 ; > @ 0x18002fdf8 ; > @ 0x1800498dc ; ; 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, 0x180008820 push rdi ; +0x5, 0x180008825 sub rsp, 20h ; +0x6, 0x180008826 mov rbx, rcx ; +0xa, 0x18000882a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x18000882d xor ecx, ecx ; +0x13, 0x180008833 lea rdi, [rbx+140h] ; +0x15, 0x180008835 test rbx, rbx ; +0x1c, 0x18000883c mov r8, [rax] ; +0x1f, 0x18000883f cmovz rdi, rcx ; +0x22, 0x180008842 mov rcx, rax ; +0x26, 0x180008846 call qword ptr [r8+90h] ; +0x29, 0x180008849 mov r9b, 1 ; +0x30, 0x180008850 mov r8d, 0FFFFFE0Ch ; +0x33, 0x180008853 mov rcx, rax ; +0x39, 0x180008859 mov rdx, rdi ; +0x3c, 0x18000885c mov rbx, [rsp+28h+arg_0] ; +0x3f, 0x18000885f add rsp, 20h ; +0x44, 0x180008864 pop rdi ; +0x48, 0x180008868 jmp cs:?addPrioTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x49, 0x180008869