{"type": "func", "start": 5370477600, "end": 5370477881, "name": "EditorUI::resetUI", "pseudocode": "// \n// EditorUI::resetUI from 0x1401afc20 to 0x1401afd39 (281 bytes)\n// \n// 3 xrefs:\n// > EditorUI::init @ 0x1401ab154\n// > EditorUI::toggleMode @ 0x1401afd77\n// > <???> @ 0x140919e50\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:55 +0000\n// \n\n__int64 __fastcall EditorUI::resetUI(__int64 a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rax\n  __int64 v6; // rdx\n  __int64 v7; // rdx\n  __int64 result; // rax\n\n  v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 968) + 952LL))(*(_QWORD *)(a1 + 968));\n  ButtonSprite::updateBGImage(v2, \"GJ_button_04.png\");\n  v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 976) + 952LL))(*(_QWORD *)(a1 + 976));\n  ButtonSprite::updateBGImage(v3, \"GJ_button_04.png\");\n  v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 984) + 952LL))(*(_QWORD *)(a1 + 984));\n  ButtonSprite::updateBGImage(v4, \"GJ_button_04.png\");\n  v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 992) + 952LL))(*(_QWORD *)(a1 + 992));\n  ButtonSprite::updateBGImage(v5, \"GJ_button_04.png\");\n  if ( *(_BYTE *)(a1 + 1661) || *(_DWORD *)(a1 + 1508) != 1 )\n    v6 = 0;\n  else\n    LOBYTE(v6) = 1;\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 952) + 336LL))(*(_QWORD *)(a1 + 952), v6);\n  EditorUI::updateDeleteButtons(a1);\n  EditorUI::updateCreateMenu(a1, 0);\n  EditorUI::updateEditMenu(a1);\n  if ( *(_BYTE *)(a1 + 1661) || *(_DWORD *)(a1 + 1508) != 4 )\n    v7 = 0;\n  else\n    LOBYTE(v7) = 1;\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1432) + 336LL))(*(_QWORD *)(a1 + 1432), v7);\n  result = EditorUI::updateGridNodeSize_1(a1);\n  if ( *(_BYTE *)(a1 + 1661) )\n    return EditorUI::showUI(a1, 0);\n  return result;\n}", "assembly": "; \n; EditorUI::resetUI from 0x1401afc20 to 0x1401afd39 (281 bytes)\n; \n; 3 xrefs:\n; > EditorUI::init @ 0x1401ab154\n; > EditorUI::toggleMode @ 0x1401afd77\n; > <???> @ 0x140919e50\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:55 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401afc20\npush    rdi                                                            ; +0x5, 0x1401afc25\nsub     rsp, 20h                                                       ; +0x6, 0x1401afc26\nmov     rbx, rcx                                                       ; +0xa, 0x1401afc2a\nmov     rcx, [rcx+3C8h]                                                ; +0xd, 0x1401afc2d\nmov     rax, [rcx]                                                     ; +0x14, 0x1401afc34\ncall    qword ptr [rax+3B8h]                                           ; +0x17, 0x1401afc37\nmov     rcx, rax                                                       ; +0x1d, 0x1401afc3d\nlea     rdx, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x20, 0x1401afc40\ncall    ButtonSprite__updateBGImage                                    ; +0x27, 0x1401afc47\nmov     rcx, [rbx+3D0h]                                                ; +0x2c, 0x1401afc4c\nmov     rax, [rcx]                                                     ; +0x33, 0x1401afc53\ncall    qword ptr [rax+3B8h]                                           ; +0x36, 0x1401afc56\nmov     rcx, rax                                                       ; +0x3c, 0x1401afc5c\nlea     rdx, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x3f, 0x1401afc5f\ncall    ButtonSprite__updateBGImage                                    ; +0x46, 0x1401afc66\nmov     rcx, [rbx+3D8h]                                                ; +0x4b, 0x1401afc6b\nmov     rax, [rcx]                                                     ; +0x52, 0x1401afc72\ncall    qword ptr [rax+3B8h]                                           ; +0x55, 0x1401afc75\nmov     rcx, rax                                                       ; +0x5b, 0x1401afc7b\nlea     rdx, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x5e, 0x1401afc7e\ncall    ButtonSprite__updateBGImage                                    ; +0x65, 0x1401afc85\nmov     rcx, [rbx+3E0h]                                                ; +0x6a, 0x1401afc8a\nmov     rax, [rcx]                                                     ; +0x71, 0x1401afc91\ncall    qword ptr [rax+3B8h]                                           ; +0x74, 0x1401afc94\nmov     rcx, rax                                                       ; +0x7a, 0x1401afc9a\nlea     rdx, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x7d, 0x1401afc9d\ncall    ButtonSprite__updateBGImage                                    ; +0x84, 0x1401afca4\ncmp     byte ptr [rbx+67Dh], 0                                         ; +0x89, 0x1401afca9\njnz     short loc_1401AFCBF                                            ; +0x90, 0x1401afcb0\ncmp     dword ptr [rbx+5E4h], 1                                        ; +0x92, 0x1401afcb2\njnz     short loc_1401AFCBF                                            ; +0x99, 0x1401afcb9\nmov     dl, 1                                                          ; +0x9b, 0x1401afcbb\njmp     short loc_1401AFCC1                                            ; +0x9d, 0x1401afcbd\nxor     edx, edx                                                       ; +0x9f, 0x1401afcbf\nmov     rcx, [rbx+3B8h]                                                ; +0xa1, 0x1401afcc1\nmov     rax, [rcx]                                                     ; +0xa8, 0x1401afcc8\ncall    qword ptr [rax+150h]                                           ; +0xab, 0x1401afccb\nmov     rcx, rbx                                                       ; +0xb1, 0x1401afcd1\ncall    EditorUI__updateDeleteButtons                                  ; +0xb4, 0x1401afcd4\nxor     edx, edx                                                       ; +0xb9, 0x1401afcd9\nmov     rcx, rbx                                                       ; +0xbb, 0x1401afcdb\ncall    EditorUI__updateCreateMenu                                     ; +0xbe, 0x1401afcde\nmov     rcx, rbx                                                       ; +0xc3, 0x1401afce3\ncall    EditorUI__updateEditMenu                                       ; +0xc6, 0x1401afce6\ncmp     byte ptr [rbx+67Dh], 0                                         ; +0xcb, 0x1401afceb\njnz     short loc_1401AFD01                                            ; +0xd2, 0x1401afcf2\ncmp     dword ptr [rbx+5E4h], 4                                        ; +0xd4, 0x1401afcf4\njnz     short loc_1401AFD01                                            ; +0xdb, 0x1401afcfb\nmov     dl, 1                                                          ; +0xdd, 0x1401afcfd\njmp     short loc_1401AFD03                                            ; +0xdf, 0x1401afcff\nxor     edx, edx                                                       ; +0xe1, 0x1401afd01\nmov     rcx, [rbx+598h]                                                ; +0xe3, 0x1401afd03\nmov     rax, [rcx]                                                     ; +0xea, 0x1401afd0a\ncall    qword ptr [rax+150h]                                           ; +0xed, 0x1401afd0d\nmov     rcx, rbx                                                       ; +0xf3, 0x1401afd13\ncall    EditorUI__updateGridNodeSize_1                                 ; +0xf6, 0x1401afd16\ncmp     byte ptr [rbx+67Dh], 0                                         ; +0xfb, 0x1401afd1b\njz      short loc_1401AFD2E                                            ; +0x102, 0x1401afd22\nxor     edx, edx                                                       ; +0x104, 0x1401afd24\nmov     rcx, rbx                                                       ; +0x106, 0x1401afd26\ncall    EditorUI__showUI                                               ; +0x109, 0x1401afd29\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x10e, 0x1401afd2e\nadd     rsp, 20h                                                       ; +0x113, 0x1401afd33\npop     rdi                                                            ; +0x117, 0x1401afd37\nretn                                                                   ; +0x118, 0x1401afd38", "xrefs": ["EditorUI::init @ 0x1401ab154", "EditorUI::toggleMode @ 0x1401afd77", "<???> @ 0x140919e50"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}