; ; cocos2d::extension::CCControlButton::getTitleColorForState from 0x180005f80 to 0x180005ff1 (113 bytes) ; ; 4 xrefs: ; > @ 0x1800266f0 ; > @ 0x18002a668 ; > @ 0x180032408 ; > @ 0x18004b594 ; ; 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, 0x180005f80 push rdi ; +0x5, 0x180005f85 sub rsp, 20h ; +0x6, 0x180005f86 movzx eax, cs:word_180025A0C ; +0xa, 0x180005f8a mov rdi, rcx ; +0x11, 0x180005f91 mov rcx, [rcx+218h] ; +0x14, 0x180005f94 mov rbx, rdx ; +0x1b, 0x180005f9b mov [rdx], ax ; +0x1e, 0x180005f9e movzx eax, cs:byte_180025A0E ; +0x21, 0x180005fa1 mov [rdx+2], al ; +0x28, 0x180005fa8 test rcx, rcx ; +0x2b, 0x180005fab jz short loc_180005FE3 ; +0x2e, 0x180005fae mov edx, r8d ; +0x30, 0x180005fb0 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x33, 0x180005fb3 test rax, rax ; +0x39, 0x180005fb9 jnz short loc_180005FD5 ; +0x3c, 0x180005fbc mov rcx, [rdi+218h] ; +0x3e, 0x180005fbe mov edx, 1 ; +0x45, 0x180005fc5 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x4a, 0x180005fca test rax, rax ; +0x50, 0x180005fd0 jz short loc_180005FE3 ; +0x53, 0x180005fd3 movzx ecx, word ptr [rax+38h] ; +0x55, 0x180005fd5 movzx eax, byte ptr [rax+3Ah] ; +0x59, 0x180005fd9 mov [rbx], cx ; +0x5d, 0x180005fdd mov [rbx+2], al ; +0x60, 0x180005fe0 mov rax, rbx ; +0x63, 0x180005fe3 mov rbx, [rsp+28h+arg_0] ; +0x66, 0x180005fe6 add rsp, 20h ; +0x6b, 0x180005feb pop rdi ; +0x6f, 0x180005fef retn ; +0x70, 0x180005ff0