; ; cocos2d::CCMenuItemLabel::setEnabled from 0x18005d740 to 0x18005d816 (214 bytes) ; ; 8 xrefs: ; > @ 0x1800fdea8 ; > @ 0x1800fe300 ; > @ 0x1800fe758 ; > @ 0x180141f0c ; > @ 0x180141f20 ; > @ 0x180141f30 ; > @ 0x18014cf68 ; > @ 0x1801bd138 ; ; 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_8], rbx ; +0x0, 0x18005d740 push rdi ; +0x5, 0x18005d745 sub rsp, 30h ; +0x6, 0x18005d746 movzx edi, dl ; +0xa, 0x18005d74a mov rbx, rcx ; +0xd, 0x18005d74d cmp [rcx+159h], dl ; +0x10, 0x18005d750 jz loc_18005D804 ; +0x16, 0x18005d756 mov rcx, [rcx+180h] ; +0x1c, 0x18005d75c lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x23, 0x18005d763 lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x2a, 0x18005d76a mov [rsp+38h+arg_0], rsi ; +0x31, 0x18005d771 xor edx, edx ; +0x36, 0x18005d776 mov [rsp+38h+var_18], 0 ; +0x38, 0x18005d778 call __RTDynamicCast ; +0x40, 0x18005d780 mov rcx, [rax] ; +0x45, 0x18005d785 test dil, dil ; +0x48, 0x18005d788 jnz short loc_18005D7F8 ; +0x4b, 0x18005d78b mov rdx, [rcx+8] ; +0x4d, 0x18005d78d mov rcx, rax ; +0x51, 0x18005d791 call rdx ; +0x54, 0x18005d794 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x56, 0x18005d796 mov [rsp+38h+var_18], 0 ; +0x5d, 0x18005d79d lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x65, 0x18005d7a5 xor edx, edx ; +0x6c, 0x18005d7ac movzx ecx, word ptr [rax] ; +0x6e, 0x18005d7ae mov [rbx+188h], cx ; +0x71, 0x18005d7b1 movzx eax, byte ptr [rax+2] ; +0x78, 0x18005d7b8 mov rcx, [rbx+180h] ; +0x7c, 0x18005d7bc mov [rbx+18Ah], al ; +0x83, 0x18005d7c3 call __RTDynamicCast ; +0x89, 0x18005d7c9 lea rdx, [rbx+178h] ; +0x8e, 0x18005d7ce mov rcx, [rax] ; +0x95, 0x18005d7d5 mov r8, [rcx] ; +0x98, 0x18005d7d8 mov rcx, rax ; +0x9b, 0x18005d7db call r8 ; +0x9e, 0x18005d7de mov rsi, [rsp+38h+arg_0] ; +0xa1, 0x18005d7e1 mov [rbx+159h], dil ; +0xa6, 0x18005d7e6 mov rbx, [rsp+38h+arg_8] ; +0xad, 0x18005d7ed add rsp, 30h ; +0xb2, 0x18005d7f2 pop rdi ; +0xb6, 0x18005d7f6 retn ; +0xb7, 0x18005d7f7 mov r8, [rcx] ; +0xb8, 0x18005d7f8 lea rdx, [rbx+188h] ; +0xbb, 0x18005d7fb jmp short loc_18005D7DB ; +0xc2, 0x18005d802 mov rbx, [rsp+38h+arg_8] ; +0xc4, 0x18005d804 mov [rcx+159h], dil ; +0xc9, 0x18005d809 add rsp, 30h ; +0xd0, 0x18005d810 pop rdi ; +0xd4, 0x18005d814 retn ; +0xd5, 0x18005d815