//
// GameManager::reorderKey from 0x100384990 to 0x1003849ba (42 bytes)
//
// 2 xrefs:
// > EditorUI::orderUpCustomItem @ 0x10003153d
// > EditorUI::orderDownCustomItem @ 0x1000315fa
//
// 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 __fastcall GameManager::reorderKey(GameManager *a1, int a2, bool a3)
{
int v3; // ebx
int NextUsedKey; // eax
v3 = a2;
NextUsedKey = GameManager::getNextUsedKey(a1, a2, a3);
if ( NextUsedKey )
{
v3 = NextUsedKey;
GameManager::switchCustomObjects(a1, a2, NextUsedKey);
}
return v3;
}