//
// cocos2d::extension::CCScale9Sprite::create_4 from 0x1003e2da0 to 0x1003e2de6 (70 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCControlButton::init @ 0x10033ecf8
// > cocos2d::extension::CCControlButton::initWithTitleAndFontNameAndFontSize @ 0x10033f2d6
//
// This function is hookable on this platform (idp: pc, 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 12:29:46 +0000
//
void *cocos2d::extension::CCScale9Sprite::create_4()
{
void *v0; // rbx
v0 = operator new(0x208u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite((__int64)v0);
if ( (*(unsigned __int8 (__fastcall **)(void *))(*(_QWORD *)v0 + 80LL))(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}