; ; EditorSFXActionConfigLayer::onEditSound from 0x1008e0630 to 0x1008e06da (170 bytes) ; ; 1 xrefs: ; > EditorSFXActionConfigLayer::refreshRows @ 0x1008e02cd ; ; 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:37:45 +0000 ; push rbp ; +0x0, 0x1008e0630 mov rbp, rsp ; +0x1, 0x1008e0631 push r15 ; +0x4, 0x1008e0634 push r14 ; +0x6, 0x1008e0636 push rbx ; +0x8, 0x1008e0638 push rax ; +0x9, 0x1008e0639 mov r14, rdi ; +0xa, 0x1008e063a mov rax, [rsi] ; +0xd, 0x1008e063d mov rdi, rsi ; +0x10, 0x1008e0640 call qword ptr [rax+40h] ; +0x13, 0x1008e0643 mov r15d, eax ; +0x16, 0x1008e0646 lea eax, [r15-3E8h] ; +0x19, 0x1008e0649 lea ebx, [r15-3E1h] ; +0x20, 0x1008e0650 test eax, eax ; +0x27, 0x1008e0657 cmovns ebx, eax ; +0x29, 0x1008e0659 call EditorSFXManager__sharedState ; +0x2c, 0x1008e065c mov esi, [r14+400h] ; +0x31, 0x1008e0661 mov rdi, rax ; +0x38, 0x1008e0668 call EditorSFXManager__soundsForAction ; +0x3b, 0x1008e066b mov r14, rax ; +0x40, 0x1008e0670 test rax, rax ; +0x43, 0x1008e0673 setz al ; +0x46, 0x1008e0676 cmp r15d, 3E1h ; +0x49, 0x1008e0679 setl cl ; +0x50, 0x1008e0680 or cl, al ; +0x53, 0x1008e0683 jnz short loc_1008E06CF ; +0x55, 0x1008e0685 sar ebx, 3 ; +0x57, 0x1008e0687 mov rdi, r14 ; +0x5a, 0x1008e068a call sub_1007FEF90 ; +0x5d, 0x1008e068d cmp ebx, eax ; +0x62, 0x1008e0692 jge short loc_1008E06CF ; +0x64, 0x1008e0694 mov rdi, r14 ; +0x66, 0x1008e0696 mov esi, ebx ; +0x69, 0x1008e0699 call sub_1007FEFE0 ; +0x6b, 0x1008e069b test rax, rax ; +0x70, 0x1008e06a0 jz short loc_1008E06CF ; +0x73, 0x1008e06a3 mov rdi, rax ; +0x75, 0x1008e06a5 xor esi, esi ; +0x78, 0x1008e06a8 mov edx, 1 ; +0x7a, 0x1008e06aa call SetupSFXPopup__create ; +0x7f, 0x1008e06af test rax, rax ; +0x84, 0x1008e06b4 jz short loc_1008E06CF ; +0x87, 0x1008e06b7 mov rcx, [rax] ; +0x89, 0x1008e06b9 mov rdi, rax ; +0x8c, 0x1008e06bc add rsp, 8 ; +0x8f, 0x1008e06bf pop rbx ; +0x93, 0x1008e06c3 pop r14 ; +0x94, 0x1008e06c4 pop r15 ; +0x96, 0x1008e06c6 pop rbp ; +0x98, 0x1008e06c8 jmp qword ptr [rcx+520h] ; +0x99, 0x1008e06c9 add rsp, 8 ; +0x9f, 0x1008e06cf pop rbx ; +0xa3, 0x1008e06d3 pop r14 ; +0xa4, 0x1008e06d4 pop r15 ; +0xa6, 0x1008e06d6 pop rbp ; +0xa8, 0x1008e06d8 retn ; +0xa9, 0x1008e06d9