//
// EditorUI::onDpadStep from 0xbe2194 to 0xbe2200 (108 bytes)
//
// 3 xrefs:
// > ??> @ 0x6fef8
// > EditorUI::createDpadMoveMenu @ 0xbe0dcc
// > ??> @ 0x1542cb8
//
// 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 13:03:46 +0000
//
__int64 __fastcall EditorUI::onDpadStep(EditorUI *this, cocos2d::CCObject *a2)
{
EditorSFXManager *v3; // x0
unsigned int v4; // w19
EditorSFXManager *v5; // x0
v3 = (EditorSFXManager *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v4 = (unsigned int)v3;
if ( (_DWORD)v3 == 2 )
{
v3 = (EditorSFXManager *)*((unsigned int *)this + 400);
if ( (_DWORD)v3 == 2 )
return EditorUI::toggleWindow(this, 5);
}
v5 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);
EditorSFXManager::playAction(v5, 189);
return EditorUI::setDpadStep((__int64)this, v4);
}