// // cocos2d::extension::CCControlSaturationBrightnessPicker::ccTouchBegan from 0x18000a220 to 0x18000a29e (126 bytes) // // 3 xrefs: // > @ 0x1800254a8 // > @ 0x18002fdf8 // > @ 0x180049af8 // // 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 // char __fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::ccTouchBegan( cocos2d::extension::CCControlSaturationBrightnessPicker *this, struct cocos2d::CCTouch *a2, struct cocos2d::CCEvent *a3) { char *v3; // rbx float *v5; // rax char v7; // [rsp+30h] [rbp+8h] BYREF char v8; // [rsp+48h] [rbp+20h] BYREF v3 = (char *)this - 320; if ( !(*(unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))(*((_QWORD *)this - 40) + 1024LL))( (char *)this - 320, a2, a3) || !(*(unsigned __int8 (__fastcall **)(char *))(*(_QWORD *)v3 + 328LL))(v3) ) { return 0; } (*(void (__fastcall **)(char *, char *, struct cocos2d::CCTouch *))(*(_QWORD *)v3 + 1096LL))(v3, &v7, a2); v5 = (float *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, (const struct cocos2d::CCPoint *)&v7); return cocos2d::extension::CCControlSaturationBrightnessPicker::checkSliderPosition((__int64)v3, v5, 0); }