// // cocos2d::extension::CCControlPotentiometer::setMaximumValue from 0xaa3914 to 0xaa3938 (36 bytes) // // 1 xrefs: // > @ 0x86358 // // 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 cocos2d::extension::CCControlPotentiometer::setMaximumValue( cocos2d::extension::CCControlPotentiometer *a1, float a2) { float v3; // s0 v3 = *(float *)&a1[1].m_eObjType; *(float *)&a1[1].m_uIndexInArray = a2; if ( a2 <= v3 ) { v3 = a2 - 1.0; *(float *)&a1[1].m_eObjType = a2 - 1.0; } cocos2d::extension::CCControlPotentiometer::setValue(a1, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source