//
// cocos2d::extension::CCControlButton::getTitleColorForState from 0x7a710c to 0x7a7150 (68 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:59 +0000
//
int __fastcall cocos2d::extension::CCControlButton::getTitleColorForState(
cocos2d::extension::CCControlButton *this,
int a2)
{
cocos2d::CCDictionary *v3; // r0
unsigned __int8 v4; // r3
unsigned __int8 v5; // r2
unsigned __int8 v6; // r1
_BYTE *v7; // r0
v3 = *((cocos2d::CCDictionary **)this + 100);
if ( v3
&& ((v7 = (_BYTE *)cocos2d::CCDictionary::objectForKey(v3, a2)) != nullptr
|| (v7 = (_BYTE *)cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 100), 1)) != nullptr) )
{
v6 = v7[52];
v5 = v7[53];
v4 = v7[54];
}
else
{
v4 = -1;
v5 = -1;
v6 = -1;
}
return v6 | (unsigned __int16)(v5 << 8) | (v4 << 16);
}