//
// cocos2d::CCSprite::initWithSpriteFrameName from 0x7f0958 to 0x7f0978 (32 bytes)
//
// 7 xrefs:
// > CCSpritePlus::initWithSpriteFrameName @ 0x3e6584
// > EmoteSprite::initWithDef @ 0x3f43d2
// > SearchButton::init @ 0x49533c
// > ColorChannelSprite::init @ 0x5c1f1c
// > GJDifficultySprite::init @ 0x5e0252
// > CurrencySprite::init @ 0x604660
// > GJPathSprite::init @ 0x6d23ec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:04 +0000
//
int __fastcall cocos2d::CCSprite::initWithSpriteFrameName(cocos2d::CCSprite *this, const char *a2)
{
cocos2d::CCSpriteFrameCache *v4; // r0
int v5; // r0
v4 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(this);
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, a2);
return (*(int (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)this + 516))(this, v5);
}