// // cocos2d::extension::CCControlHuePicker::checkSliderPosition from 0xa9d500 to 0xa9d5d0 (208 bytes) // // 3 xrefs: // > cocos2d::extension::CCControlHuePicker::ccTouchBegan @ 0xa9d68c // > cocos2d::extension::CCControlHuePicker::ccTouchMoved @ 0xa9d6f8 // > @ 0x59808 // // 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 // bool cocos2d::extension::CCControlHuePicker::checkSliderPosition( cocos2d::extension::CCControlHuePicker *a1, cocos2d::CCPoint a2) { const cocos2d::CCPoint *v2; // x1 char v3; // w2 float v5; // s1 bool result; // w0 cocos2d::CCPoint v7; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCPoint v8; // 0:s0.4,4:s1.4 v5 = sqrtf((float)(v2->y * v2->y) + (float)((float)(v2->x + 10.0) * (float)(v2->x + 10.0))); result = v5 < 85.0 && v5 > 50.0; if ( result || v3 ) { cocos2d::CCPoint::CCPoint(&v7, v2); cocos2d::extension::CCControlHuePicker::updateSliderPosition(a1, v8); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source