//
// EditorUI::orderDownCustomItem from 0x6979f8 to 0x697a5c (100 bytes)
//
// 3 xrefs:
// > ??> @ 0x42228
// > EditorUI::createCustomItems @ 0x69779c
// > ??> @ 0x122a168
//
// 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::orderDownCustomItem(EditorUI *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
int v4; // w20
if ( a1->m_selectedObjectIndex < 0 )
{
v3 = GameManager::sharedState();
v4 = GameManager::reorderKey(v3, a1->m_selectedObjectIndex, 0);
if ( v4 != a1->m_selectedObjectIndex )
{
EditorUI::reloadCustomItems(a1);
a1->m_selectedObjectIndex = v4;
EditorUI::updateCreateMenu(a1, 0);
}
}
}