; ; cocos2d::extension::CCControlButton::setHighlighted from 0x180005b80 to 0x180005c58 (216 bytes) ; ; 6 xrefs: ; > @ 0x180026650 ; > @ 0x18002a5c8 ; > @ 0x18002fd98 ; > @ 0x18002fda8 ; > @ 0x180032408 ; > @ 0x18004b4f8 ; ; 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 ; push rdi ; +0x0, 0x180005b80 sub rsp, 20h ; +0x2, 0x180005b82 movzx eax, dl ; +0x6, 0x180005b86 mov rdi, rcx ; +0x9, 0x180005b89 inc eax ; +0xc, 0x180005b8c mov [rcx+1B4h], eax ; +0xe, 0x180005b8e mov rax, [rcx] ; +0x14, 0x180005b94 mov [rcx+1BBh], dl ; +0x17, 0x180005b97 call qword ptr [rax+438h] ; +0x1d, 0x180005b9d mov edx, 0CCCB0001h ; +0x23, 0x180005ba3 mov rcx, rdi ; +0x28, 0x180005ba8 call cs:?getActionByTag@CCNode@cocos2d@@QEAAPEAVCCAction@2@H@Z; cocos2d::CCNode::getActionByTag(int) ; +0x2b, 0x180005bab test rax, rax ; +0x31, 0x180005bb1 jz short loc_180005BC2 ; +0x34, 0x180005bb4 mov rdx, rax ; +0x36, 0x180005bb6 mov rcx, rdi ; +0x39, 0x180005bb9 call cs:?stopAction@CCNode@cocos2d@@QEAAXPEAVCCAction@2@@Z; cocos2d::CCNode::stopAction(cocos2d::CCAction *) ; +0x3c, 0x180005bbc mov rax, [rdi] ; +0x42, 0x180005bc2 mov rcx, rdi ; +0x45, 0x180005bc5 call qword ptr [rax+438h] ; +0x48, 0x180005bc8 cmp byte ptr [rdi+200h], 0 ; +0x4e, 0x180005bce jz short loc_180005C52 ; +0x55, 0x180005bd5 mov rax, [rdi] ; +0x57, 0x180005bd7 mov rcx, rdi ; +0x5a, 0x180005bda mov [rsp+28h+arg_0], rbx ; +0x5d, 0x180005bdd call qword ptr [rax+430h] ; +0x62, 0x180005be2 test al, al ; +0x68, 0x180005be8 jz short loc_180005C16 ; +0x6a, 0x180005bea mov rax, [rdi] ; +0x6c, 0x180005bec mov rcx, rdi ; +0x6f, 0x180005bef call qword ptr [rax+410h] ; +0x72, 0x180005bf2 test al, al ; +0x78, 0x180005bf8 jz short loc_180005C16 ; +0x7a, 0x180005bfa mov rax, [rdi] ; +0x7c, 0x180005bfc mov rcx, rdi ; +0x7f, 0x180005bff call qword ptr [rax+420h] ; +0x82, 0x180005c02 test al, al ; +0x88, 0x180005c08 jnz short loc_180005C16 ; +0x8a, 0x180005c0a movss xmm1, cs:dword_18002BBE4 ; +0x8c, 0x180005c0c jmp short loc_180005C1E ; +0x94, 0x180005c14 movss xmm1, cs:dword_18002BBE0 ; +0x96, 0x180005c16 movss xmm0, cs:dword_18002BBC8 ; +0x9e, 0x180005c1e call cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCScaleTo::create(float,float) ; +0xa6, 0x180005c26 mov edx, 0CCCB0001h ; +0xac, 0x180005c2c mov rbx, rax ; +0xb1, 0x180005c31 mov rcx, [rax] ; +0xb4, 0x180005c34 mov r8, [rcx+40h] ; +0xb7, 0x180005c37 mov rcx, rax ; +0xbb, 0x180005c3b call r8 ; +0xbe, 0x180005c3e mov rdx, rbx ; +0xc1, 0x180005c41 mov rcx, rdi ; +0xc4, 0x180005c44 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xc7, 0x180005c47 mov rbx, [rsp+28h+arg_0] ; +0xcd, 0x180005c4d add rsp, 20h ; +0xd2, 0x180005c52 pop rdi ; +0xd6, 0x180005c56 retn ; +0xd7, 0x180005c57