; ; cocos2d::CCMenuItemSprite::updateImagesVisibility from 0x18005df40 to 0x18005e01c (220 bytes) ; ; 4 xrefs: ; > @ 0x1800febf0 ; > @ 0x1800ff060 ; > @ 0x18014cf68 ; > @ 0x1801bd294 ; ; 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, 0x18005df40 mov [rsp+arg_8], rsi ; +0x5, 0x18005df45 push rdi ; +0xa, 0x18005df4a sub rsp, 20h ; +0xb, 0x18005df4b lea rdi, [rcx+180h] ; +0xf, 0x18005df4f cmp qword ptr [rdi], 0 ; +0x16, 0x18005df56 lea rbx, [rcx+188h] ; +0x1a, 0x18005df5a jnz short loc_18005DF76 ; +0x21, 0x18005df61 cmp qword ptr [rbx], 0 ; +0x23, 0x18005df63 jz loc_18005E00C ; +0x27, 0x18005df67 lea rsi, [rcx+180h] ; +0x2d, 0x18005df6d jmp short loc_18005DF79 ; +0x34, 0x18005df74 mov rsi, rdi ; +0x36, 0x18005df76 cmp byte ptr [rcx+159h], 0 ; +0x39, 0x18005df79 mov rcx, [rcx+178h] ; +0x40, 0x18005df80 jz short loc_18005DF9E ; +0x47, 0x18005df87 test rcx, rcx ; +0x49, 0x18005df89 jz short loc_18005DF99 ; +0x4c, 0x18005df8c mov rax, [rcx] ; +0x4e, 0x18005df8e mov dl, 1 ; +0x51, 0x18005df91 call qword ptr [rax+150h] ; +0x53, 0x18005df93 mov rcx, [rdi] ; +0x59, 0x18005df99 jmp short loc_18005DFE9 ; +0x5c, 0x18005df9c cmp qword ptr [rbx], 0 ; +0x5e, 0x18005df9e jz short loc_18005DFD6 ; +0x62, 0x18005dfa2 test rcx, rcx ; +0x64, 0x18005dfa4 jz short loc_18005DFB7 ; +0x67, 0x18005dfa7 mov rax, [rcx] ; +0x69, 0x18005dfa9 xor edx, edx ; +0x6c, 0x18005dfac call qword ptr [rax+150h] ; +0x6e, 0x18005dfae mov rdi, rsi ; +0x74, 0x18005dfb4 mov rcx, [rdi] ; +0x77, 0x18005dfb7 test rcx, rcx ; +0x7a, 0x18005dfba jz short loc_18005DFCA ; +0x7d, 0x18005dfbd mov rax, [rcx] ; +0x7f, 0x18005dfbf xor edx, edx ; +0x82, 0x18005dfc2 call qword ptr [rax+150h] ; +0x84, 0x18005dfc4 mov rcx, [rbx] ; +0x8a, 0x18005dfca test rcx, rcx ; +0x8d, 0x18005dfcd jz short loc_18005E00C ; +0x90, 0x18005dfd0 mov dl, 1 ; +0x92, 0x18005dfd2 jmp short loc_18005E003 ; +0x94, 0x18005dfd4 test rcx, rcx ; +0x96, 0x18005dfd6 jz short loc_18005DFE6 ; +0x99, 0x18005dfd9 mov rax, [rcx] ; +0x9b, 0x18005dfdb mov dl, 1 ; +0x9e, 0x18005dfde call qword ptr [rax+150h] ; +0xa0, 0x18005dfe0 mov rcx, [rsi] ; +0xa6, 0x18005dfe6 test rcx, rcx ; +0xa9, 0x18005dfe9 jz short loc_18005DFF9 ; +0xac, 0x18005dfec mov rax, [rcx] ; +0xae, 0x18005dfee xor edx, edx ; +0xb1, 0x18005dff1 call qword ptr [rax+150h] ; +0xb3, 0x18005dff3 mov rcx, [rbx] ; +0xb9, 0x18005dff9 test rcx, rcx ; +0xbc, 0x18005dffc jz short loc_18005E00C ; +0xbf, 0x18005dfff xor edx, edx ; +0xc1, 0x18005e001 mov rax, [rcx] ; +0xc3, 0x18005e003 call qword ptr [rax+150h] ; +0xc6, 0x18005e006 mov rbx, [rsp+28h+arg_0] ; +0xcc, 0x18005e00c mov rsi, [rsp+28h+arg_8] ; +0xd1, 0x18005e011 add rsp, 20h ; +0xd6, 0x18005e016 pop rdi ; +0xda, 0x18005e01a retn ; +0xdb, 0x18005e01b