//
// cocos2d::extension::CCScale9Sprite::create_4 from 0x1003f5bc0 to 0x1003f5c06 (70 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCControlButton::init @ 0x1003535e8
// > cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize @ 0x100353bc6
//
// 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::CCScale9Sprite *__fastcall cocos2d::extension::CCScale9Sprite::create_4()
{
cocos2d::extension::CCScale9Sprite *v0; // rbx
v0 = (cocos2d::extension::CCScale9Sprite *)operator new(0x208u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite((__int64)v0);
if ( ((unsigned __int8 (__fastcall *)(cocos2d::extension::CCScale9Sprite *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *))v0->~CCScale9Sprite_0)(v0);
return nullptr;
}
return v0;
}