; ; CCMenuItemSpriteExtra::selected from 0x140048bb0 to 0x140048df9 (585 bytes) ; ; 5 xrefs: ; > RowPressItem::selected @ 0x1401594b9 ; > @ 0x140709898 ; > @ 0x1407500b8 ; > @ 0x140784eb0 ; > @ 0x14090fb90 ; ; 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 ; mov [rsp+arg_10], rbx ; +0x0, 0x140048bb0 mov [rsp+arg_18], rsi ; +0x5, 0x140048bb5 push rdi ; +0xa, 0x140048bba sub rsp, 50h ; +0xb, 0x140048bbb mov rsi, rcx ; +0xf, 0x140048bbf cmp byte ptr [rcx+159h], 0 ; +0x12, 0x140048bc2 jz loc_140048DE9 ; +0x19, 0x140048bc9 call cs:__imp_?selected@CCMenuItemSprite@cocos2d@@UEAAXXZ; cocos2d::CCMenuItemSprite::selected(void) ; +0x1f, 0x140048bcf cmp qword ptr [rsi+1D0h], 0 ; +0x25, 0x140048bd5 jz loc_140048C95 ; +0x2d, 0x140048bdd lea rax, [rsp+58h+var_28] ; +0x33, 0x140048be3 mov [rsp+58h+arg_0], rax ; +0x38, 0x140048be8 lea rdx, [rsi+1C0h] ; +0x3d, 0x140048bed cmp qword ptr [rdx+18h], 0Fh ; +0x44, 0x140048bf4 jbe short loc_140048BFE ; +0x49, 0x140048bf9 mov rdx, [rdx] ; +0x4b, 0x140048bfb xorps xmm0, xmm0 ; +0x4e, 0x140048bfe movups [rsp+58h+var_28], xmm0 ; +0x51, 0x140048c01 xor eax, eax ; +0x56, 0x140048c06 mov [rsp+58h+var_18], rax ; +0x58, 0x140048c08 mov [rsp+58h+var_10], rax ; +0x5d, 0x140048c0d mov r8, 0FFFFFFFFFFFFFFFFh ; +0x62, 0x140048c12 nop dword ptr [rax+00000000h] ; +0x69, 0x140048c19 inc r8 ; +0x70, 0x140048c20 cmp [rdx+r8], al ; +0x73, 0x140048c23 jnz short loc_140048C20 ; +0x77, 0x140048c27 lea rcx, [rsp+58h+var_28] ; +0x79, 0x140048c29 call sub_14003D230 ; +0x7e, 0x140048c2e nop ; +0x83, 0x140048c33 mov rcx, cs:qword_14090BF60 ; +0x84, 0x140048c34 test rcx, rcx ; +0x8b, 0x140048c3b jnz short loc_140048C72 ; +0x8e, 0x140048c3e mov ecx, 8A8h; Size ; +0x90, 0x140048c40 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x95, 0x140048c45 mov [rsp+58h+arg_8], rax ; +0x9a, 0x140048c4a mov rcx, rax ; +0x9f, 0x140048c4f call FMODAudioEngine__FMODAudioEngine ; +0xa2, 0x140048c52 nop ; +0xa7, 0x140048c57 mov cs:qword_14090BF60, rax ; +0xa8, 0x140048c58 mov rcx, [rax] ; +0xaf, 0x140048c5f mov rdx, [rcx+48h] ; +0xb2, 0x140048c62 mov rcx, rax ; +0xb6, 0x140048c66 call rdx ; +0xb9, 0x140048c69 mov rcx, cs:qword_14090BF60 ; +0xbb, 0x140048c6b movss xmm0, dword ptr [rsi+19Ch] ; +0xc2, 0x140048c72 movss [rsp+58h+var_38], xmm0 ; +0xca, 0x140048c7a xorps xmm3, xmm3 ; +0xd0, 0x140048c80 movss xmm2, cs:flt_140835080 ; +0xd3, 0x140048c83 lea rdx, [rsp+58h+var_28] ; +0xdb, 0x140048c8b call FMODAudioEngine__playEffect ; +0xe0, 0x140048c90 cmp byte ptr [rsi+199h], 0 ; +0xe5, 0x140048c95 jz short loc_140048D0F ; +0xec, 0x140048c9c movss xmm0, dword ptr [rsi+1E0h] ; +0xee, 0x140048c9e mulss xmm0, cs:dword_140835964 ; +0xf6, 0x140048ca6 cmp byte ptr [rsi+204h], 0 ; +0xfe, 0x140048cae jz short loc_140048CD5 ; +0x105, 0x140048cb5 movzx eax, word ptr [rsi+205h] ; +0x107, 0x140048cb7 mov word ptr [rsp+58h+arg_0], ax ; +0x10e, 0x140048cbe movzx eax, byte ptr [rsi+207h] ; +0x113, 0x140048cc3 mov byte ptr [rsp+58h+arg_0+2], al ; +0x11a, 0x140048cca lea rbx, [rsp+58h+arg_0] ; +0x11e, 0x140048cce jmp short loc_140048CF4 ; +0x123, 0x140048cd3 cvttss2si ecx, xmm0 ; +0x125, 0x140048cd5 mov byte ptr [rsp+58h+arg_0], cl ; +0x129, 0x140048cd9 mov byte ptr [rsp+58h+arg_0+1], cl ; +0x12d, 0x140048cdd movzx eax, word ptr [rsp+58h+arg_0] ; +0x131, 0x140048ce1 mov word ptr [rsp+58h+arg_8], ax ; +0x136, 0x140048ce6 mov byte ptr [rsp+58h+arg_8+2], cl ; +0x13b, 0x140048ceb lea rbx, [rsp+58h+arg_8] ; +0x13f, 0x140048cef mov rax, [rsi] ; +0x144, 0x140048cf4 mov rcx, rsi ; +0x147, 0x140048cf7 call qword ptr [rax+3B8h] ; +0x14a, 0x140048cfa lea rcx, [rax+140h] ; +0x150, 0x140048d00 mov rax, [rcx] ; +0x157, 0x140048d07 mov rdx, rbx ; +0x15a, 0x140048d0a call qword ptr [rax] ; +0x15d, 0x140048d0d cmp byte ptr [rsi+198h], 0 ; +0x15f, 0x140048d0f jz loc_140048DE9 ; +0x166, 0x140048d16 mov eax, [rsi+1F4h] ; +0x16c, 0x140048d1c test eax, eax ; +0x172, 0x140048d22 jnz short loc_140048D6F ; +0x174, 0x140048d24 xor edx, edx ; +0x176, 0x140048d26 mov rcx, rsi ; +0x178, 0x140048d28 call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x17b, 0x140048d2b movss xmm1, dword ptr [rsi+194h] ; +0x181, 0x140048d31 mulss xmm1, dword ptr [rsi+190h] ; +0x189, 0x140048d39 movss xmm0, dword ptr [rsi+1ECh] ; +0x191, 0x140048d41 call cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCScaleTo::create(float,float) ; +0x199, 0x140048d49 mov rcx, rax ; +0x19f, 0x140048d4f call cs:?create@CCEaseBounceOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCEaseBounceOut::create(cocos2d::CCActionInterval *) ; +0x1a2, 0x140048d52 mov rbx, rax ; +0x1a8, 0x140048d58 mov rcx, [rax] ; +0x1ab, 0x140048d5b mov r8, [rcx+40h] ; +0x1ae, 0x140048d5e xor edx, edx ; +0x1b2, 0x140048d62 mov rcx, rax ; +0x1b4, 0x140048d64 call r8 ; +0x1b7, 0x140048d67 mov rcx, rsi ; +0x1ba, 0x140048d6a jmp short loc_140048DE0 ; +0x1bd, 0x140048d6d cmp eax, 1 ; +0x1bf, 0x140048d6f jnz short loc_140048DE9 ; +0x1c2, 0x140048d72 mov rax, [rsi] ; +0x1c4, 0x140048d74 mov rcx, rsi ; +0x1c7, 0x140048d77 call qword ptr [rax+3B8h] ; +0x1ca, 0x140048d7a mov rdi, rax ; +0x1d0, 0x140048d80 xor edx, edx ; +0x1d3, 0x140048d83 mov rcx, rax ; +0x1d5, 0x140048d85 call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x1d8, 0x140048d88 lea r8, [rsi+1E4h] ; +0x1de, 0x140048d8e lea rcx, [rsi+1F8h] ; +0x1e5, 0x140048d95 lea rdx, [rsp+58h+arg_0] ; +0x1ec, 0x140048d9c call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1f1, 0x140048da1 lea rdx, [rsp+58h+arg_0] ; +0x1f7, 0x140048da7 movss xmm0, dword ptr [rsi+1ECh] ; +0x1fc, 0x140048dac call cs:?create@CCMoveTo@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const &) ; +0x204, 0x140048db4 movss xmm1, cs:dword_140835164 ; +0x20a, 0x140048dba mov rcx, rax ; +0x212, 0x140048dc2 call cs:?create@CCEaseInOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseInOut::create(cocos2d::CCActionInterval *,float) ; +0x215, 0x140048dc5 mov rbx, rax ; +0x21b, 0x140048dcb mov rcx, [rax] ; +0x21e, 0x140048dce mov r8, [rcx+40h] ; +0x221, 0x140048dd1 xor edx, edx ; +0x225, 0x140048dd5 mov rcx, rax ; +0x227, 0x140048dd7 call r8 ; +0x22a, 0x140048dda mov rcx, rdi ; +0x22d, 0x140048ddd mov rdx, rbx ; +0x230, 0x140048de0 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x233, 0x140048de3 mov rbx, [rsp+58h+arg_10] ; +0x239, 0x140048de9 mov rsi, [rsp+58h+arg_18] ; +0x23e, 0x140048dee add rsp, 50h ; +0x243, 0x140048df3 pop rdi ; +0x247, 0x140048df7 retn ; +0x248, 0x140048df8