// // SetupTriggerPopup::triggerSliderValueFromValue from 0x5454bc to 0x54551c (96 bytes) // // 5 xrefs: // > SetupMoveCommandPopup::triggerSliderValueFromValue @ 0x4b8b1c // > SetupRotateCommandPopup::triggerSliderValueFromValue @ 0x4deb4e // > SetupGameplayOffsetPopup::triggerSliderValueFromValue @ 0x54a478 // > SetupAreaMoveTriggerPopup::triggerSliderValueFromValue @ 0x5595fa // > SetupEnterEffectPopup::triggerSliderValueFromValue @ 0x55dbb0 // // 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 SetupTriggerPopup::triggerSliderValueFromValue(SetupTriggerPopup *a1, int a2, float a3) { float MinSliderValue; // s17 float v7; // s15 MinSliderValue = SetupTriggerPopup::getMinSliderValue(a1, a2); v7 = (float)(a3 - MinSliderValue) / (float)(SetupTriggerPopup::getMaxSliderValue(a1, a2) - MinSliderValue); if ( v7 >= 1.0 ) return 1.0; if ( v7 <= 0.0 ) return 0.0; return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source