//
// cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize from 0x5a133c to 0x5a1364 (40 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize(
int a1,
cocos2d::CCLabelTTF **a2,
const char *a3,
const char *a4)
{
int v5; // r0
int (__fastcall *v6)(int, int, cocos2d::extension::CCScale9Sprite *); // r5
int v7; // r6
cocos2d::extension::CCScale9Sprite *v8; // r0
v5 = cocos2d::CCLabelTTF::create(*a2, a3, a4, *(float *)&a4);
v6 = *(int (__fastcall **)(int, int, cocos2d::extension::CCScale9Sprite *))(*(_DWORD *)a1 + 700);
v7 = v5;
v8 = cocos2d::extension::CCScale9Sprite::create();
return v6(a1, v7, v8);
}