//
// EditorUI::setCustomMoveStep from 0x481b08 to 0x481b74 (108 bytes)
//
// 2 xrefs:
// > MoveStepPopup::valueDidChange @ 0x7447ac
// > MoveStepPopup::onReset @ 0x744d1a
//
// 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:49:22 +0000
//
int __fastcall EditorUI::setCustomMoveStep(EditorUI *this, float a2)
{
float v3; // s16
GameManager *v4; // r5
const char *v5; // r0
int v6; // r3
v3 = a2;
if ( a2 >= 300.0 )
{
v3 = 300.0;
}
else if ( a2 <= 0.01 )
{
v3 = 0.01;
}
*((float *)this + 270) = v3;
v4 = (GameManager *)GameManager::sharedState(this);
v5 = (const char *)lroundf();
GameManager::setIntGameVariable(v4, "0238", v5, v6);
return EditorUI::updateDpadStepLabel(this);
}