; ; CCMenuItemSpriteExtra::activate from 0x140044db0 to 0x140044eb7 (263 bytes) ; ; 3 xrefs: ; > @ 0x14052ec78 ; > @ 0x1405539b8 ; > @ 0x1406c468c ; ; 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 rbx ; +0x0, 0x140044db0 sub rsp, 50h ; +0x2, 0x140044db2 mov rbx, rcx ; +0x6, 0x140044db6 cmp byte ptr [rcx+159h], 0 ; +0x9, 0x140044db9 jz loc_140044EB1 ; +0x10, 0x140044dc0 call cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x16, 0x140044dc6 cmp dword ptr [rbx+1F4h], 0 ; +0x1c, 0x140044dcc jnz short loc_140044DE9 ; +0x23, 0x140044dd3 mov rax, [rbx] ; +0x25, 0x140044dd5 movss xmm1, dword ptr [rbx+194h] ; +0x28, 0x140044dd8 mov rcx, rbx ; +0x30, 0x140044de0 call qword ptr [rax+0A0h] ; +0x33, 0x140044de3 cmp qword ptr [rbx+1B0h], 0 ; +0x39, 0x140044de9 jz loc_140044EA2 ; +0x41, 0x140044df1 lea rax, [rsp+58h+var_28] ; +0x47, 0x140044df7 mov [rsp+58h+arg_0], rax ; +0x4c, 0x140044dfc lea rdx, [rbx+1A0h] ; +0x51, 0x140044e01 cmp qword ptr [rdx+18h], 0Fh ; +0x58, 0x140044e08 jbe short loc_140044E12 ; +0x5d, 0x140044e0d mov rdx, [rdx] ; +0x5f, 0x140044e0f xorps xmm0, xmm0 ; +0x62, 0x140044e12 movups [rsp+58h+var_28], xmm0 ; +0x65, 0x140044e15 xor eax, eax ; +0x6a, 0x140044e1a mov [rsp+58h+var_18], rax ; +0x6c, 0x140044e1c mov [rsp+58h+var_10], rax ; +0x71, 0x140044e21 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x76, 0x140044e26 nop dword ptr [rax] ; +0x7d, 0x140044e2d inc r8 ; +0x80, 0x140044e30 cmp [rdx+r8], al ; +0x83, 0x140044e33 jnz short loc_140044E30 ; +0x87, 0x140044e37 lea rcx, [rsp+58h+var_28] ; +0x89, 0x140044e39 call sub_14003A930 ; +0x8e, 0x140044e3e nop ; +0x93, 0x140044e43 mov rcx, cs:qword_1406C2E88 ; +0x94, 0x140044e44 test rcx, rcx ; +0x9b, 0x140044e4b jnz short loc_140044E7F ; +0x9e, 0x140044e4e mov ecx, 888h; Size ; +0xa0, 0x140044e50 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xa5, 0x140044e55 mov [rsp+58h+arg_8], rax ; +0xaa, 0x140044e5a mov rcx, rax ; +0xaf, 0x140044e5f call FMODAudioEngine__FMODAudioEngine ; +0xb2, 0x140044e62 nop ; +0xb7, 0x140044e67 mov cs:qword_1406C2E88, rax ; +0xb8, 0x140044e68 mov rdx, [rax] ; +0xbf, 0x140044e6f mov rcx, rax ; +0xc2, 0x140044e72 call qword ptr [rdx+48h] ; +0xc5, 0x140044e75 mov rcx, cs:qword_1406C2E88 ; +0xc8, 0x140044e78 movss xmm0, dword ptr [rbx+19Ch] ; +0xcf, 0x140044e7f movss [rsp+58h+var_38], xmm0 ; +0xd7, 0x140044e87 xorps xmm3, xmm3 ; +0xdd, 0x140044e8d movss xmm2, cs:flt_140622C24 ; +0xe0, 0x140044e90 lea rdx, [rsp+58h+var_28] ; +0xe8, 0x140044e98 call FMODAudioEngine__playEffect ; +0xed, 0x140044e9d mov rcx, rbx ; +0xf2, 0x140044ea2 add rsp, 50h ; +0xf5, 0x140044ea5 pop rbx ; +0xf9, 0x140044ea9 jmp cs:__imp_?activate@CCMenuItem@cocos2d@@UEAAXXZ; cocos2d::CCMenuItem::activate(void) ; +0xfa, 0x140044eaa add rsp, 50h ; +0x101, 0x140044eb1 pop rbx ; +0x105, 0x140044eb5 retn ; +0x106, 0x140044eb6