// // SetupCameraOffsetTrigger::sliderValueFromPos from 0xaae0e8 to 0xaae130 (72 bytes) // // 6 xrefs: // > SetupCameraOffsetTrigger::textChanged @ 0xaaeff0 // > SetupCameraOffsetTrigger::textChanged @ 0xaaf008 // > SetupCameraOffsetTrigger::textChanged @ 0xaaf0d4 // > SetupCameraOffsetTrigger::textChanged @ 0xaaf13c // > SetupCameraOffsetTrigger::init @ 0xaaff90 // > @ 0x91738 // // 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:00:55 +0000 // float __fastcall SetupCameraOffsetTrigger::sliderValueFromPos(SetupCameraOffsetTrigger *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