//
// cocos2d::CCSprite::initWithSpriteFrameName from 0x18008bc40 to 0x18008bc7a (58 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800ebc08
// > ??> @ 0x1800ec0e0
// > ??> @ 0x1800ecc60
// > ??> @ 0x180103b18
// > ??> @ 0x180106b10
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b5ba4
//
// 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
//
bool __fastcall cocos2d::CCSprite::initWithSpriteFrameName(cocos2d::CCSprite *this, const char *a2)
{
cocos2d::CCSpriteFrameCache *v4; // rax
struct cocos2d::CCSpriteFrame *v5; // rax
v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, a2);
return ((bool (__fastcall *)(cocos2d::CCSprite *, struct cocos2d::CCSpriteFrame *))this->initWithSpriteFrame)(
this,
v5);
}