//
// EditorUI::onDpadStep from 0x6f804a to 0x6f8086 (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:40 +0000
//
_DWORD *__fastcall EditorUI::onDpadStep(EditorUI *this, cocos2d::CCObject *a2)
{
EditorSFXManager *v3; // r0
unsigned int v4; // r5
EditorSFXManager *v6; // r0
v3 = (EditorSFXManager *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v4 = (unsigned int)v3;
if ( v3 == (EditorSFXManager *)((char *)&dword_0 + 2) && *((_DWORD *)this + 265) == 2 )
return EditorUI::toggleWindow(this, 5u);
v6 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);
EditorSFXManager::playAction(v6, 189);
return (_DWORD *)EditorUI::setDpadStep((int)this, v4);
}