//
// EditorUI::setCustomMoveStep from 0x7c166c to 0x7c16d8 (108 bytes)
//
// 3 xrefs:
// > MoveStepPopup::valueDidChange @ 0xc60b40
// > MoveStepPopup::onReset @ 0xc610e8
// > ??> @ 0xb5990
//
// 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 12:54:06 +0000
//
__int64 __fastcall EditorUI::setCustomMoveStep(EditorUI *this, float a2)
{
float v2; // s1
GameManager *v4; // x0
float v6; // [xsp+20h] [xbp+20h]
v2 = 300.0;
if ( a2 >= 300.0 || (v2 = 0.01, a2 <= 0.01) )
a2 = v2;
*((float *)this + 408) = a2;
v6 = a2;
v4 = (GameManager *)GameManager::sharedState(this);
GameManager::setIntGameVariable(v4, "0238", llroundf(v6 * 1000.0));
return EditorUI::updateDpadStepLabel(this);
}