//
// cocos2d::CCSprite::initWithSpriteFrameName from 0x100288ac0 to 0x100288af3 (51 bytes)
//
// 36 xrefs:
// > GJDifficultySprite::create @ 0x1002b6aad
// > GJDifficultySprite::init @ 0x1002b6b38
// > ColorChannelSprite::create @ 0x1002d8c01
// > ColorChannelSprite::init @ 0x1002d8c4c
// > GJPathSprite::init @ 0x100302e3d
// > CCSpritePlus::initWithSpriteFrameName @ 0x100481b8c
// > SearchButton::init @ 0x10062ca7f
// > CurrencySprite::init @ 0x1007aa28c
// > ??> @ 0x1008b41c0
// > ??> @ 0x1008b81a8
// > ??> @ 0x1008dd570
// > ??> @ 0x1008e0aa0
// > ??> @ 0x1008f0718
// > ??> @ 0x1008f3aa8
// > ??> @ 0x100904ea0
// > ??> @ 0x100909a78
// > ??> @ 0x10090bab0
// > ??> @ 0x100913558
// > ??> @ 0x100914800
// > ??> @ 0x100915390
// > ??> @ 0x10091c120
// > ??> @ 0x10091c6a8
// > ??> @ 0x10091db00
// > ??> @ 0x1009280d0
// > ??> @ 0x10092ae28
// > ??> @ 0x100934328
// > ??> @ 0x10093cf78
// > ??> @ 0x100942208
// > ??> @ 0x10094e920
// > ??> @ 0x100974a48
// > ??> @ 0x100975000
// > ??> @ 0x1009755b8
// > ??> @ 0x10097a5a8
// > ??> @ 0x10097ab60
// > ??> @ 0x100985630
// > ??> @ 0x100996240
//
// 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 *a1, const char *a2)
{
cocos2d::CCSpriteFrameCache *v2; // rax
cocos2d::CCSpriteFrame *v3; // rax
v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v3 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, a2);
return ((bool (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))a1->initWithSpriteFrame)(a1, v3);
}