; ; cocos2d::extension::CCControlPotentiometer::setEnabled from 0x1800090b0 to 0x18000911d (109 bytes) ; ; 4 xrefs: ; > @ 0x180025310 ; > @ 0x18002fdf8 ; > @ 0x180049984 ; > @ 0x180049990 ; ; 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, 0x1800090b0 push rdi ; +0x5, 0x1800090b5 sub rsp, 20h ; +0x6, 0x1800090b6 mov rbx, rcx ; +0xa, 0x1800090ba mov [rcx+1B9h], dl ; +0xd, 0x1800090bd test dl, dl ; +0x13, 0x1800090c3 mov ecx, 4 ; +0x15, 0x1800090c5 mov eax, 1 ; +0x1a, 0x1800090ca movzx edi, dl ; +0x1f, 0x1800090cf cmovz eax, ecx ; +0x22, 0x1800090d2 mov rcx, rbx ; +0x25, 0x1800090d5 mov [rbx+1B4h], eax ; +0x28, 0x1800090d8 mov rax, [rbx] ; +0x2e, 0x1800090de call qword ptr [rax+428h] ; +0x31, 0x1800090e1 mov rcx, [rbx+1D8h] ; +0x37, 0x1800090e7 test rcx, rcx ; +0x3e, 0x1800090ee jz short loc_180009112 ; +0x41, 0x1800090f1 add rcx, 140h ; +0x43, 0x1800090f3 mov edx, 80h ; +0x4a, 0x1800090fa test dil, dil ; +0x4f, 0x1800090ff mov r8d, 0FFh ; +0x52, 0x180009102 cmovnz edx, r8d ; +0x58, 0x180009108 mov rax, [rcx] ; +0x5c, 0x18000910c call qword ptr [rax+28h] ; +0x5f, 0x18000910f mov rbx, [rsp+28h+arg_0] ; +0x62, 0x180009112 add rsp, 20h ; +0x67, 0x180009117 pop rdi ; +0x6b, 0x18000911b retn ; +0x6c, 0x18000911c