//
// CCSpriteWithHue::createWithSpriteFrameName from 0x6dd7dc to 0x6dd810 (52 bytes)
//
// 5 xrefs:
// > GJShopLayer::init @ 0xa80004
// > GJShopLayer::init @ 0xa80098
// > RewardUnlockLayer::init @ 0xa89450
// > SecretLayer5::init @ 0xbc84d0
// > ??> @ 0x105d60
//
// This function is hookable on this platform (idp: arm, 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 12:51:35 +0000
//
cocos2d::CCSprite *__fastcall CCSpriteWithHue::createWithSpriteFrameName(char *a1)
{
cocos2d::CCSpriteFrameCache *v2; // x0
const char *v3; // x1
CCSpriteWithHue *v4; // x0
cocos2d::CCSpriteFrame *v5; // x1
v2 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache((cocos2d::CCSpriteFrameCache *)a1);
v3 = a1 + 1;
if ( (*a1 & 1) != 0 )
v3 = *((const char **)a1 + 2);
v4 = (CCSpriteWithHue *)cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3);
return CCSpriteWithHue::createWithSpriteFrame(v4, v5);
}