; ; FMODAudioEngine::unloadAllEffects from 0x1400627b0 to 0x14006292b (379 bytes) ; ; 6 xrefs: ; > EditorPauseLayer::playStep2 @ 0x14018267e ; > EditorPauseLayer::onExitEditor @ 0x140182bf2 ; > PlayLayer::onQuit @ 0x14051b293 ; > @ 0x1408882f0 ; > @ 0x140888300 ; > @ 0x140910bbc ; ; 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:25:44 +0000 ; push rbx ; +0x0, 0x1400627b0 push rsi ; +0x2, 0x1400627b2 sub rsp, 28h ; +0x3, 0x1400627b3 mov rsi, rcx ; +0x7, 0x1400627b7 call FMODAudioEngine__stopAllEffects ; +0xa, 0x1400627ba mov rax, [rsi+188h] ; +0xf, 0x1400627bf mov rbx, [rax] ; +0x16, 0x1400627c6 cmp rbx, rax ; +0x19, 0x1400627c9 jz loc_14006291A ; +0x1c, 0x1400627cc mov [rsp+38h+arg_0], rbp ; +0x22, 0x1400627d2 mov rbp, 100000001B3h ; +0x27, 0x1400627d7 mov [rsp+38h+var_18], r15 ; +0x31, 0x1400627e1 mov r15, 0CBF29CE484222325h ; +0x36, 0x1400627e6 mov [rsp+38h+arg_8], rdi ; +0x40, 0x1400627f0 mov [rsp+38h+arg_10], r14 ; +0x45, 0x1400627f5 nop word ptr [rax+rax+00h] ; +0x4a, 0x1400627fa cmp byte ptr [rbx+64h], 0 ; +0x50, 0x140062800 jnz loc_1400628F6 ; +0x54, 0x140062804 lea rcx, [rsi+610h] ; +0x5a, 0x14006280a mov rdx, [rcx+8] ; +0x61, 0x140062811 lea r8, [rbx+30h] ; +0x65, 0x140062815 cmp rdx, [rcx+10h] ; +0x69, 0x140062819 jz short loc_14006282C ; +0x6d, 0x14006281d mov rax, [r8] ; +0x6f, 0x14006281f mov [rdx], rax ; +0x72, 0x140062822 add qword ptr [rcx+8], 8 ; +0x75, 0x140062825 jmp short loc_140062831 ; +0x7a, 0x14006282a call sub_1400699B0 ; +0x7c, 0x14006282c lea rcx, [rsi+1C0h] ; +0x81, 0x140062831 lea rdx, [rbx+10h] ; +0x88, 0x140062838 call sub_140066C60 ; +0x8c, 0x14006283c cmp qword ptr [rbx+28h], 0Fh ; +0x91, 0x140062841 lea r8, [rbx+10h] ; +0x96, 0x140062846 jbe short loc_140062850 ; +0x9a, 0x14006284a mov r8, [rbx+10h] ; +0x9c, 0x14006284c mov r9, [rbx+20h] ; +0xa0, 0x140062850 xor eax, eax ; +0xa4, 0x140062854 mov rdx, r15 ; +0xa6, 0x140062856 test r9, r9 ; +0xa9, 0x140062859 jz short loc_140062874 ; +0xac, 0x14006285c xchg ax, ax ; +0xae, 0x14006285e movzx ecx, byte ptr [r8+rax] ; +0xb0, 0x140062860 inc rax ; +0xb5, 0x140062865 xor rdx, rcx ; +0xb8, 0x140062868 imul rdx, rbp ; +0xbb, 0x14006286b cmp rax, r9 ; +0xbf, 0x14006286f jb short loc_140062860 ; +0xc2, 0x140062872 and rdx, [rsi+1B0h] ; +0xc4, 0x140062874 shl rdx, 4 ; +0xcb, 0x14006287b add rdx, [rsi+198h] ; +0xcf, 0x14006287f mov rax, [rdx] ; +0xd6, 0x140062886 cmp [rdx+8], rbx ; +0xd9, 0x140062889 jnz short loc_1400628AE ; +0xdd, 0x14006288d cmp rax, rbx ; +0xdf, 0x14006288f jnz short loc_1400628A4 ; +0xe2, 0x140062892 mov rax, [rsi+188h] ; +0xe4, 0x140062894 mov [rdx], rax ; +0xeb, 0x14006289b mov [rdx+8], rax ; +0xee, 0x14006289e jmp short loc_1400628B9 ; +0xf2, 0x1400628a2 mov rax, [rbx+8] ; +0xf4, 0x1400628a4 mov [rdx+8], rax ; +0xf8, 0x1400628a8 jmp short loc_1400628B9 ; +0xfc, 0x1400628ac cmp rax, rbx ; +0xfe, 0x1400628ae jnz short loc_1400628B9 ; +0x101, 0x1400628b1 mov rax, [rbx] ; +0x103, 0x1400628b3 mov [rdx], rax ; +0x106, 0x1400628b6 mov rdi, [rbx] ; +0x109, 0x1400628b9 lea rcx, [rbx+38h] ; +0x10c, 0x1400628bc dec qword ptr [rsi+190h] ; +0x110, 0x1400628c0 mov rax, [rbx+8] ; +0x117, 0x1400628c7 mov [rax], rdi ; +0x11b, 0x1400628cb mov rax, [rbx+8] ; +0x11e, 0x1400628ce mov [rdi+8], rax ; +0x122, 0x1400628d2 call sub_14003D310 ; +0x126, 0x1400628d6 lea rcx, [rbx+10h] ; +0x12b, 0x1400628db call sub_14003D310 ; +0x12f, 0x1400628df mov edx, 68h ; 'h' ; +0x134, 0x1400628e4 mov rcx, rbx; Block ; +0x139, 0x1400628e9 call j_j_free ; +0x13c, 0x1400628ec mov rbx, rdi ; +0x141, 0x1400628f1 jmp short loc_1400628F9 ; +0x144, 0x1400628f4 mov rbx, [rbx] ; +0x146, 0x1400628f6 cmp rbx, [rsi+188h] ; +0x149, 0x1400628f9 jnz loc_140062800 ; +0x150, 0x140062900 mov r15, [rsp+38h+var_18] ; +0x156, 0x140062906 mov r14, [rsp+38h+arg_10] ; +0x15b, 0x14006290b mov rdi, [rsp+38h+arg_8] ; +0x160, 0x140062910 mov rbp, [rsp+38h+arg_0] ; +0x165, 0x140062915 mov cs:dword_14090BF4C, 0 ; +0x16a, 0x14006291a add rsp, 28h ; +0x174, 0x140062924 pop rsi ; +0x178, 0x140062928 pop rbx ; +0x179, 0x140062929 retn ; +0x17a, 0x14006292a