//
// GameManager::reorderKey from 0x10036dfe0 to 0x10036e00a (42 bytes)
//
// 2 xrefs:
// > EditorUI::orderUpCustomItem @ 0x10063ca3d
// > EditorUI::orderDownCustomItem @ 0x10063cafa
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:29:01 +0000
//
__int64 __fastcall GameManager::reorderKey(__int64 a1, unsigned int a2, char a3)
{
unsigned int v3; // ebx
unsigned int NextUsedKey; // eax
v3 = a2;
NextUsedKey = GameManager::getNextUsedKey(a1, a2, a3);
if ( NextUsedKey )
{
v3 = NextUsedKey;
GameManager::switchCustomObjects(a1, a2, NextUsedKey);
}
return v3;
}