// // SetupMGTrigger::sliderValueFromPos from 0xb4d4f0 to 0xb4d538 (72 bytes) // // 4 xrefs: // > SetupMGTrigger::textChanged @ 0xb4df8c // > SetupMGTrigger::textChanged @ 0xb4dfe4 // > SetupMGTrigger::init @ 0xb4f07c // > @ 0x633e8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:01:57 +0000 // float __fastcall SetupMGTrigger::sliderValueFromPos(SetupMGTrigger *this, 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