//
// cocos2d::extension::CCControlButton::setTitleTTFSizeForState from 0x1003545f0 to 0x100354665 (117 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009161e8
// > ??> @ 0x100947930
//
// 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::setTitleTTFSizeForState(
cocos2d::extension::CCControlButton *a1,
float a2,
unsigned int a3)
{
const void *v3; // rax
void *v4; // rax
void *v5; // rax
v3 = (const void *)((__int64 (__fastcall *)(cocos2d::extension::CCControlButton *, unsigned int))a1->getTitleLabelForState)(
a1,
a3);
if ( v3 )
{
v4 = __dynamic_cast(
v3,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol,
-2);
if ( v4 )
{
v5 = __dynamic_cast(
v4,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelTTF,
600);
if ( v5 )
sub_1003BDF30(v5, a2);
}
}
}