//
// cocos2d::extension::CCControlButton::init from 0x7a6fb0 to 0x7a6fdc (44 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:59 +0000
//
int __fastcall cocos2d::extension::CCControlButton::init(cocos2d::extension::CCControlButton *this)
{
int (__fastcall *v2)(cocos2d::extension::CCControlButton *, cocos2d::extension::CCScale9Sprite *, int); // r5
cocos2d::extension::CCScale9Sprite *v3; // r6
int v4; // r0
v2 = *(int (__fastcall **)(cocos2d::extension::CCControlButton *, cocos2d::extension::CCScale9Sprite *, int))(*(_DWORD *)this + 708);
v3 = (cocos2d::extension::CCScale9Sprite *)cocos2d::CCLabelTTF::create(
(cocos2d::CCLabelTTF *)&unk_B6B226,
"Helvetica",
(const char *)0x41400000,
*(float *)this);
v4 = cocos2d::extension::CCScale9Sprite::create(v3);
return v2(this, v3, v4);
}