; ; AudioEffectsLayer::audioStep from 0x1004a8b30 to 0x1004a8bf8 (200 bytes) ; ; 1 xrefs: ; > PlayLayer::postUpdate @ 0x100088b78 ; ; 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:30:55 +0000 ; push rbp ; +0x0, 0x1004a8b30 mov rbp, rsp ; +0x1, 0x1004a8b31 push rbx ; +0x4, 0x1004a8b34 push rax ; +0x5, 0x1004a8b35 mov rbx, rdi ; +0x6, 0x1004a8b36 addss xmm0, dword ptr [rdi+238h] ; +0x9, 0x1004a8b39 movss dword ptr [rdi+238h], xmm0 ; +0x11, 0x1004a8b41 mov rdi, [rdi+230h] ; +0x19, 0x1004a8b49 test rdi, rdi ; +0x20, 0x1004a8b50 jz loc_1004A8BDE ; +0x23, 0x1004a8b53 call sub_1007FEF90 ; +0x29, 0x1004a8b59 test eax, eax ; +0x2e, 0x1004a8b5e jz short loc_1004A8BDE ; +0x30, 0x1004a8b60 mov rdi, [rbx+230h] ; +0x32, 0x1004a8b62 xor esi, esi ; +0x39, 0x1004a8b69 call sub_1007FEFE0 ; +0x3b, 0x1004a8b6b mov rdi, rax ; +0x40, 0x1004a8b70 call cocos2d__CCString__floatValue ; +0x43, 0x1004a8b73 movss xmm1, dword ptr [rbx+238h] ; +0x48, 0x1004a8b78 ucomiss xmm1, xmm0 ; +0x50, 0x1004a8b80 jbe short loc_1004A8BDE ; +0x53, 0x1004a8b83 mov rdi, [rbx+230h] ; +0x55, 0x1004a8b85 mov esi, 1 ; +0x5c, 0x1004a8b8c call sub_1007FEFE0 ; +0x61, 0x1004a8b91 mov rdi, rax ; +0x66, 0x1004a8b96 call cocos2d__CCString__floatValue ; +0x69, 0x1004a8b99 movss [rbp+var_C], xmm0 ; +0x6e, 0x1004a8b9e mov rdi, [rbx+230h] ; +0x73, 0x1004a8ba3 xor esi, esi ; +0x7a, 0x1004a8baa mov edx, 1 ; +0x7c, 0x1004a8bac call sub_1007FF150 ; +0x81, 0x1004a8bb1 mov rdi, [rbx+230h] ; +0x86, 0x1004a8bb6 xor esi, esi ; +0x8d, 0x1004a8bbd mov edx, 1 ; +0x8f, 0x1004a8bbf call sub_1007FF150 ; +0x94, 0x1004a8bc4 call GameManager__sharedState ; +0x99, 0x1004a8bc9 mov rax, [rax+220h] ; +0x9e, 0x1004a8bce cmp byte ptr [rax+3100h], 0 ; +0xa5, 0x1004a8bd5 jz short loc_1004A8BE5 ; +0xac, 0x1004a8bdc add rsp, 8 ; +0xae, 0x1004a8bde pop rbx ; +0xb2, 0x1004a8be2 pop rbp ; +0xb3, 0x1004a8be3 retn ; +0xb4, 0x1004a8be4 mov rdi, rbx ; +0xb5, 0x1004a8be5 movss xmm0, [rbp+var_C] ; +0xb8, 0x1004a8be8 add rsp, 8 ; +0xbd, 0x1004a8bed pop rbx ; +0xc1, 0x1004a8bf1 pop rbp ; +0xc2, 0x1004a8bf2 jmp AudioEffectsLayer__triggerEffect ; +0xc3, 0x1004a8bf3