// // cocos2d::extension::CCControlPotentiometer::setMaximumValue from 0x180009200 to 0x180009230 (48 bytes) // // 1 xrefs: // > @ 0x18002fdf8 // // 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::CCControlPotentiometer::setMaximumValue( cocos2d::extension::CCControlPotentiometer *this, float a2) { float v3; // xmm1_4 v3 = *((float *)this + 125); *((float *)this + 126) = a2; if ( v3 >= a2 ) { v3 = a2 - 1.0; *((float *)this + 125) = a2 - 1.0; } cocos2d::extension::CCControlPotentiometer::setValue(this, v3); }