; ; EditorUI::updateViewButtons from 0x1401f80f0 to 0x1401f81a9 (185 bytes) ; ; 5 xrefs: ; > EditorUI::setupViewMenu @ 0x1401f7f34 ; > EditorUI::toggleViewOption @ 0x1401f8878 ; > @ 0x1408a3718 ; > @ 0x1408a3728 ; > @ 0x14091aae0 ; ; 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:28:10 +0000 ; mov [rsp+arg_18], rbp ; +0x0, 0x1401f80f0 push rsi ; +0x5, 0x1401f80f5 sub rsp, 20h ; +0x6, 0x1401f80f6 mov rsi, [rcx+590h] ; +0xa, 0x1401f80fa mov rbp, rcx ; +0x11, 0x1401f8101 test rsi, rsi ; +0x14, 0x1401f8104 jz loc_1401F819E ; +0x17, 0x1401f8107 mov rsi, [rsi+38h] ; +0x1d, 0x1401f810d test rsi, rsi ; +0x21, 0x1401f8111 jz loc_1401F819E ; +0x24, 0x1401f8114 mov [rsp+28h+arg_0], rbx ; +0x2a, 0x1401f811a mov rbx, [rsi+120h] ; +0x2f, 0x1401f811f mov [rsp+28h+arg_8], rdi ; +0x36, 0x1401f8126 mov [rsp+28h+arg_10], r14 ; +0x3b, 0x1401f812b lea r14, aGjButton03Png; "GJ_button_03.png" ; +0x40, 0x1401f8130 nop word ptr [rax+rax+00000000h] ; +0x47, 0x1401f8137 mov rsi, [rsi+108h] ; +0x50, 0x1401f8140 mov rcx, rsi ; +0x57, 0x1401f8147 mov rax, [rsi] ; +0x5a, 0x1401f814a call qword ptr [rax+38h] ; +0x5d, 0x1401f814d mov edx, eax ; +0x60, 0x1401f8150 mov rcx, rbp ; +0x62, 0x1401f8152 call EditorUI__getViewButtonState ; +0x65, 0x1401f8155 test al, al ; +0x6a, 0x1401f815a lea rdi, aGjButton04Png; "GJ_button_04.png" ; +0x6c, 0x1401f815c mov rax, [rsi] ; +0x73, 0x1401f8163 mov rcx, rsi ; +0x76, 0x1401f8166 cmovnz rdi, r14 ; +0x79, 0x1401f8169 call qword ptr [rax+3B8h] ; +0x7d, 0x1401f816d mov rcx, rax ; +0x83, 0x1401f8173 mov rdx, rdi ; +0x86, 0x1401f8176 call ButtonSprite__updateBGImage ; +0x89, 0x1401f8179 mov rsi, rbx ; +0x8e, 0x1401f817e test rbx, rbx ; +0x91, 0x1401f8181 jz short loc_1401F818F ; +0x94, 0x1401f8184 mov rbx, [rbx+120h] ; +0x96, 0x1401f8186 jmp short loc_1401F8140 ; +0x9d, 0x1401f818d mov rdi, [rsp+28h+arg_8] ; +0x9f, 0x1401f818f mov rbx, [rsp+28h+arg_0] ; +0xa4, 0x1401f8194 mov r14, [rsp+28h+arg_10] ; +0xa9, 0x1401f8199 mov rbp, [rsp+28h+arg_18] ; +0xae, 0x1401f819e add rsp, 20h ; +0xb3, 0x1401f81a3 pop rsi ; +0xb7, 0x1401f81a7 retn ; +0xb8, 0x1401f81a8