// // SetupMoveCommandPopup::triggerSliderValueFromValue from 0x4b8aac to 0x4b8b26 (122 bytes) // // 0 xrefs: // // 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 // float SetupMoveCommandPopup::triggerSliderValueFromValue(SetupMoveCommandPopup *a1, int a2, float a3) { float v3; // s15 if ( a1->m_smallStep || (unsigned int)(a2 - 28) > 1 && a2 != 396 ) return SetupTriggerPopup::triggerSliderValueFromValue(a1, a2, a3); v3 = (float)(floorf(a3 / 3.0) / 200.0) + 0.5; if ( v3 >= 1.0 ) return 1.0; if ( v3 <= 0.0 ) return 0.0; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source