// // SetupMGTrigger::sliderValueFromPos from 0xa1f5b8 to 0xa1f600 (72 bytes) // // 4 xrefs: // > SetupMGTrigger::init @ 0xa20afc // > SetupMGTrigger::textChanged @ 0xa21458 // > SetupMGTrigger::textChanged @ 0xa21494 // > @ 0x45d50 // // 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 SetupMGTrigger::sliderValueFromPos(SetupMGTrigger *a1, int a2) { float result; // s0 result = (float)(floorf((float)a2 / 3.0) / 200.0) + 0.5; if ( result >= 1.0 ) return 1.0; if ( result <= 0.0 ) return 0.0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source