; ; cocos2d::CCMenuItemSprite::setSelectedImage from 0x18005baf0 to 0x18005bb82 (146 bytes) ; ; 6 xrefs: ; > @ 0x1800f8720 ; > @ 0x1800f8b80 ; > @ 0x180138da0 ; > @ 0x180138db0 ; > @ 0x1801438a8 ; > @ 0x1801b2f40 ; ; 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 ; mov [rsp+arg_10], rsi ; +0x0, 0x18005baf0 push rdi ; +0x5, 0x18005baf5 sub rsp, 20h ; +0x6, 0x18005baf6 mov rsi, rdx ; +0xa, 0x18005bafa mov rdi, rcx ; +0xd, 0x18005bafd cmp rdx, [rcx+178h] ; +0x10, 0x18005bb00 jz short loc_18005BB77 ; +0x17, 0x18005bb07 test rdx, rdx ; +0x19, 0x18005bb09 jz short loc_18005BB49 ; +0x1c, 0x18005bb0c mov rax, [rcx] ; +0x1e, 0x18005bb0e mov r9d, 2 ; +0x21, 0x18005bb11 xor r8d, r8d ; +0x27, 0x18005bb17 mov [rsp+28h+arg_8], rbx ; +0x2a, 0x18005bb1a call qword ptr [rax+1B0h] ; +0x2f, 0x18005bb1f mov rbx, [rsi] ; +0x35, 0x18005bb25 lea rcx, [rsp+28h+arg_0] ; +0x38, 0x18005bb28 xorps xmm2, xmm2 ; +0x3d, 0x18005bb2d xorps xmm1, xmm1 ; +0x40, 0x18005bb30 call kmVec2Fill ; +0x43, 0x18005bb33 mov rdx, rax ; +0x48, 0x18005bb38 mov rcx, rsi ; +0x4b, 0x18005bb3b call qword ptr [rbx+110h] ; +0x4e, 0x18005bb3e mov rbx, [rsp+28h+arg_8] ; +0x54, 0x18005bb44 mov rdx, [rdi+180h] ; +0x59, 0x18005bb49 test rdx, rdx ; +0x60, 0x18005bb50 jz short loc_18005BB64 ; +0x63, 0x18005bb53 mov rax, [rdi] ; +0x65, 0x18005bb55 mov r8b, 1 ; +0x68, 0x18005bb58 mov rcx, rdi ; +0x6b, 0x18005bb5b call qword ptr [rax+208h] ; +0x6e, 0x18005bb5e mov rax, [rdi] ; +0x74, 0x18005bb64 mov rcx, rdi ; +0x77, 0x18005bb67 mov [rdi+180h], rsi ; +0x7a, 0x18005bb6a call qword ptr [rax+3D8h] ; +0x81, 0x18005bb71 mov rsi, [rsp+28h+arg_10] ; +0x87, 0x18005bb77 add rsp, 20h ; +0x8c, 0x18005bb7c pop rdi ; +0x90, 0x18005bb80 retn ; +0x91, 0x18005bb81