//
// EditorUI::orderUpCustomItem from 0x3882e2 to 0x38831e (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EditorUI::orderUpCustomItem(EditorUI *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
int v4; // r5
if ( a1->m_selectedObjectIndex < 0 )
{
v3 = GameManager::sharedState();
v4 = GameManager::reorderKey(v3, a1->m_selectedObjectIndex, 1);
if ( v4 != a1->m_selectedObjectIndex )
{
EditorUI::reloadCustomItems(a1);
a1->m_selectedObjectIndex = v4;
EditorUI::updateCreateMenu(a1, 0);
}
}
}