//
// MoveStepPopup::onReset from 0x1402c9ad0 to 0x1402c9b8c (188 bytes)
//
// 4 xrefs:
// > MoveStepPopup::onBuildWindowContent @ 0x1402c9870
// > ??> @ 0x1408b16ec
// > ??> @ 0x1408b16fc
// > ??> @ 0x14091dc90
//
// This function is hookable on this platform (idp: pc, 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:29:23 +0000
//
void __fastcall MoveStepPopup::onReset(__int64 a1)
{
__int64 v2; // rcx
cocos2d::CCDictionary *v3; // rbx
struct cocos2d::CCObject *v4; // rax
cocos2d::CCDictionary *v5; // rcx
struct cocos2d::CCObject *v6; // rax
char v7; // bl
__int128 v8; // [rsp+20h] [rbp-28h] BYREF
__int64 v9; // [rsp+30h] [rbp-18h]
__int64 v10; // [rsp+38h] [rbp-10h]
v2 = *(_QWORD *)(a1 + 1000);
if ( v2 )
{
EditorUI::setCustomMoveStep(v2, 10.0);
v3 = *(cocos2d::CCDictionary **)(a1 + 832);
v4 = cocos2d::CCFloat::create(10.0);
cocos2d::CCDictionary::setObject(v3, v4, -1);
v5 = *(cocos2d::CCDictionary **)(a1 + 760);
if ( v5 )
{
v6 = cocos2d::CCDictionary::objectForKey(v5, -1);
if ( v6 )
{
v7 = *(_BYTE *)(a1 + 744);
*(_BYTE *)(a1 + 744) = 1;
v8 = 0;
LOBYTE(v8) = 0;
v9 = 0;
v10 = 15;
CCTextInputNode::setString(v6, &v8);
*(_BYTE *)(a1 + 744) = v7;
}
}
}
}