//
// cocos2d::extension::CCControlButton::create_2 from 0x100353dd0 to 0x100353ed8 (264 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
//
cocos2d::extension::CCControlButton *__fastcall cocos2d::extension::CCControlButton::create_2(
cocos2d::extension::CCScale9Sprite *a1)
{
cocos2d::extension::CCControlButton *v1; // rbx
v1 = (cocos2d::extension::CCControlButton *)operator new(0x238u);
cocos2d::extension::CCControl::CCControl((__int64)v1);
v1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::extension::CCControlButton_vtbl *)off_100915C18;
v1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100916230;
v1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1009162A0;
v1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1009162B8;
v1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1009162D8;
v1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1009162F8;
v1->cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100916320;
v1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = nullptr;
v1[1].m_uID = 0xFFFFFF;
*(_OWORD *)&v1[1].m_nTag = 0;
sub_10028CF90(&v1[1].m_uIndexInArray);
LOBYTE(v1[1].m_unknown2) = 0;
sub_10028CC30(&v1[1].m_nZOrder);
LOWORD(v1[1].m_unknown5) = 0;
*(_OWORD *)&v1[1].m_fRotationX = 0;
*(_OWORD *)&v1[1].m_fVertexZ = 0;
*(_QWORD *)&v1[1].m_fSkewY = 0x800000002LL;
((void (__fastcall *)(cocos2d::extension::CCControlButton *, cocos2d::extension::CCScale9Sprite *))v1->initWithBackgroundSprite)(
v1,
a1);
cocos2d::CCObject::autorelease(v1);
return v1;
}