; ; AudioEffectsLayer::create from 0x1004a8430 to 0x1004a8555 (293 bytes) ; ; 1 xrefs: ; > PlayLayer::setupHasCompleted @ 0x10007b6a9 ; ; 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, 0x1004a8430 mov rbp, rsp ; +0x1, 0x1004a8431 push r14 ; +0x4, 0x1004a8434 push rbx ; +0x6, 0x1004a8436 sub rsp, 20h ; +0x7, 0x1004a8437 mov r14, rdi ; +0xb, 0x1004a843b mov edi, 250h; __sz ; +0xe, 0x1004a843e call __Znwm; operator new(ulong) ; +0x13, 0x1004a8443 mov rbx, rax ; +0x18, 0x1004a8448 mov rdi, rax ; +0x1b, 0x1004a844b call cocos2d__CCLayerColor__CCLayerColor ; +0x1e, 0x1004a844e lea rax, off_100B533B0 ; +0x23, 0x1004a8453 mov [rbx], rax ; +0x2a, 0x1004a845a lea rax, off_100B538D8 ; +0x2d, 0x1004a845d mov [rbx+140h], rax ; +0x34, 0x1004a8464 lea rax, off_100B53948 ; +0x3b, 0x1004a846b mov [rbx+148h], rax ; +0x42, 0x1004a8472 lea rax, off_100B53960 ; +0x49, 0x1004a8479 mov [rbx+150h], rax ; +0x50, 0x1004a8480 lea rax, off_100B53980 ; +0x57, 0x1004a8487 mov [rbx+158h], rax ; +0x5e, 0x1004a848e lea rax, off_100B539A8 ; +0x65, 0x1004a8495 mov [rbx+160h], rax ; +0x6c, 0x1004a849c lea rax, off_100B539D8 ; +0x73, 0x1004a84a3 mov [rbx+198h], rax ; +0x7a, 0x1004a84aa lea rax, off_100B53A58 ; +0x81, 0x1004a84b1 mov [rbx+1B0h], rax ; +0x88, 0x1004a84b8 mov dword ptr [rbx+244h], 0 ; +0x8f, 0x1004a84bf mov byte ptr [rbx+248h], 0 ; +0x99, 0x1004a84c9 xorps xmm0, xmm0 ; +0xa0, 0x1004a84d0 movups xmmword ptr [rbx+220h], xmm0 ; +0xa3, 0x1004a84d3 movups xmmword ptr [rbx+230h], xmm0 ; +0xaa, 0x1004a84da mov byte ptr [rbx+240h], 0 ; +0xb1, 0x1004a84e1 test byte ptr [r14], 1 ; +0xb8, 0x1004a84e8 jnz short loc_1004A8500 ; +0xbc, 0x1004a84ec mov rax, [r14+10h] ; +0xbe, 0x1004a84ee mov [rbp+__p], rax ; +0xc2, 0x1004a84f2 movups xmm0, xmmword ptr [r14] ; +0xc6, 0x1004a84f6 movaps [rbp+var_30], xmm0 ; +0xca, 0x1004a84fa jmp short loc_1004A8511 ; +0xce, 0x1004a84fe mov rdx, [r14+8] ; +0xd0, 0x1004a8500 mov rsi, [r14+10h] ; +0xd4, 0x1004a8504 lea rdi, [rbp+var_30] ; +0xd8, 0x1004a8508 call sub_10001AD30 ; +0xdc, 0x1004a850c lea rsi, [rbp+var_30] ; +0xe1, 0x1004a8511 mov rdi, rbx ; +0xe5, 0x1004a8515 call AudioEffectsLayer__init ; +0xe8, 0x1004a8518 mov r14d, eax ; +0xed, 0x1004a851d test byte ptr [rbp+var_30], 1 ; +0xf0, 0x1004a8520 jz short loc_1004A852F ; +0xf4, 0x1004a8524 mov rdi, [rbp+__p]; __p ; +0xf6, 0x1004a8526 call __ZdlPv; operator delete(void *) ; +0xfa, 0x1004a852a test r14b, r14b ; +0xff, 0x1004a852f jz short loc_1004A853E ; +0x102, 0x1004a8532 mov rdi, rbx ; +0x104, 0x1004a8534 call cocos2d__CCObject__autorelease ; +0x107, 0x1004a8537 jmp short loc_1004A8549 ; +0x10c, 0x1004a853c mov rax, [rbx] ; +0x10e, 0x1004a853e mov rdi, rbx ; +0x111, 0x1004a8541 call qword ptr [rax+10h] ; +0x114, 0x1004a8544 xor ebx, ebx ; +0x117, 0x1004a8547 mov rax, rbx ; +0x119, 0x1004a8549 add rsp, 20h ; +0x11c, 0x1004a854c pop rbx ; +0x120, 0x1004a8550 pop r14 ; +0x121, 0x1004a8551 pop rbp ; +0x123, 0x1004a8553 retn ; +0x124, 0x1004a8554