; ; cocos2d::CCMenuItemSprite::setSelectedImage from 0x18005db20 to 0x18005dbb2 (146 bytes) ; ; 6 xrefs: ; > @ 0x1800febd8 ; > @ 0x1800ff048 ; > @ 0x180142038 ; > @ 0x180142048 ; > @ 0x18014cf68 ; > @ 0x1801bd1f8 ; ; 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:21:49 +0000 ; mov [rsp+arg_10], rsi ; +0x0, 0x18005db20 push rdi ; +0x5, 0x18005db25 sub rsp, 20h ; +0x6, 0x18005db26 mov rsi, rdx ; +0xa, 0x18005db2a mov rdi, rcx ; +0xd, 0x18005db2d cmp rdx, [rcx+178h] ; +0x10, 0x18005db30 jz short loc_18005DBA7 ; +0x17, 0x18005db37 test rdx, rdx ; +0x19, 0x18005db39 jz short loc_18005DB79 ; +0x1c, 0x18005db3c mov rax, [rcx] ; +0x1e, 0x18005db3e mov r9d, 2 ; +0x21, 0x18005db41 xor r8d, r8d ; +0x27, 0x18005db47 mov [rsp+28h+arg_8], rbx ; +0x2a, 0x18005db4a call qword ptr [rax+1C0h] ; +0x2f, 0x18005db4f mov rbx, [rsi] ; +0x35, 0x18005db55 lea rcx, [rsp+28h+arg_0] ; +0x38, 0x18005db58 xorps xmm2, xmm2 ; +0x3d, 0x18005db5d xorps xmm1, xmm1 ; +0x40, 0x18005db60 call kmVec2Fill ; +0x43, 0x18005db63 mov rdx, rax ; +0x48, 0x18005db68 mov rcx, rsi ; +0x4b, 0x18005db6b call qword ptr [rbx+120h] ; +0x4e, 0x18005db6e mov rbx, [rsp+28h+arg_8] ; +0x54, 0x18005db74 mov rdx, [rdi+180h] ; +0x59, 0x18005db79 test rdx, rdx ; +0x60, 0x18005db80 jz short loc_18005DB94 ; +0x63, 0x18005db83 mov rax, [rdi] ; +0x65, 0x18005db85 mov r8b, 1 ; +0x68, 0x18005db88 mov rcx, rdi ; +0x6b, 0x18005db8b call qword ptr [rax+218h] ; +0x6e, 0x18005db8e mov rax, [rdi] ; +0x74, 0x18005db94 mov rcx, rdi ; +0x77, 0x18005db97 mov [rdi+180h], rsi ; +0x7a, 0x18005db9a call qword ptr [rax+3E8h] ; +0x81, 0x18005dba1 mov rsi, [rsp+28h+arg_10] ; +0x87, 0x18005dba7 add rsp, 20h ; +0x8c, 0x18005dbac pop rdi ; +0x90, 0x18005dbb0 retn ; +0x91, 0x18005dbb1