// // cocos2d::extension::CCControlHuePicker::updateSliderPosition from 0x1001afbc0 to 0x1001afc54 (148 bytes) // // 1 xrefs: // > cocos2d::extension::CCControlHuePicker::checkSliderPosition @ 0x1001afcbc // // 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 // void __fastcall cocos2d::extension::CCControlHuePicker::updateSliderPosition( cocos2d::extension::CCControlHuePicker *a1, cocos2d::CCPoint a2) { float *v2; // x1 float *v3; // x19 float v5; // s0 float v6; // [xsp+8h] [xbp-18h] float v7; // [xsp+Ch] [xbp-14h] v3 = v2; cocos2d::CCNode::boundingBox(a1->m_background); v5 = atan2f( v3[1] - (float)(a1->m_startPos.y + (float)(v7 * 0.5)), *v3 - (float)(a1->m_startPos.x + (float)(v6 * 0.5))); ((void (__fastcall *)(cocos2d::extension::CCControlHuePicker *, float))a1->getHue)(a1, (float)(v5 * 57.296) + 180.0); ((void (__fastcall *)(cocos2d::extension::CCControlHuePicker *, __int64))a1->sendActionsForControlEvents)(a1, 256); }
GD Web Decomp Icon

GD Web Decomp

Raw Source