{"type": "func", "start": 4295169024, "end": 4295169130, "name": "EditorUI::reloadCustomItems", "pseudocode": "// \n// EditorUI::reloadCustomItems from 0x100031400 to 0x10003146a (106 bytes)\n// \n// 0 xrefs:\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::reloadCustomItems(EditorUI *a1)\n{\n  GameManager *v1; // rax\n  int IntGameVariable; // r14d\n  GameManager *v3; // rax\n  int v4; // r15d\n  EditButtonBar *m_customTabBar; // r12\n  cocos2d::CCArray *CustomItems; // rax\n\n  v1 = GameManager::sharedState();\n  IntGameVariable = GameManager::getIntGameVariable(v1, \"0049\");\n  v3 = GameManager::sharedState();\n  v4 = GameManager::getIntGameVariable(v3, \"0050\");\n  m_customTabBar = a1->m_customTabBar;\n  CustomItems = EditorUI::createCustomItems(a1);\n  EditButtonBar::loadFromItems(m_customTabBar, CustomItems, IntGameVariable, v4, 1);\n}", "assembly": "; \n; EditorUI::reloadCustomItems from 0x100031400 to 0x10003146a (106 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x100031400\nmov     rbp, rsp                                                       ; +0x1, 0x100031401\npush    r15                                                            ; +0x4, 0x100031404\npush    r14                                                            ; +0x6, 0x100031406\npush    r12                                                            ; +0x8, 0x100031408\npush    rbx                                                            ; +0xa, 0x10003140a\nmov     rbx, rdi                                                       ; +0xb, 0x10003140b\ncall    GameManager__sharedState                                       ; +0xe, 0x10003140e\nlea     rsi, a0049; \"0049\"                                             ; +0x13, 0x100031413\nmov     rdi, rax                                                       ; +0x1a, 0x10003141a\ncall    GameManager__getIntGameVariable                                ; +0x1d, 0x10003141d\nmov     r14d, eax                                                      ; +0x22, 0x100031422\ncall    GameManager__sharedState                                       ; +0x25, 0x100031425\nlea     rsi, a0050; \"0050\"                                             ; +0x2a, 0x10003142a\nmov     rdi, rax                                                       ; +0x31, 0x100031431\ncall    GameManager__getIntGameVariable                                ; +0x34, 0x100031434\nmov     r15d, eax                                                      ; +0x39, 0x100031439\nmov     r12, [rbx+248h]                                                ; +0x3c, 0x10003143c\nmov     rdi, rbx                                                       ; +0x43, 0x100031443\ncall    EditorUI__createCustomItems                                    ; +0x46, 0x100031446\nmov     rdi, r12                                                       ; +0x4b, 0x10003144b\nmov     rsi, rax                                                       ; +0x4e, 0x10003144e\nmov     edx, r14d                                                      ; +0x51, 0x100031451\nmov     ecx, r15d                                                      ; +0x54, 0x100031454\nmov     r8d, 1                                                         ; +0x57, 0x100031457\npop     rbx                                                            ; +0x5d, 0x10003145d\npop     r12                                                            ; +0x5e, 0x10003145e\npop     r14                                                            ; +0x60, 0x100031460\npop     r15                                                            ; +0x62, 0x100031462\npop     rbp                                                            ; +0x64, 0x100031464\njmp     EditButtonBar__loadFromItems                                   ; +0x65, 0x100031465", "xrefs": [], "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"}