// // SetupCameraOffsetTrigger::sliderValueFromPos from 0x632324 to 0x632380 (92 bytes) // // 4 xrefs: // > SetupCameraOffsetTrigger::textChanged @ 0x6326a0 // > SetupCameraOffsetTrigger::textChanged @ 0x632706 // > SetupCameraOffsetTrigger::textChanged @ 0x632722 // > SetupCameraOffsetTrigger::init @ 0x6338c0 // // 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:17 +0000 // int __fastcall SetupCameraOffsetTrigger::sliderValueFromPos(SetupCameraOffsetTrigger *this, int a2) { float v2; // s15 v2 = (float)(floorf((float)a2 / 3.0) / 200.0) + 0.5; if ( v2 >= 1.0 ) { v2 = 1.0; } else if ( v2 <= 0.0 ) { v2 = 0.0; } return LODWORD(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source