//
// cocos2d::extension::CCControlButton::setTitleForState from 0x1800064d0 to 0x18000653e (110 bytes)
//
// 4 xrefs:
// > ??> @ 0x1800241a0
// > ??> @ 0x180027fe8
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004963c
//
// 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
//
void __fastcall cocos2d::extension::CCControlButton::setTitleForState(
cocos2d::CCDictionary **this,
struct cocos2d::CCString *a2,
unsigned int a3)
{
cocos2d::CCDictionary::removeObjectForKey(*(this + 66), a3);
if ( a2 )
cocos2d::CCDictionary::setObject(*(this + 66), a2, a3);
if ( *((_DWORD *)this + 109) == a3 )
(*((void (__fastcall **)(cocos2d::CCDictionary **))*this + 133))(this);
}