; ; cocos2d::CCMenuItemLabel::setEnabled from 0x18005b710 to 0x18005b7e0 (208 bytes) ; ; 8 xrefs: ; > @ 0x1800f7a20 ; > @ 0x1800f7e68 ; > @ 0x1800f82b0 ; > @ 0x180138c74 ; > @ 0x180138c88 ; > @ 0x180138c98 ; > @ 0x1801438a8 ; > @ 0x1801b2e80 ; ; 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, 0x18005b710 push rdi ; +0x5, 0x18005b715 sub rsp, 30h ; +0x6, 0x18005b716 movzx edi, dl ; +0xa, 0x18005b71a mov rbx, rcx ; +0xd, 0x18005b71d cmp [rcx+159h], dl ; +0x10, 0x18005b720 jz loc_18005B7CE ; +0x16, 0x18005b726 mov rcx, [rcx+180h] ; +0x1c, 0x18005b72c lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x23, 0x18005b733 lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x2a, 0x18005b73a mov [rsp+38h+arg_0], rsi ; +0x31, 0x18005b741 xor edx, edx ; +0x36, 0x18005b746 mov [rsp+38h+var_18], 0 ; +0x38, 0x18005b748 call __RTDynamicCast ; +0x40, 0x18005b750 mov rcx, rax ; +0x45, 0x18005b755 test dil, dil ; +0x48, 0x18005b758 jnz short loc_18005B7C2 ; +0x4b, 0x18005b75b mov rdx, [rax] ; +0x4d, 0x18005b75d call qword ptr [rdx+8] ; +0x50, 0x18005b760 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x53, 0x18005b763 mov [rsp+38h+var_18], 0 ; +0x5a, 0x18005b76a lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x62, 0x18005b772 xor edx, edx ; +0x69, 0x18005b779 movzx ecx, word ptr [rax] ; +0x6b, 0x18005b77b mov [rbx+188h], cx ; +0x6e, 0x18005b77e movzx eax, byte ptr [rax+2] ; +0x75, 0x18005b785 mov rcx, [rbx+180h] ; +0x79, 0x18005b789 mov [rbx+18Ah], al ; +0x80, 0x18005b790 call __RTDynamicCast ; +0x86, 0x18005b796 lea rdx, [rbx+178h] ; +0x8b, 0x18005b79b mov rcx, rax ; +0x92, 0x18005b7a2 mov r8, [rax] ; +0x95, 0x18005b7a5 call qword ptr [r8] ; +0x98, 0x18005b7a8 mov rsi, [rsp+38h+arg_0] ; +0x9b, 0x18005b7ab mov [rbx+159h], dil ; +0xa0, 0x18005b7b0 mov rbx, [rsp+38h+arg_8] ; +0xa7, 0x18005b7b7 add rsp, 30h ; +0xac, 0x18005b7bc pop rdi ; +0xb0, 0x18005b7c0 retn ; +0xb1, 0x18005b7c1 mov r8, [rax] ; +0xb2, 0x18005b7c2 lea rdx, [rbx+188h] ; +0xb5, 0x18005b7c5 jmp short loc_18005B7A8 ; +0xbc, 0x18005b7cc mov rbx, [rsp+38h+arg_8] ; +0xbe, 0x18005b7ce mov [rcx+159h], dil ; +0xc3, 0x18005b7d3 add rsp, 30h ; +0xca, 0x18005b7da pop rdi ; +0xce, 0x18005b7de retn ; +0xcf, 0x18005b7df