; ; cocos2d::CCMenuItemSprite::unselected from 0x18005de80 to 0x18005def8 (120 bytes) ; ; 4 xrefs: ; > @ 0x1800feb90 ; > @ 0x1800ff000 ; > @ 0x18014cf68 ; > @ 0x1801bd27c ; ; 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_0], rbx ; +0x0, 0x18005de80 push rdi ; +0x5, 0x18005de85 sub rsp, 20h ; +0x6, 0x18005de86 cmp qword ptr [rcx+180h], 0 ; +0xa, 0x18005de8a mov rdi, rcx ; +0x12, 0x18005de92 mov byte ptr [rcx+158h], 0 ; +0x15, 0x18005de95 jnz short loc_18005DEA8 ; +0x1c, 0x18005de9c cmp qword ptr [rcx+188h], 0 ; +0x1e, 0x18005de9e jz short loc_18005DEED ; +0x26, 0x18005dea6 mov rcx, [rcx+178h] ; +0x28, 0x18005dea8 test rcx, rcx ; +0x2f, 0x18005deaf jz short loc_18005DEED ; +0x32, 0x18005deb2 mov rax, [rcx] ; +0x34, 0x18005deb4 mov dl, 1 ; +0x37, 0x18005deb7 call qword ptr [rax+150h] ; +0x39, 0x18005deb9 mov rcx, [rdi+180h] ; +0x3f, 0x18005debf test rcx, rcx ; +0x46, 0x18005dec6 jz short loc_18005DED6 ; +0x49, 0x18005dec9 mov rax, [rcx] ; +0x4b, 0x18005decb xor edx, edx ; +0x4e, 0x18005dece call qword ptr [rax+150h] ; +0x50, 0x18005ded0 mov rcx, [rdi+188h] ; +0x56, 0x18005ded6 test rcx, rcx ; +0x5d, 0x18005dedd jz short loc_18005DEED ; +0x60, 0x18005dee0 mov rax, [rcx] ; +0x62, 0x18005dee2 xor edx, edx ; +0x65, 0x18005dee5 call qword ptr [rax+150h] ; +0x67, 0x18005dee7 mov rbx, [rsp+28h+arg_0] ; +0x6d, 0x18005deed add rsp, 20h ; +0x72, 0x18005def2 pop rdi ; +0x76, 0x18005def6 retn ; +0x77, 0x18005def7