; ; AudioEffectsLayer::create from 0x1004af250 to 0x1004af375 (293 bytes) ; ; 1 xrefs: ; > PlayLayer::setupHasCompleted @ 0x1000ae0f8 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbp ; +0x0, 0x1004af250 mov rbp, rsp ; +0x1, 0x1004af251 push r14 ; +0x4, 0x1004af254 push rbx ; +0x6, 0x1004af256 sub rsp, 20h ; +0x7, 0x1004af257 mov r14, rdi ; +0xb, 0x1004af25b mov edi, 250h; __sz ; +0xe, 0x1004af25e call __Znwm; operator new(ulong) ; +0x13, 0x1004af263 mov rbx, rax ; +0x18, 0x1004af268 mov rdi, rax ; +0x1b, 0x1004af26b call cocos2d__CCLayerColor__CCLayerColor ; +0x1e, 0x1004af26e lea rax, off_100948560 ; +0x23, 0x1004af273 mov [rbx], rax ; +0x2a, 0x1004af27a lea rax, off_100948A78 ; +0x2d, 0x1004af27d mov [rbx+140h], rax ; +0x34, 0x1004af284 lea rax, off_100948AE8 ; +0x3b, 0x1004af28b mov [rbx+148h], rax ; +0x42, 0x1004af292 lea rax, off_100948B00 ; +0x49, 0x1004af299 mov [rbx+150h], rax ; +0x50, 0x1004af2a0 lea rax, off_100948B20 ; +0x57, 0x1004af2a7 mov [rbx+158h], rax ; +0x5e, 0x1004af2ae lea rax, off_100948B40 ; +0x65, 0x1004af2b5 mov [rbx+160h], rax ; +0x6c, 0x1004af2bc lea rax, off_100948B68 ; +0x73, 0x1004af2c3 mov [rbx+198h], rax ; +0x7a, 0x1004af2ca lea rax, off_100948BE8 ; +0x81, 0x1004af2d1 mov [rbx+1B0h], rax ; +0x88, 0x1004af2d8 mov dword ptr [rbx+244h], 0 ; +0x8f, 0x1004af2df mov byte ptr [rbx+248h], 0 ; +0x99, 0x1004af2e9 xorps xmm0, xmm0 ; +0xa0, 0x1004af2f0 movups xmmword ptr [rbx+220h], xmm0 ; +0xa3, 0x1004af2f3 movups xmmword ptr [rbx+230h], xmm0 ; +0xaa, 0x1004af2fa mov byte ptr [rbx+240h], 0 ; +0xb1, 0x1004af301 test byte ptr [r14], 1 ; +0xb8, 0x1004af308 jnz short loc_1004AF320 ; +0xbc, 0x1004af30c mov rax, [r14+10h] ; +0xbe, 0x1004af30e mov [rbp+__p], rax ; +0xc2, 0x1004af312 movups xmm0, xmmword ptr [r14] ; +0xc6, 0x1004af316 movaps [rbp+var_30], xmm0 ; +0xca, 0x1004af31a jmp short loc_1004AF331 ; +0xce, 0x1004af31e mov rdx, [r14+8] ; +0xd0, 0x1004af320 mov rsi, [r14+10h] ; +0xd4, 0x1004af324 lea rdi, [rbp+var_30] ; +0xd8, 0x1004af328 call sub_100006B70 ; +0xdc, 0x1004af32c lea rsi, [rbp+var_30] ; +0xe1, 0x1004af331 mov rdi, rbx ; +0xe5, 0x1004af335 call AudioEffectsLayer__init ; +0xe8, 0x1004af338 mov r14d, eax ; +0xed, 0x1004af33d test byte ptr [rbp+var_30], 1 ; +0xf0, 0x1004af340 jz short loc_1004AF34F ; +0xf4, 0x1004af344 mov rdi, [rbp+__p]; __p ; +0xf6, 0x1004af346 call __ZdlPv; operator delete(void *) ; +0xfa, 0x1004af34a test r14b, r14b ; +0xff, 0x1004af34f jz short loc_1004AF35E ; +0x102, 0x1004af352 mov rdi, rbx ; +0x104, 0x1004af354 call cocos2d__CCObject__autorelease ; +0x107, 0x1004af357 jmp short loc_1004AF369 ; +0x10c, 0x1004af35c mov rax, [rbx] ; +0x10e, 0x1004af35e mov rdi, rbx ; +0x111, 0x1004af361 call qword ptr [rax+10h] ; +0x114, 0x1004af364 xor ebx, ebx ; +0x117, 0x1004af367 mov rax, rbx ; +0x119, 0x1004af369 add rsp, 20h ; +0x11c, 0x1004af36c pop rbx ; +0x120, 0x1004af370 pop r14 ; +0x121, 0x1004af371 pop rbp ; +0x123, 0x1004af373 retn ; +0x124, 0x1004af374