// // cocos2d::extension::CCControlHuePicker::updateSliderPosition from 0x180008a30 to 0x180008ad9 (169 bytes) // // 3 xrefs: // > cocos2d::extension::CCControlHuePicker::checkSliderPosition @ 0x180008b78 // > @ 0x18002fdf8 // > @ 0x180049900 // // 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 // __int64 __fastcall cocos2d::extension::CCControlHuePicker::updateSliderPosition(__int64 *a1, float *a2) { __int64 v4; // rdi _BYTE v6[8]; // [rsp+20h] [rbp-18h] BYREF float v7; // [rsp+28h] [rbp-10h] float v8; // [rsp+2Ch] [rbp-Ch] cocos2d::CCNode::boundingBox(a1[60], v6); v4 = *a1; atan2f( a2[1] - (float)((float)(v8 * 0.5) + *((float *)a1 + 125)), *a2 - (float)((float)(v7 * 0.5) + *((float *)a1 + 124))); (*(void (__fastcall **)(__int64 *))(v4 + 1112))(a1); return (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 1072))(a1, 256); }