{"type": "func", "start": 4298216684, "end": 4298216760, "name": "GameManager::reorderKey", "pseudocode": "// \n// GameManager::reorderKey from 0x1003194ec to 0x100319538 (76 bytes)\n// \n// 2 xrefs:\n// > EditorUI::orderUpCustomItem @ 0x1003e8b7c\n// > EditorUI::orderDownCustomItem @ 0x1003e8be0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall GameManager::reorderKey(GameManager *a1, int a2, bool a3)\n{\n  int v3; // w19\n  int NextUsedKey; // w0\n  int v6; // w21\n\n  v3 = a2;\n  NextUsedKey = GameManager::getNextUsedKey(a1, a2, a3);\n  if ( NextUsedKey )\n  {\n    v6 = NextUsedKey;\n    GameManager::switchCustomObjects(a1, v3, NextUsedKey);\n    return v6;\n  }\n  return v3;\n}", "assembly": "; \n; GameManager::reorderKey from 0x1003194ec to 0x100319538 (76 bytes)\n; \n; 2 xrefs:\n; > EditorUI::orderUpCustomItem @ 0x1003e8b7c\n; > EditorUI::orderDownCustomItem @ 0x1003e8be0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003194ec\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003194f0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003194f4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003194f8\nMOV             X19, X1                                                ; +0x10, 0x1003194fc\nMOV             X20, X0                                                ; +0x14, 0x100319500\nBL              GameManager__getNextUsedKey                            ; +0x18, 0x100319504\nCBZ             W0, loc_100319524                                      ; +0x1c, 0x100319508\nMOV             X21, X0                                                ; +0x20, 0x10031950c\nMOV             X0, X20                                                ; +0x24, 0x100319510\nMOV             X1, X19                                                ; +0x28, 0x100319514\nMOV             X2, X21                                                ; +0x2c, 0x100319518\nBL              GameManager__switchCustomObjects                       ; +0x30, 0x10031951c\nMOV             X19, X21                                               ; +0x34, 0x100319520\nMOV             X0, X19                                                ; +0x38, 0x100319524\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x3c, 0x100319528\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x40, 0x10031952c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x44, 0x100319530\nRET                                                                    ; +0x48, 0x100319534", "xrefs": ["EditorUI::orderUpCustomItem @ 0x1003e8b7c", "EditorUI::orderDownCustomItem @ 0x1003e8be0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}