//
// CCSpriteWithHue::createWithSpriteFrameName from 0x3f27c8 to 0x3f27e6 (30 bytes)
//
// 4 xrefs:
// > GJShopLayer::init @ 0x612c5e
// > GJShopLayer::init @ 0x612e2c
// > RewardUnlockLayer::init @ 0x6199d4
// > SecretLayer5::init @ 0x6e5f9c
//
// 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 11:47:14 +0000
//
CCSpriteWithHue *__fastcall CCSpriteWithHue::createWithSpriteFrameName(char *a1)
{
cocos2d::CCSpriteFrameCache *v2; // r0
const char *v3; // r1
CCSpriteWithHue *v4; // r0
cocos2d::CCSpriteFrame *v5; // r1
v2 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache((cocos2d::CCSpriteFrameCache *)a1);
if ( (*a1 & 1) != 0 )
v3 = *((const char **)a1 + 2);
else
v3 = a1 + 1;
v4 = (CCSpriteWithHue *)cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3);
return CCSpriteWithHue::createWithSpriteFrame(v4, v5);
}