; ; EditorUI::toggleMode from 0x100007da0 to 0x100007e45 (165 bytes) ; ; 7 xrefs: ; > EditorUI::init @ 0x10000677c ; > EditorUI::onPlaytest @ 0x1000087f7 ; > EditorUI::handleEditorAction @ 0x10060c5d7 ; > EditorUI::init @ 0x1000057f5 ; > EditorUI::init @ 0x100005888 ; > EditorUI::init @ 0x100005914 ; > EditorUI::init @ 0x1000059a0 ; ; 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 12:18:48 +0000 ; push rbp ; +0x0, 0x100007da0 mov rbp, rsp ; +0x1, 0x100007da1 push r15 ; +0x4, 0x100007da4 push r14 ; +0x6, 0x100007da6 push rbx ; +0x8, 0x100007da8 push rax ; +0x9, 0x100007da9 mov rbx, rdi ; +0xa, 0x100007daa mov rax, [rsi] ; +0xd, 0x100007dad mov rdi, rsi ; +0x10, 0x100007db0 call qword ptr [rax+40h] ; +0x13, 0x100007db3 cmp [rbx+59Ch], eax ; +0x16, 0x100007db6 jz short loc_100007E3A ; +0x1c, 0x100007dbc mov r14d, eax ; +0x1e, 0x100007dbe mov [rbx+59Ch], eax ; +0x21, 0x100007dc1 mov rdi, rbx ; +0x27, 0x100007dc7 call EditorUI__resetUI ; +0x2a, 0x100007dca dec r14d ; +0x2f, 0x100007dcf mov r15d, 0A9h ; +0x32, 0x100007dd2 cmp r14d, 3 ; +0x38, 0x100007dd8 ja short loc_100007DEC ; +0x3c, 0x100007ddc mov eax, r14d ; +0x3e, 0x100007dde lea rcx, dword_100A038C0 ; +0x41, 0x100007de1 mov r15d, [rcx+rax*4] ; +0x48, 0x100007de8 call EditorSFXManager__sharedState ; +0x4c, 0x100007dec mov rdi, rax ; +0x51, 0x100007df1 mov esi, r15d ; +0x54, 0x100007df4 mov edx, 0A9h ; +0x57, 0x100007df7 call EditorSFXManager__playAction ; +0x5c, 0x100007dfc mov eax, [rbx+59Ch] ; +0x61, 0x100007e01 dec eax ; +0x67, 0x100007e07 cmp eax, 3 ; +0x69, 0x100007e09 ja short loc_100007E3A ; +0x6c, 0x100007e0c mov eax, eax ; +0x6e, 0x100007e0e mov rdi, [rbx+rax*8+398h] ; +0x70, 0x100007e10 mov rax, [rdi] ; +0x78, 0x100007e18 call qword ptr [rax+430h] ; +0x7b, 0x100007e1b lea rsi, aGjButton02Png; "GJ_button_02.png" ; +0x81, 0x100007e21 mov rdi, rax ; +0x88, 0x100007e28 add rsp, 8 ; +0x8b, 0x100007e2b pop rbx ; +0x8f, 0x100007e2f pop r14 ; +0x90, 0x100007e30 pop r15 ; +0x92, 0x100007e32 pop rbp ; +0x94, 0x100007e34 jmp ButtonSprite__updateBGImage ; +0x95, 0x100007e35 add rsp, 8 ; +0x9a, 0x100007e3a pop rbx ; +0x9e, 0x100007e3e pop r14 ; +0x9f, 0x100007e3f pop r15 ; +0xa1, 0x100007e41 pop rbp ; +0xa3, 0x100007e43 retn ; +0xa4, 0x100007e44