// // 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 // // Alternative name is '?registerWithTouchDispatcher@CCControlHuePicker@extension@cocos2d@@UEAAXXZ' void __fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::registerWithTouchDispatcher( cocos2d::extension::CCControlSaturationBrightnessPicker *this, __int64 a2) { __int64 v3; // rax struct cocos2d::CCTouchDelegate *v4; // rdi cocos2d::CCTouchDispatcher *v5; // rax v3 = cocos2d::CCDirector::sharedDirector(this, a2); v4 = (cocos2d::extension::CCControlSaturationBrightnessPicker *)((char *)this + 320); if ( !this ) v4 = nullptr; v5 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3); cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(v5, v4, -500, 1); }