{"type": "func", "start": 4299067568, "end": 4299067720, "name": "EditorUI::recreateButtonTabs", "pseudocode": "// \n// EditorUI::recreateButtonTabs from 0x1003e90b0 to 0x1003e9148 (152 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::onResume @ 0x10039daf0\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\nvoid __fastcall EditorUI::recreateButtonTabs(EditorUI *a1)\n{\n  GameManager *v2; // x0\n  int IntGameVariable; // w20\n  GameManager *v4; // x0\n  int v5; // w21\n  unsigned int v6; // w22\n  EditButtonBar *v7; // x0\n\n  a1->m_reloadItems = 0;\n  v2 = GameManager::sharedState();\n  IntGameVariable = GameManager::getIntGameVariable(v2, \"0049\");\n  v4 = GameManager::sharedState();\n  v5 = GameManager::getIntGameVariable(v4, \"0050\");\n  if ( (unsigned int)sub_10024A36C((__int64)a1->m_createButtonBars) )\n  {\n    v6 = 0;\n    do\n    {\n      v7 = (EditButtonBar *)sub_10024A388((__int64)a1->m_createButtonBars, v6);\n      EditButtonBar::reloadItems(v7, IntGameVariable, v5);\n      ++v6;\n    }\n    while ( v6 < (unsigned int)sub_10024A36C((__int64)a1->m_createButtonBars) );\n  }\n  EditButtonBar::reloadItems(a1->m_editButtonBar, IntGameVariable, v5);\n}", "assembly": "; \n; EditorUI::recreateButtonTabs from 0x1003e90b0 to 0x1003e9148 (152 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::onResume @ 0x10039daf0\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, 0x1003e90b0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003e90b4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003e90b8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003e90bc\nMOV             X19, X0                                                ; +0x10, 0x1003e90c0\nSTRB            WZR, [X0,#0x589]                                       ; +0x14, 0x1003e90c4\nBL              GameManager__sharedState                               ; +0x18, 0x1003e90c8\nADRL            X1, a0049; \"0049\"                                      ; +0x1c, 0x1003e90cc\nBL              GameManager__getIntGameVariable                        ; +0x24, 0x1003e90d4\nMOV             X20, X0                                                ; +0x28, 0x1003e90d8\nBL              GameManager__sharedState                               ; +0x2c, 0x1003e90dc\nADRL            X1, a0050; \"0050\"                                      ; +0x30, 0x1003e90e0\nBL              GameManager__getIntGameVariable                        ; +0x38, 0x1003e90e8\nMOV             X21, X0                                                ; +0x3c, 0x1003e90ec\nLDR             X0, [X19,#0x428]                                       ; +0x40, 0x1003e90f0\nBL              sub_10024A36C                                          ; +0x44, 0x1003e90f4\nCBZ             W0, loc_1003E912C                                      ; +0x48, 0x1003e90f8\nMOV             W22, #0                                                ; +0x4c, 0x1003e90fc\nLDR             X0, [X19,#0x428]                                       ; +0x50, 0x1003e9100\nMOV             X1, X22                                                ; +0x54, 0x1003e9104\nBL              sub_10024A388                                          ; +0x58, 0x1003e9108\nMOV             X1, X20                                                ; +0x5c, 0x1003e910c\nMOV             X2, X21                                                ; +0x60, 0x1003e9110\nBL              EditButtonBar__reloadItems                             ; +0x64, 0x1003e9114\nADD             W22, W22, #1                                           ; +0x68, 0x1003e9118\nLDR             X0, [X19,#0x428]                                       ; +0x6c, 0x1003e911c\nBL              sub_10024A36C                                          ; +0x70, 0x1003e9120\nCMP             W22, W0                                                ; +0x74, 0x1003e9124\nB.CC            loc_1003E9100                                          ; +0x78, 0x1003e9128\nLDR             X0, [X19,#0x2E8]                                       ; +0x7c, 0x1003e912c\nMOV             X1, X20                                                ; +0x80, 0x1003e9130\nMOV             X2, X21                                                ; +0x84, 0x1003e9134\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x88, 0x1003e9138\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x8c, 0x1003e913c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x90, 0x1003e9140\nB               EditButtonBar__reloadItems                             ; +0x94, 0x1003e9144", "xrefs": ["EditorPauseLayer::onResume @ 0x10039daf0"], "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"}