// // SetupTriggerPopup::triggerSliderValueFromValue from 0x6794e8 to 0x679548 (96 bytes) // // 5 xrefs: // > SetupMoveCommandPopup::triggerSliderValueFromValue @ 0x5e72d4 // > SetupRotateCommandPopup::triggerSliderValueFromValue @ 0x6100ea // > SetupGameplayOffsetPopup::triggerSliderValueFromValue @ 0x67f978 // > SetupAreaMoveTriggerPopup::triggerSliderValueFromValue @ 0x68ee28 // > SetupEnterEffectPopup::triggerSliderValueFromValue @ 0x693cc0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:55:57 +0000 // int __fastcall SetupTriggerPopup::triggerSliderValueFromValue(cocos2d::CCDictionary **this, int a2, float a3) { float v6; // s17 float v7; // s15 v6 = COERCE_FLOAT(SetupTriggerPopup::getMinSliderValue(this, a2)); v7 = (float)(a3 - v6) / (float)(COERCE_FLOAT(SetupTriggerPopup::getMaxSliderValue(this, a2)) - v6); if ( v7 >= 1.0 ) { v7 = 1.0; } else if ( v7 <= 0.0 ) { v7 = 0.0; } return LODWORD(v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source