; ; cocos2d::extension::CCControlHuePicker::setEnabled from 0x180008480 to 0x1800084eb (107 bytes) ; ; 4 xrefs: ; > @ 0x1800272e8 ; > @ 0x180032408 ; > @ 0x18004b81c ; > @ 0x18004b828 ; ; 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 12:15:36 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180008480 push rdi ; +0x5, 0x180008485 sub rsp, 20h ; +0x6, 0x180008486 mov rbx, rcx ; +0xa, 0x18000848a mov [rcx+1B9h], dl ; +0xd, 0x18000848d test dl, dl ; +0x13, 0x180008493 mov ecx, 4 ; +0x15, 0x180008495 mov eax, 1 ; +0x1a, 0x18000849a movzx edi, dl ; +0x1f, 0x18000849f cmovz eax, ecx ; +0x22, 0x1800084a2 mov rcx, rbx ; +0x25, 0x1800084a5 mov [rbx+1B4h], eax ; +0x28, 0x1800084a8 mov rax, [rbx] ; +0x2e, 0x1800084ae call qword ptr [rax+438h] ; +0x31, 0x1800084b1 mov rcx, [rbx+1E8h] ; +0x37, 0x1800084b7 test rcx, rcx ; +0x3e, 0x1800084be jz short loc_1800084E0 ; +0x41, 0x1800084c1 add rcx, 140h ; +0x43, 0x1800084c3 mov edx, 80h ; +0x4a, 0x1800084ca test dil, dil ; +0x4f, 0x1800084cf mov eax, 0FFh ; +0x52, 0x1800084d2 cmovnz edx, eax ; +0x57, 0x1800084d7 mov rax, [rcx] ; +0x5a, 0x1800084da call qword ptr [rax+28h] ; +0x5d, 0x1800084dd mov rbx, [rsp+28h+arg_0] ; +0x60, 0x1800084e0 add rsp, 20h ; +0x65, 0x1800084e5 pop rdi ; +0x69, 0x1800084e9 retn ; +0x6a, 0x1800084ea