//
// cocos2d::CCSprite::initWithSpriteFrameName from 0x18008ee30 to 0x18008ee6d (61 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f1d08
// > ??> @ 0x1800f21f0
// > ??> @ 0x1800f2da0
// > ??> @ 0x18010a1e0
// > ??> @ 0x18010d1f8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bfe74
//
// 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 11:22:07 +0000
//
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 *))(*(_QWORD *)this + 912LL))(
this,
v5);
}