//
// cocos2d::extension::CCControlButton::getTitleLabelForState from 0x1003543d0 to 0x10035440a (58 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009161c8
// > ??> @ 0x100947910
//
// 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
//
cocos2d::CCNode *__fastcall cocos2d::extension::CCControlButton::getTitleLabelForState(
cocos2d::extension::CCControlButton *a1,
unsigned int a2)
{
cocos2d::CCNode *result; // rax
result = (cocos2d::CCNode *)cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)&a1[1].m_fVertexZ, a2);
if ( !result )
return (cocos2d::CCNode *)cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)&a1[1].m_fVertexZ, 1);
return result;
}