{"type": "func", "start": 4758652, "end": 4758784, "name": "EditorUI::resetUI", "pseudocode": "// \n// EditorUI::resetUI from 0x489c7c to 0x489d00 (132 bytes)\n// \n// 2 xrefs:\n// > EditorUI::toggleMode @ 0x489d22\n// > EditorUI::init @ 0x48b182\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:28 +0000\n// \n\nint __fastcall EditorUI::resetUI(EditorUI *this)\n{\n  char *v2; // r0\n  char *v3; // r0\n  char *v4; // r0\n  char *v5; // r0\n  int result; // r0\n\n  v2 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 170) + 536))(*((_DWORD *)this + 170));\n  ButtonSprite::updateBGImage(v2, \"GJ_button_04.png\");\n  v3 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 171) + 536))(*((_DWORD *)this + 171));\n  ButtonSprite::updateBGImage(v3, \"GJ_button_04.png\");\n  v4 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 172) + 536))(*((_DWORD *)this + 172));\n  ButtonSprite::updateBGImage(v4, \"GJ_button_04.png\");\n  v5 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 173) + 536))(*((_DWORD *)this + 173));\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  result = EditorUI::updateGridNodeSize((cocos2d::CCArray **)this);\n  if ( *((_BYTE *)this + 1053) )\n    return EditorUI::showUI((cocos2d::CCArray **)this, 0);\n  return result;\n}", "assembly": "; \n; EditorUI::resetUI from 0x489c7c to 0x489d00 (132 bytes)\n; \n; 2 xrefs:\n; > EditorUI::toggleMode @ 0x489d22\n; > EditorUI::init @ 0x48b182\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:28 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x489c7c\nMOV             R4, R0                                                 ; +0x2, 0x489c7e\nLDR.W           R0, [R0,#0x2A8]                                        ; +0x4, 0x489c80\nLDR             R5, =(aGjButton04Png - 0x489C8C); \"GJ_button_04.png\"   ; +0x8, 0x489c84\nLDR             R3, [R0]                                               ; +0xa, 0x489c86\nADD             R5, PC; \"GJ_button_04.png\"                             ; +0xc, 0x489c88\nLDR.W           R3, [R3,#0x218]                                        ; +0xe, 0x489c8a\nBLX             R3                                                     ; +0x12, 0x489c8e\nMOV             R1, R5; char *                                         ; +0x14, 0x489c90\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x16, 0x489c92\nLDR.W           R0, [R4,#0x2AC]                                        ; +0x1a, 0x489c96\nLDR             R3, [R0]                                               ; +0x1e, 0x489c9a\nLDR.W           R3, [R3,#0x218]                                        ; +0x20, 0x489c9c\nBLX             R3                                                     ; +0x24, 0x489ca0\nMOV             R1, R5; char *                                         ; +0x26, 0x489ca2\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x28, 0x489ca4\nLDR.W           R0, [R4,#0x2B0]                                        ; +0x2c, 0x489ca8\nLDR             R3, [R0]                                               ; +0x30, 0x489cac\nLDR.W           R3, [R3,#0x218]                                        ; +0x32, 0x489cae\nBLX             R3                                                     ; +0x36, 0x489cb2\nMOV             R1, R5; char *                                         ; +0x38, 0x489cb4\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x3a, 0x489cb6\nLDR.W           R0, [R4,#0x2B4]                                        ; +0x3e, 0x489cba\nLDR             R3, [R0]                                               ; +0x42, 0x489cbe\nLDR.W           R3, [R3,#0x218]                                        ; +0x44, 0x489cc0\nBLX             R3                                                     ; +0x48, 0x489cc4\nMOV             R1, R5; char *                                         ; +0x4a, 0x489cc6\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x4c, 0x489cc8\nMOV             R0, R4; this                                           ; +0x50, 0x489ccc\nBL              _ZN8EditorUI16updateDeleteMenuEv; EditorUI::updateDeleteMenu(void) ; +0x52, 0x489cce\nMOVS            R1, #0; bool                                           ; +0x56, 0x489cd2\nMOV             R0, R4; this                                           ; +0x58, 0x489cd4\nBL              _ZN8EditorUI16updateCreateMenuEb; EditorUI::updateCreateMenu(bool) ; +0x5a, 0x489cd6\nMOV             R0, R4; this                                           ; +0x5e, 0x489cda\nBL              _ZN8EditorUI14updateEditMenuEv; EditorUI::updateEditMenu(void) ; +0x60, 0x489cdc\nMOV             R0, R4; this                                           ; +0x64, 0x489ce0\nBL              _ZN8EditorUI14updateViewMenuEv; EditorUI::updateViewMenu(void) ; +0x66, 0x489ce2\nMOV             R0, R4; this                                           ; +0x6a, 0x489ce6\nBL              _ZN8EditorUI18updateGridNodeSizeEv; EditorUI::updateGridNodeSize(void) ; +0x6c, 0x489ce8\nLDRB.W          R3, [R4,#0x41D]                                        ; +0x70, 0x489cec\nCBZ             R3, locret_489CFE                                      ; +0x74, 0x489cf0\nMOV             R0, R4; this                                           ; +0x76, 0x489cf2\nMOVS            R1, #0; bool                                           ; +0x78, 0x489cf4\nPOP.W           {R3-R5,LR}                                             ; +0x7a, 0x489cf6\nB.W             _ZN8EditorUI6showUIEb; EditorUI::showUI(bool)          ; +0x7e, 0x489cfa\nPOP             {R3-R5,PC}                                             ; +0x82, 0x489cfe", "xrefs": ["EditorUI::toggleMode @ 0x489d22", "EditorUI::init @ 0x48b182"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}