//
// EditorUI::onDpadStep from 0x1401f3f90 to 0x1401f3ff2 (98 bytes)
//
// 2 xrefs:
// > EditorUI::createDpadMoveMenu @ 0x1401f3c1c
// > ??> @ 0x14091aa44
//
// 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:28:09 +0000
//
void __fastcall EditorUI::onDpadStep(__int64 a1, __int64 a2)
{
unsigned int v3; // edi
__int64 v4; // rax
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
if ( v3 == 2 && *(_DWORD *)(a1 + 1672) == 2 )
{
EditorUI::toggleWindow((_QWORD *)a1, 5);
}
else
{
v4 = EditorSFXManager::sharedState();
EditorSFXManager::playAction(v4, 189);
EditorUI::setDpadStep(a1, v3);
}
}