//
// cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize from 0xd0c5b4 to 0xd0c608 (84 bytes)
//
// 3 xrefs:
// > ??> @ 0xbbc48
// > ??> @ 0x150aa00
// > ??> @ 0x1510180
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:00 +0000
//
__int64 __fastcall cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize(
cocos2d::extension::CCScale9Sprite **a1,
__int64 a2,
char *a3,
float a4)
{
cocos2d::CCLabelTTF *v5; // x0
__int64 (__fastcall *v6)(cocos2d::extension::CCScale9Sprite **, __int64, __int64); // x20
__int64 v7; // x0
__int64 v9; // [xsp+28h] [xbp+28h]
v5 = (cocos2d::CCLabelTTF *)(a2 + 1);
if ( (*(_BYTE *)a2 & 1) != 0 )
v5 = *(cocos2d::CCLabelTTF **)(a2 + 16);
v9 = cocos2d::CCLabelTTF::create(v5, a3, a3, a4);
v6 = *((__int64 (__fastcall **)(cocos2d::extension::CCScale9Sprite **, __int64, __int64))*a1 + 177);
v7 = cocos2d::extension::CCScale9Sprite::create(*a1);
return v6(a1, v9, v7);
}