//
// GameManager::reorderKey from 0x323304 to 0x323324 (32 bytes)
//
// 2 xrefs:
// > EditorUI::orderUpCustomItem @ 0x3882f8
// > EditorUI::orderDownCustomItem @ 0x388334
//
// 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
//
int GameManager::reorderKey(GameManager *a1, int a2, bool a3)
{
int NextUsedKey; // r5
NextUsedKey = GameManager::getNextUsedKey(a1, a2, a3);
if ( !NextUsedKey )
return a2;
GameManager::switchCustomObjects(a1, a2, NextUsedKey);
return NextUsedKey;
}