// // cocos2d::extension::CCControlHuePicker::checkSliderPosition from 0x180008590 to 0x180008648 (184 bytes) // // 4 xrefs: // > cocos2d::extension::CCControlHuePicker::ccTouchBegan @ 0x1800086b1 // > cocos2d::extension::CCControlHuePicker::ccTouchMoved @ 0x18000870a // > @ 0x180032408 // > @ 0x18004b840 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:15:36 +0000 // char __fastcall cocos2d::extension::CCControlHuePicker::checkSliderPosition(__int64 a1, float *a2, char a3) { float v6; // xmm0_4 float v7; // xmm7_4 float v8; // xmm0_4 float *v9; // rax char v11; // [rsp+48h] [rbp+10h] BYREF v6 = powf(*a2 + 10.0, 2.0); v7 = v6 + powf(a2[1], 2.0); if ( v7 < 0.0 ) v8 = sqrtf(v7); else v8 = fsqrt(v7); if ( (v8 >= 85.0 || v8 <= 50.0) && !a3 ) return 0; v9 = (float *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, (const struct cocos2d::CCPoint *)a2); cocos2d::extension::CCControlHuePicker::updateSliderPosition(a1, v9); return 1; }