//
// EditorUI::onDpadStep from 0x100186a64 to 0x100186ad0 (108 bytes)
//
// 1 xrefs:
// > sub_100186174 @ 0x1001866bc
//
// 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 10:59:50 +0000
//
__int64 __fastcall EditorUI::onDpadStep(__int64 a1, __int64 a2)
{
__int64 v3; // x20
__n128 v4; // q0
__int64 v6; // x0
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)v3 == 2 && *(_DWORD *)(a1 + 1600) == 2 )
return EditorUI::toggleWindow(a1, 5);
v6 = EditorSFXManager::sharedState(v4);
EditorSFXManager::playAction_1(v6, 189);
return EditorUI::setDpadStep(a1, v3);
}