//
// cocos2d::extension::CCScale9Sprite::createWithSpriteFrame from 0xaa2ee0 to 0xaa2f68 (136 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState @ 0xa9b15c
// > ??> @ 0x60bd0
//
// 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; // x19
v2 = (cocos2d::extension::CCScale9Sprite *)operator new(0x208u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite(v2);
if ( v2->initWithSpriteFrame_0(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
v2->~CCScale9Sprite_0(v2);
return nullptr;
}
}