; ; EditorSFXActionConfigLayer::refreshModeButtons from 0x140184830 to 0x1401848b6 (134 bytes) ; ; 2 xrefs: ; > EditorSFXActionConfigLayer::onToggleMode @ 0x140184947 ; > @ 0x140918d04 ; ; 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:38 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140184830 push rdi ; +0x5, 0x140184835 sub rsp, 20h ; +0x6, 0x140184836 mov ebx, [rcx+3F0h] ; +0xa, 0x14018483a mov rdi, rcx ; +0x10, 0x140184840 call EditorSFXManager__sharedState ; +0x13, 0x140184843 mov edx, ebx ; +0x18, 0x140184848 mov rcx, rax ; +0x1a, 0x14018484a call EditorSFXManager__findBinding ; +0x1d, 0x14018484d test rax, rax ; +0x22, 0x140184852 jz short loc_14018485C ; +0x25, 0x140184855 mov ecx, [rax+8] ; +0x27, 0x140184857 jmp short loc_140184861 ; +0x2a, 0x14018485a mov ecx, 1 ; +0x2c, 0x14018485c mov rax, [rdi+3F8h] ; +0x31, 0x140184861 test rax, rax ; +0x38, 0x140184868 jz short loc_1401848AB ; +0x3b, 0x14018486b test ecx, ecx ; +0x3d, 0x14018486d lea r8, aGjButton02Png; "GJ_button_02.png" ; +0x3f, 0x14018486f lea rdx, aGjButton04Png; "GJ_button_04.png" ; +0x46, 0x140184876 mov rcx, rax ; +0x4d, 0x14018487d cmovz rdx, r8 ; +0x50, 0x140184880 call ButtonSprite__updateBGImage ; +0x54, 0x140184884 mov rax, [rdi+3F8h] ; +0x59, 0x140184889 xorps xmm1, xmm1 ; +0x60, 0x140184890 movss xmm2, cs:dword_140835CA0 ; +0x63, 0x140184893 mov rcx, [rax+280h] ; +0x6b, 0x14018489b mov rax, [rcx] ; +0x72, 0x1401848a2 call qword ptr [rax+0F0h] ; +0x75, 0x1401848a5 mov rbx, [rsp+28h+arg_0] ; +0x7b, 0x1401848ab add rsp, 20h ; +0x80, 0x1401848b0 pop rdi ; +0x84, 0x1401848b4 retn ; +0x85, 0x1401848b5