//
// cocos2d::extension::CCScale9Sprite::createWithSpriteFrameName from 0xaa3038 to 0xaa30c0 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x90840
//
// 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::createWithSpriteFrameName(const char *a1)
{
cocos2d::extension::CCScale9Sprite *v2; // x19
v2 = (cocos2d::extension::CCScale9Sprite *)operator new(0x208u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite(v2);
if ( v2->initWithSpriteFrameName_0(v2, (const unsigned __int8 *)a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
v2->~CCScale9Sprite_0(v2);
return nullptr;
}
}