//
// sub_100475278 from 0x100475278 to 0x1004752dc (100 bytes)
//
// 2 xrefs:
// > sub_10053CB4C @ 0x10053cb70
// > MoveStepPopup::valueDidChange @ 0x10053cc70
//
// 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 11:05:40 +0000
//
void __fastcall sub_100475278(__int64 a1, float a2)
{
float v3; // s8
__int64 v4; // x0
v3 = fmaxf(fminf(a2, 300.0), 0.01);
*(float *)(a1 + 1632) = v3;
v4 = GameManager::sharedState();
GameManager::setIntGameVariable(v4, "0238", llroundf(v3 * 1000.0));
sub_100186BFC(a1);
}