{"type": "func", "start": 8184840, "end": 8185060, "name": "EditorUI::resetUI", "pseudocode": "// \n// EditorUI::resetUI from 0x7ce408 to 0x7ce4e4 (220 bytes)\n// \n// 3 xrefs:\n// > EditorUI::toggleMode @ 0x7ce528\n// > EditorUI::init @ 0x7cfedc\n// > <???> @ 0x96448\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:54:13 +0000\n// \n\n__int64 __fastcall EditorUI::resetUI(EditorUI *this)\n{\n  ButtonSprite *v2; // x0\n  ButtonSprite *v3; // x0\n  ButtonSprite *v4; // x0\n  ButtonSprite *v5; // x0\n  __int64 result; // x0\n\n  v2 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 115) + 1072LL))(*((_QWORD *)this + 115));\n  ButtonSprite::updateBGImage(v2, \"GJ_button_04.png\");\n  v3 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 116) + 1072LL))(*((_QWORD *)this + 116));\n  ButtonSprite::updateBGImage(v3, \"GJ_button_04.png\");\n  v4 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 117) + 1072LL))(*((_QWORD *)this + 117));\n  ButtonSprite::updateBGImage(v4, \"GJ_button_04.png\");\n  v5 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 118) + 1072LL))(*((_QWORD *)this + 118));\n  ButtonSprite::updateBGImage(v5, \"GJ_button_04.png\");\n  EditorUI::updateDeleteMenu(this);\n  EditorUI::updateCreateMenu(this, 0);\n  EditorUI::updateEditMenu(this);\n  EditorUI::updateViewMenu(this);\n  EditorUI::updateGridNodeSize((cocos2d::CCArray **)this);\n  result = *((unsigned __int8 *)this + 1589);\n  if ( *((_BYTE *)this + 1589) )\n    return EditorUI::showUI((cocos2d::CCArray **)this, 0);\n  return result;\n}", "assembly": "; \n; EditorUI::resetUI from 0x7ce408 to 0x7ce4e4 (220 bytes)\n; \n; 3 xrefs:\n; > EditorUI::toggleMode @ 0x7ce528\n; > EditorUI::init @ 0x7cfedc\n; > <???> @ 0x96448\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:54:13 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x7ce408\nMOV             X29, SP                                                ; +0x4, 0x7ce40c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x7ce410\nMOV             X19, X0                                                ; +0xc, 0x7ce414\nADRP            X20, #aGjButton04Png@PAGE; \"GJ_button_04.png\"          ; +0x10, 0x7ce418\nLDR             X1, [X0,#0x398]                                        ; +0x14, 0x7ce41c\nADD             X20, X20, #aGjButton04Png@PAGEOFF; \"GJ_button_04.png\"  ; +0x18, 0x7ce420\nMOV             X0, X1                                                 ; +0x1c, 0x7ce424\nLDR             X1, [X1]                                               ; +0x20, 0x7ce428\nLDR             X1, [X1,#0x430]                                        ; +0x24, 0x7ce42c\nBLR             X1                                                     ; +0x28, 0x7ce430\nMOV             X1, X20; char *                                        ; +0x2c, 0x7ce434\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x30, 0x7ce438\nLDR             X1, [X19,#0x3A0]                                       ; +0x34, 0x7ce43c\nMOV             X0, X1                                                 ; +0x38, 0x7ce440\nLDR             X1, [X1]                                               ; +0x3c, 0x7ce444\nLDR             X1, [X1,#0x430]                                        ; +0x40, 0x7ce448\nBLR             X1                                                     ; +0x44, 0x7ce44c\nMOV             X1, X20; char *                                        ; +0x48, 0x7ce450\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x4c, 0x7ce454\nLDR             X1, [X19,#0x3A8]                                       ; +0x50, 0x7ce458\nMOV             X0, X1                                                 ; +0x54, 0x7ce45c\nLDR             X1, [X1]                                               ; +0x58, 0x7ce460\nLDR             X1, [X1,#0x430]                                        ; +0x5c, 0x7ce464\nBLR             X1                                                     ; +0x60, 0x7ce468\nMOV             X1, X20; char *                                        ; +0x64, 0x7ce46c\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x68, 0x7ce470\nLDR             X1, [X19,#0x3B0]                                       ; +0x6c, 0x7ce474\nMOV             X0, X1                                                 ; +0x70, 0x7ce478\nLDR             X1, [X1]                                               ; +0x74, 0x7ce47c\nLDR             X1, [X1,#0x430]                                        ; +0x78, 0x7ce480\nBLR             X1                                                     ; +0x7c, 0x7ce484\nMOV             X1, X20; char *                                        ; +0x80, 0x7ce488\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x84, 0x7ce48c\nMOV             X0, X19; this                                          ; +0x88, 0x7ce490\nBL              _ZN8EditorUI16updateDeleteMenuEv; EditorUI::updateDeleteMenu(void) ; +0x8c, 0x7ce494\nMOV             W1, #0; bool                                           ; +0x90, 0x7ce498\nMOV             X0, X19; this                                          ; +0x94, 0x7ce49c\nBL              _ZN8EditorUI16updateCreateMenuEb; EditorUI::updateCreateMenu(bool) ; +0x98, 0x7ce4a0\nMOV             X0, X19; this                                          ; +0x9c, 0x7ce4a4\nBL              _ZN8EditorUI14updateEditMenuEv; EditorUI::updateEditMenu(void) ; +0xa0, 0x7ce4a8\nMOV             X0, X19; this                                          ; +0xa4, 0x7ce4ac\nBL              _ZN8EditorUI14updateViewMenuEv; EditorUI::updateViewMenu(void) ; +0xa8, 0x7ce4b0\nMOV             X0, X19; this                                          ; +0xac, 0x7ce4b4\nBL              _ZN8EditorUI18updateGridNodeSizeEv; EditorUI::updateGridNodeSize(void) ; +0xb0, 0x7ce4b8\nLDRB            W0, [X19,#0x635]                                       ; +0xb4, 0x7ce4bc\nCBNZ            W0, loc_7CE4D0                                         ; +0xb8, 0x7ce4c0\nLDP             X19, X20, [SP,#var_s10]                                ; +0xbc, 0x7ce4c4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xc0, 0x7ce4c8\nRET                                                                    ; +0xc4, 0x7ce4cc\nMOV             X0, X19; this                                          ; +0xc8, 0x7ce4d0\nMOV             W1, #0; bool                                           ; +0xcc, 0x7ce4d4\nLDP             X19, X20, [SP,#var_s10]                                ; +0xd0, 0x7ce4d8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xd4, 0x7ce4dc\nB               _ZN8EditorUI6showUIEb; EditorUI::showUI(bool)          ; +0xd8, 0x7ce4e0", "xrefs": ["EditorUI::toggleMode @ 0x7ce528", "EditorUI::init @ 0x7cfedc", "<???> @ 0x96448"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}