//
// cocos2d::CCSprite::initWithSpriteFrameName from 0x100237b78 to 0x100237bb4 (60 bytes)
//
// 32 xrefs:
// > ColorChannelSprite::create @ 0x10000ccfc
// > ColorChannelSprite::init @ 0x10000cd50
// > SearchButton::init @ 0x1000551c4
// > CCSpritePlus::initWithSpriteFrameName @ 0x1001b7c94
// > GJDifficultySprite::init @ 0x1002e57b4
// > CurrencySprite::init @ 0x1003221c8
// > GJPathSprite::init @ 0x1003bb6a4
// > ??> @ 0x1007636c0
// > ??> @ 0x1007737f0
// > ??> @ 0x100774128
// > ??> @ 0x100775290
// > ??> @ 0x100777e40
// > ??> @ 0x10077b5e0
// > ??> @ 0x100785e30
// > ??> @ 0x100790bd0
// > ??> @ 0x1007999c0
// > ??> @ 0x1007ace18
// > ??> @ 0x1007ad3d0
// > ??> @ 0x1007b8e48
// > ??> @ 0x1007b9f98
// > ??> @ 0x1007c47f0
// > ??> @ 0x1007c76f8
// > ??> @ 0x1007c81d8
// > ??> @ 0x1007c99f8
// > ??> @ 0x1007c9fb0
// > ??> @ 0x1007e5448
// > ??> @ 0x1007ea470
// > ??> @ 0x1007eaa28
// > ??> @ 0x1007ec658
// > ??> @ 0x1007ecbe0
// > ??> @ 0x10080af90
// > ??> @ 0x100810fa0
//
// 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 *v4; // x0
cocos2d::CCSpriteFrame *v5; // x1
v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, a2);
return ((bool (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))a1->initWithSpriteFrame)(a1, v5);
}