; ; cocos2d::CCMenuItemSprite::updateImagesVisibility from 0x18005bf00 to 0x18005bfdc (220 bytes) ; ; 4 xrefs: ; > @ 0x1800f8738 ; > @ 0x1800f8b98 ; > @ 0x1801438a8 ; > @ 0x1801b2fdc ; ; 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_0], rbx ; +0x0, 0x18005bf00 mov [rsp+arg_8], rsi ; +0x5, 0x18005bf05 push rdi ; +0xa, 0x18005bf0a sub rsp, 20h ; +0xb, 0x18005bf0b lea rdi, [rcx+180h] ; +0xf, 0x18005bf0f cmp qword ptr [rdi], 0 ; +0x16, 0x18005bf16 lea rbx, [rcx+188h] ; +0x1a, 0x18005bf1a jnz short loc_18005BF36 ; +0x21, 0x18005bf21 cmp qword ptr [rbx], 0 ; +0x23, 0x18005bf23 jz loc_18005BFCC ; +0x27, 0x18005bf27 lea rsi, [rcx+180h] ; +0x2d, 0x18005bf2d jmp short loc_18005BF39 ; +0x34, 0x18005bf34 mov rsi, rdi ; +0x36, 0x18005bf36 cmp byte ptr [rcx+159h], 0 ; +0x39, 0x18005bf39 mov rcx, [rcx+178h] ; +0x40, 0x18005bf40 jz short loc_18005BF5E ; +0x47, 0x18005bf47 test rcx, rcx ; +0x49, 0x18005bf49 jz short loc_18005BF59 ; +0x4c, 0x18005bf4c mov rax, [rcx] ; +0x4e, 0x18005bf4e mov dl, 1 ; +0x51, 0x18005bf51 call qword ptr [rax+140h] ; +0x53, 0x18005bf53 mov rcx, [rdi] ; +0x59, 0x18005bf59 jmp short loc_18005BFA9 ; +0x5c, 0x18005bf5c cmp qword ptr [rbx], 0 ; +0x5e, 0x18005bf5e jz short loc_18005BF96 ; +0x62, 0x18005bf62 test rcx, rcx ; +0x64, 0x18005bf64 jz short loc_18005BF77 ; +0x67, 0x18005bf67 mov rax, [rcx] ; +0x69, 0x18005bf69 xor edx, edx ; +0x6c, 0x18005bf6c call qword ptr [rax+140h] ; +0x6e, 0x18005bf6e mov rdi, rsi ; +0x74, 0x18005bf74 mov rcx, [rdi] ; +0x77, 0x18005bf77 test rcx, rcx ; +0x7a, 0x18005bf7a jz short loc_18005BF8A ; +0x7d, 0x18005bf7d mov rax, [rcx] ; +0x7f, 0x18005bf7f xor edx, edx ; +0x82, 0x18005bf82 call qword ptr [rax+140h] ; +0x84, 0x18005bf84 mov rcx, [rbx] ; +0x8a, 0x18005bf8a test rcx, rcx ; +0x8d, 0x18005bf8d jz short loc_18005BFCC ; +0x90, 0x18005bf90 mov dl, 1 ; +0x92, 0x18005bf92 jmp short loc_18005BFC3 ; +0x94, 0x18005bf94 test rcx, rcx ; +0x96, 0x18005bf96 jz short loc_18005BFA6 ; +0x99, 0x18005bf99 mov rax, [rcx] ; +0x9b, 0x18005bf9b mov dl, 1 ; +0x9e, 0x18005bf9e call qword ptr [rax+140h] ; +0xa0, 0x18005bfa0 mov rcx, [rsi] ; +0xa6, 0x18005bfa6 test rcx, rcx ; +0xa9, 0x18005bfa9 jz short loc_18005BFB9 ; +0xac, 0x18005bfac mov rax, [rcx] ; +0xae, 0x18005bfae xor edx, edx ; +0xb1, 0x18005bfb1 call qword ptr [rax+140h] ; +0xb3, 0x18005bfb3 mov rcx, [rbx] ; +0xb9, 0x18005bfb9 test rcx, rcx ; +0xbc, 0x18005bfbc jz short loc_18005BFCC ; +0xbf, 0x18005bfbf xor edx, edx ; +0xc1, 0x18005bfc1 mov rax, [rcx] ; +0xc3, 0x18005bfc3 call qword ptr [rax+140h] ; +0xc6, 0x18005bfc6 mov rbx, [rsp+28h+arg_0] ; +0xcc, 0x18005bfcc mov rsi, [rsp+28h+arg_8] ; +0xd1, 0x18005bfd1 add rsp, 20h ; +0xd6, 0x18005bfd6 pop rdi ; +0xda, 0x18005bfda retn ; +0xdb, 0x18005bfdb