//
// GameManager::reorderKey from 0x7188a4 to 0x7188f0 (76 bytes)
//
// 3 xrefs:
// > EditorUI::orderUpCustomItem @ 0xbdfed4
// > EditorUI::orderDownCustomItem @ 0xbdff38
// > ??> @ 0xfea58
//
// This function is hookable on this platform (idp: arm, 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:52:17 +0000
//
__int64 __fastcall GameManager::reorderKey(cocos2d::CCDictionary **this, unsigned int a2, unsigned __int8 a3)
{
unsigned int NextUsedKey; // w20
__int64 result; // x0
NextUsedKey = GameManager::getNextUsedKey(this, a2, a3);
result = a2;
if ( NextUsedKey )
{
GameManager::switchCustomObjects((GameManager *)this, (const char *)a2, NextUsedKey);
return NextUsedKey;
}
return result;
}