// // SetupMoveCommandPopup::triggerSliderValueFromValue from 0x100274aa0 to 0x100274b10 (112 bytes) // // 1 xrefs: // > @ 0x1007d41a0 // // 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 __fastcall SetupMoveCommandPopup::triggerSliderValueFromValue(SetupMoveCommandPopup *a1, int a2, float a3) { float result; // s0 float v4; // s1 _BOOL4 v5; // w8 _BOOL4 v6; // w9 if ( a1->m_smallStep || (unsigned int)(a2 - 28) >= 2 && a2 != 396 ) return SetupTriggerPopup::triggerSliderValueFromValue(a1, a2, a3); result = (float)(floorf(a3 / 3.0) / 200.0) + 0.5; v4 = 1.0; v5 = result >= 1.0; v6 = result > 0.0 || result >= 1.0; if ( result <= 0.0 ) v5 = 1; if ( !v6 ) v4 = 0.0; if ( v5 ) return v4; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source