; ; cocos2d::CCMenuItemSprite::selected from 0x18005b500 to 0x18005b5a3 (163 bytes) ; ; 7 xrefs: ; > @ 0x1800f86d0 ; > @ 0x1800f8b30 ; > @ 0x180138e20 ; > @ 0x180138e30 ; > @ 0x1801438a8 ; > @ 0x1801b2e14 ; > @ 0x1801b2e20 ; ; 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_8], rbx ; +0x0, 0x18005b500 mov [rsp+arg_10], rsi ; +0x5, 0x18005b505 push rdi ; +0xa, 0x18005b50a sub rsp, 20h ; +0xb, 0x18005b50b cmp qword ptr [rcx+180h], 0 ; +0xf, 0x18005b50f mov rbx, rcx ; +0x17, 0x18005b517 mov byte ptr [rcx+158h], 1 ; +0x1a, 0x18005b51a jnz short loc_18005B52D ; +0x21, 0x18005b521 cmp qword ptr [rcx+188h], 0 ; +0x23, 0x18005b523 jz short loc_18005B593 ; +0x2b, 0x18005b52b cmp qword ptr [rcx+178h], 0 ; +0x2d, 0x18005b52d lea rsi, [rcx+180h] ; +0x35, 0x18005b535 jz short loc_18005B593 ; +0x3c, 0x18005b53c mov rcx, [rcx+188h] ; +0x3e, 0x18005b53e mov [rsp+28h+arg_0], r14 ; +0x45, 0x18005b545 lea r14, [rbx+180h] ; +0x4a, 0x18005b54a test rcx, rcx ; +0x51, 0x18005b551 jz short loc_18005B564 ; +0x54, 0x18005b554 mov rax, [rcx] ; +0x56, 0x18005b556 xor edx, edx ; +0x59, 0x18005b559 call qword ptr [rax+140h] ; +0x5b, 0x18005b55b mov r14, rsi ; +0x61, 0x18005b561 cmp qword ptr [rbx+180h], 0 ; +0x64, 0x18005b564 mov rcx, [rbx+178h] ; +0x6c, 0x18005b56c mov rax, [rcx] ; +0x73, 0x18005b573 jz short loc_18005B586 ; +0x76, 0x18005b576 xor edx, edx ; +0x78, 0x18005b578 call qword ptr [rax+140h] ; +0x7a, 0x18005b57a mov rcx, [r14] ; +0x80, 0x18005b580 mov rax, [rcx] ; +0x83, 0x18005b583 mov dl, 1 ; +0x86, 0x18005b586 call qword ptr [rax+140h] ; +0x88, 0x18005b588 mov r14, [rsp+28h+arg_0] ; +0x8e, 0x18005b58e mov rbx, [rsp+28h+arg_8] ; +0x93, 0x18005b593 mov rsi, [rsp+28h+arg_10] ; +0x98, 0x18005b598 add rsp, 20h ; +0x9d, 0x18005b59d pop rdi ; +0xa1, 0x18005b5a1 retn ; +0xa2, 0x18005b5a2