; ; EditorUI::resetUI from 0x1401afc20 to 0x1401afd39 (281 bytes) ; ; 3 xrefs: ; > EditorUI::init @ 0x1401ab154 ; > EditorUI::toggleMode @ 0x1401afd77 ; > @ 0x140919e50 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:27:55 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1401afc20 push rdi ; +0x5, 0x1401afc25 sub rsp, 20h ; +0x6, 0x1401afc26 mov rbx, rcx ; +0xa, 0x1401afc2a mov rcx, [rcx+3C8h] ; +0xd, 0x1401afc2d mov rax, [rcx] ; +0x14, 0x1401afc34 call qword ptr [rax+3B8h] ; +0x17, 0x1401afc37 mov rcx, rax ; +0x1d, 0x1401afc3d lea rdx, aGjButton04Png; "GJ_button_04.png" ; +0x20, 0x1401afc40 call ButtonSprite__updateBGImage ; +0x27, 0x1401afc47 mov rcx, [rbx+3D0h] ; +0x2c, 0x1401afc4c mov rax, [rcx] ; +0x33, 0x1401afc53 call qword ptr [rax+3B8h] ; +0x36, 0x1401afc56 mov rcx, rax ; +0x3c, 0x1401afc5c lea rdx, aGjButton04Png; "GJ_button_04.png" ; +0x3f, 0x1401afc5f call ButtonSprite__updateBGImage ; +0x46, 0x1401afc66 mov rcx, [rbx+3D8h] ; +0x4b, 0x1401afc6b mov rax, [rcx] ; +0x52, 0x1401afc72 call qword ptr [rax+3B8h] ; +0x55, 0x1401afc75 mov rcx, rax ; +0x5b, 0x1401afc7b lea rdx, aGjButton04Png; "GJ_button_04.png" ; +0x5e, 0x1401afc7e call ButtonSprite__updateBGImage ; +0x65, 0x1401afc85 mov rcx, [rbx+3E0h] ; +0x6a, 0x1401afc8a mov rax, [rcx] ; +0x71, 0x1401afc91 call qword ptr [rax+3B8h] ; +0x74, 0x1401afc94 mov rcx, rax ; +0x7a, 0x1401afc9a lea rdx, aGjButton04Png; "GJ_button_04.png" ; +0x7d, 0x1401afc9d call ButtonSprite__updateBGImage ; +0x84, 0x1401afca4 cmp byte ptr [rbx+67Dh], 0 ; +0x89, 0x1401afca9 jnz short loc_1401AFCBF ; +0x90, 0x1401afcb0 cmp dword ptr [rbx+5E4h], 1 ; +0x92, 0x1401afcb2 jnz short loc_1401AFCBF ; +0x99, 0x1401afcb9 mov dl, 1 ; +0x9b, 0x1401afcbb jmp short loc_1401AFCC1 ; +0x9d, 0x1401afcbd xor edx, edx ; +0x9f, 0x1401afcbf mov rcx, [rbx+3B8h] ; +0xa1, 0x1401afcc1 mov rax, [rcx] ; +0xa8, 0x1401afcc8 call qword ptr [rax+150h] ; +0xab, 0x1401afccb mov rcx, rbx ; +0xb1, 0x1401afcd1 call EditorUI__updateDeleteButtons ; +0xb4, 0x1401afcd4 xor edx, edx ; +0xb9, 0x1401afcd9 mov rcx, rbx ; +0xbb, 0x1401afcdb call EditorUI__updateCreateMenu ; +0xbe, 0x1401afcde mov rcx, rbx ; +0xc3, 0x1401afce3 call EditorUI__updateEditMenu ; +0xc6, 0x1401afce6 cmp byte ptr [rbx+67Dh], 0 ; +0xcb, 0x1401afceb jnz short loc_1401AFD01 ; +0xd2, 0x1401afcf2 cmp dword ptr [rbx+5E4h], 4 ; +0xd4, 0x1401afcf4 jnz short loc_1401AFD01 ; +0xdb, 0x1401afcfb mov dl, 1 ; +0xdd, 0x1401afcfd jmp short loc_1401AFD03 ; +0xdf, 0x1401afcff xor edx, edx ; +0xe1, 0x1401afd01 mov rcx, [rbx+598h] ; +0xe3, 0x1401afd03 mov rax, [rcx] ; +0xea, 0x1401afd0a call qword ptr [rax+150h] ; +0xed, 0x1401afd0d mov rcx, rbx ; +0xf3, 0x1401afd13 call EditorUI__updateGridNodeSize_1 ; +0xf6, 0x1401afd16 cmp byte ptr [rbx+67Dh], 0 ; +0xfb, 0x1401afd1b jz short loc_1401AFD2E ; +0x102, 0x1401afd22 xor edx, edx ; +0x104, 0x1401afd24 mov rcx, rbx ; +0x106, 0x1401afd26 call EditorUI__showUI ; +0x109, 0x1401afd29 mov rbx, [rsp+28h+arg_0] ; +0x10e, 0x1401afd2e add rsp, 20h ; +0x113, 0x1401afd33 pop rdi ; +0x117, 0x1401afd37 retn ; +0x118, 0x1401afd38