//
// cocos2d::extension::CCScale9Sprite::createWithSpriteFrame from 0x5a69f0 to 0x5a6a32 (66 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState @ 0x5a1904
//
// 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 *cocos2d::extension::CCScale9Sprite::createWithSpriteFrame(
cocos2d::CCSpriteFrame *a1)
{
cocos2d::extension::CCScale9Sprite *v2; // r4
v2 = (cocos2d::extension::CCScale9Sprite *)operator new(0x1A4u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite(v2);
if ( ((int (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteFrame *))v2->initWithSpriteFrame_0)(
v2,
a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
v2->~CCScale9Sprite_0(v2);
return nullptr;
}
}