//
// cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize from 0xa9a9e8 to 0xa9aa30 (72 bytes)
//
// 3 xrefs:
// > ??> @ 0x3dff8
// > ??> @ 0x11f5250
// > ??> @ 0x11fa860
//
// 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
//
__int64 __fastcall cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize(
__int64 a1,
cocos2d::CCLabelTTF **a2,
const char *a3,
float a4)
{
__int64 (__fastcall *v5)(__int64, __int64, cocos2d::extension::CCScale9Sprite *); // x20
cocos2d::extension::CCScale9Sprite *v6; // x0
__int64 v8; // [xsp+28h] [xbp+28h]
v8 = cocos2d::CCLabelTTF::create(*a2, a3, a3, a4);
v5 = *(__int64 (__fastcall **)(__int64, __int64, cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)a1 + 1400LL);
v6 = cocos2d::extension::CCScale9Sprite::create();
return v5(a1, v8, v6);
}