; ; CCMenuItemSpriteExtra::activate from 0x140048aa0 to 0x140048baa (266 bytes) ; ; 4 xrefs: ; > @ 0x140709890 ; > @ 0x1407419b0 ; > @ 0x1407500b0 ; > @ 0x14090fb84 ; ; 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:32 +0000 ; push rbx ; +0x0, 0x140048aa0 sub rsp, 50h ; +0x2, 0x140048aa2 mov rbx, rcx ; +0x6, 0x140048aa6 cmp byte ptr [rcx+159h], 0 ; +0x9, 0x140048aa9 jz loc_140048BA4 ; +0x10, 0x140048ab0 call cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x16, 0x140048ab6 cmp dword ptr [rbx+1F4h], 0 ; +0x1c, 0x140048abc jnz short loc_140048AD9 ; +0x23, 0x140048ac3 mov rax, [rbx] ; +0x25, 0x140048ac5 movss xmm1, dword ptr [rbx+194h] ; +0x28, 0x140048ac8 mov rcx, rbx ; +0x30, 0x140048ad0 call qword ptr [rax+0A0h] ; +0x33, 0x140048ad3 cmp qword ptr [rbx+1B0h], 0 ; +0x39, 0x140048ad9 jz loc_140048B95 ; +0x41, 0x140048ae1 lea rax, [rsp+58h+var_28] ; +0x47, 0x140048ae7 mov [rsp+58h+arg_0], rax ; +0x4c, 0x140048aec lea rdx, [rbx+1A0h] ; +0x51, 0x140048af1 cmp qword ptr [rdx+18h], 0Fh ; +0x58, 0x140048af8 jbe short loc_140048B02 ; +0x5d, 0x140048afd mov rdx, [rdx] ; +0x5f, 0x140048aff xorps xmm0, xmm0 ; +0x62, 0x140048b02 movups [rsp+58h+var_28], xmm0 ; +0x65, 0x140048b05 xor eax, eax ; +0x6a, 0x140048b0a mov [rsp+58h+var_18], rax ; +0x6c, 0x140048b0c mov [rsp+58h+var_10], rax ; +0x71, 0x140048b11 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x76, 0x140048b16 nop dword ptr [rax] ; +0x7d, 0x140048b1d inc r8 ; +0x80, 0x140048b20 cmp [rdx+r8], al ; +0x83, 0x140048b23 jnz short loc_140048B20 ; +0x87, 0x140048b27 lea rcx, [rsp+58h+var_28] ; +0x89, 0x140048b29 call sub_14003D230 ; +0x8e, 0x140048b2e nop ; +0x93, 0x140048b33 mov rcx, cs:qword_14090BF60 ; +0x94, 0x140048b34 test rcx, rcx ; +0x9b, 0x140048b3b jnz short loc_140048B72 ; +0x9e, 0x140048b3e mov ecx, 8A8h; Size ; +0xa0, 0x140048b40 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xa5, 0x140048b45 mov [rsp+58h+arg_8], rax ; +0xaa, 0x140048b4a mov rcx, rax ; +0xaf, 0x140048b4f call FMODAudioEngine__FMODAudioEngine ; +0xb2, 0x140048b52 nop ; +0xb7, 0x140048b57 mov cs:qword_14090BF60, rax ; +0xb8, 0x140048b58 mov rcx, [rax] ; +0xbf, 0x140048b5f mov rdx, [rcx+48h] ; +0xc2, 0x140048b62 mov rcx, rax ; +0xc6, 0x140048b66 call rdx ; +0xc9, 0x140048b69 mov rcx, cs:qword_14090BF60 ; +0xcb, 0x140048b6b movss xmm0, dword ptr [rbx+19Ch] ; +0xd2, 0x140048b72 movss [rsp+58h+var_38], xmm0 ; +0xda, 0x140048b7a xorps xmm3, xmm3 ; +0xe0, 0x140048b80 movss xmm2, cs:flt_140835080 ; +0xe3, 0x140048b83 lea rdx, [rsp+58h+var_28] ; +0xeb, 0x140048b8b call FMODAudioEngine__playEffect ; +0xf0, 0x140048b90 mov rcx, rbx ; +0xf5, 0x140048b95 add rsp, 50h ; +0xf8, 0x140048b98 pop rbx ; +0xfc, 0x140048b9c jmp cs:__imp_?activate@CCMenuItem@cocos2d@@UEAAXXZ; cocos2d::CCMenuItem::activate(void) ; +0xfd, 0x140048b9d add rsp, 50h ; +0x104, 0x140048ba4 pop rbx ; +0x108, 0x140048ba8 retn ; +0x109, 0x140048ba9