{"type": "func", "start": 3655784, "end": 3655872, "name": "EditorUI::recreateButtonTabs", "pseudocode": "// \n// EditorUI::recreateButtonTabs from 0x37c868 to 0x37c8c0 (88 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::onResume @ 0x3ff5ea\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 EditorUI::recreateButtonTabs(EditorUI *a1)\n{\n  unsigned int v1; // r4\n  GameManager *v3; // r0\n  int IntGameVariable; // r7\n  GameManager *v5; // r0\n  int v6; // r6\n  EditButtonBar *v7; // r0\n\n  v1 = 0;\n  a1->m_reloadItems = 0;\n  v3 = GameManager::sharedState();\n  IntGameVariable = GameManager::getIntGameVariable(v3, \"0049\");\n  v5 = GameManager::sharedState();\n  v6 = GameManager::getIntGameVariable(v5, \"0050\");\n  while ( v1 < cocos2d::CCArray::count(a1->m_createButtonBars) )\n  {\n    v7 = (EditButtonBar *)cocos2d::CCArray::objectAtIndex(a1->m_createButtonBars, v1++);\n    EditButtonBar::reloadItems(v7, IntGameVariable, v6);\n  }\n  EditButtonBar::reloadItems(a1->m_editButtonBar, IntGameVariable, v6);\n}", "assembly": "; \n; EditorUI::recreateButtonTabs from 0x37c868 to 0x37c8c0 (88 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::onResume @ 0x3ff5ea\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\nPUSH            {R3-R7,LR}                                             ; +0x0, 0x37c868\nMOVS            R4, #0                                                 ; +0x2, 0x37c86a\nSTRB.W          R4, [R0,#0x3BD]                                        ; +0x4, 0x37c86c\nMOV             R5, R0                                                 ; +0x8, 0x37c870\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xa, 0x37c872\nLDR             R1, =(a0049 - 0x37C87C); \"0049\"                        ; +0xe, 0x37c876\nADD             R1, PC; \"0049\"                                         ; +0x10, 0x37c878\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x12, 0x37c87a\nMOV             R7, R0                                                 ; +0x16, 0x37c87e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x37c880\nLDR             R1, =(a0050 - 0x37C88A); \"0050\"                        ; +0x1c, 0x37c884\nADD             R1, PC; \"0050\"                                         ; +0x1e, 0x37c886\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x20, 0x37c888\nMOV             R6, R0                                                 ; +0x24, 0x37c88c\nLDR.W           R0, [R5,#0x2E0]; this                                  ; +0x26, 0x37c88e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2a, 0x37c892\nCMP             R4, R0                                                 ; +0x2e, 0x37c896\nBCS             loc_37C8B0                                             ; +0x30, 0x37c898\nMOV             R1, R4; unsigned int                                   ; +0x32, 0x37c89a\nLDR.W           R0, [R5,#0x2E0]; this                                  ; +0x34, 0x37c89c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x38, 0x37c8a0\nMOV             R1, R7; int                                            ; +0x3c, 0x37c8a4\nMOV             R2, R6; int                                            ; +0x3e, 0x37c8a6\nADDS            R4, #1                                                 ; +0x40, 0x37c8a8\nBL              _ZN13EditButtonBar11reloadItemsEii; EditButtonBar::reloadItems(int,int) ; +0x42, 0x37c8aa\nB               loc_37C88E                                             ; +0x46, 0x37c8ae\nLDR.W           R0, [R5,#0x22C]; this                                  ; +0x48, 0x37c8b0\nMOV             R1, R7; int                                            ; +0x4c, 0x37c8b4\nMOV             R2, R6; int                                            ; +0x4e, 0x37c8b6\nPOP.W           {R3-R7,LR}                                             ; +0x50, 0x37c8b8\nB.W             _ZN13EditButtonBar11reloadItemsEii; EditButtonBar::reloadItems(int,int) ; +0x54, 0x37c8bc", "xrefs": ["EditorPauseLayer::onResume @ 0x3ff5ea"], "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"}