//
// CCSpriteWithHue::createWithSpriteFrameName from 0x1001a3630 to 0x1001a3664 (52 bytes)
//
// 4 xrefs:
// > SecretLayer5::init @ 0x10007454c
// > GJShopLayer::init @ 0x10014a9f8
// > GJShopLayer::init @ 0x10014ac44
// > RewardUnlockLayer::init @ 0x1001c5314
//
// 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
//
CCSpriteWithHue *__fastcall CCSpriteWithHue::createWithSpriteFrameName(__int64 a1)
{
cocos2d::CCSpriteFrameCache *v2; // x0
const char *v3; // x1
cocos2d::CCSpriteFrame *v4; // x0
v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
if ( *(char *)(a1 + 23) >= 0 )
v3 = (const char *)a1;
else
v3 = *(const char **)a1;
v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3);
return CCSpriteWithHue::createWithSpriteFrame(v4);
}