//
// CCSpriteWithHue::createWithSpriteFrameName from 0x100238460 to 0x100238494 (52 bytes)
//
// 4 xrefs:
// > SecretLayer5::init @ 0x10007ccfc
// > GJShopLayer::init @ 0x1001c92f0
// > GJShopLayer::init @ 0x1001c953c
// > RewardUnlockLayer::init @ 0x10025aecc
//
// 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 11:01:20 +0000
//
__int64 (__fastcall ***__fastcall CCSpriteWithHue::createWithSpriteFrameName(__int64 *a1))()
{
__int64 v2; // x0
__int64 *v3; // x1
__int64 v4; // x0
v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a1);
if ( *((char *)a1 + 23) >= 0 )
v3 = a1;
else
v3 = (__int64 *)*a1;
v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3);
return CCSpriteWithHue::createWithSpriteFrame(v4);
}