//
// EditorUI::onDpadStep from 0x10063af60 to 0x10063afd9 (121 bytes)
//
// 1 xrefs:
// > EditorUI::createDpadMoveMenu @ 0x10063abac
//
// 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 12:34:40 +0000
//
void __fastcall EditorUI::onDpadStep(__int64 a1, __int64 a2)
{
unsigned int v2; // eax
unsigned int v3; // r14d
__int64 v4; // rax
__int64 v5; // rax
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( v2 == 2 )
{
if ( *(_DWORD *)(a1 + 1600) == 2 )
{
EditorUI::toggleWindow(a1, 5);
}
else
{
v5 = EditorSFXManager::sharedState(a2);
EditorSFXManager::playAction_1(v5, 189);
EditorUI::setDpadStep(a1, 2);
}
}
else
{
v3 = v2;
v4 = EditorSFXManager::sharedState(a2);
EditorSFXManager::playAction_1(v4, 189);
EditorUI::setDpadStep(a1, v3);
}
}