//
// CCSpriteWithHue::createWithSpriteFrameName from 0x1006c3060 to 0x1006c3095 (53 bytes)
//
// 4 xrefs:
// > RewardUnlockLayer::init @ 0x1001ffa82
// > GJShopLayer::init @ 0x10030eb9e
// > GJShopLayer::init @ 0x10030ee48
// > SecretLayer5::init @ 0x10046f10e
//
// This function is hookable on this platform (idp: pc, 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:35:32 +0000
//
__int64 (__fastcall ***__fastcall CCSpriteWithHue::createWithSpriteFrameName(__int64 a1))()
{
__int64 v1; // rax
const char *v2; // rbx
__int64 v3; // rax
v1 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
if ( (*(_BYTE *)a1 & 1) != 0 )
v2 = *(const char **)(a1 + 16);
else
v2 = (const char *)(a1 + 1);
v3 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v1, v2);
return CCSpriteWithHue::createWithSpriteFrame(v3);
}