//
// CCSpriteGrayscale::createWithSpriteFrameName from 0x1001a3f84 to 0x1001a3fb8 (52 bytes)
//
// 10 xrefs:
// > SecretLayer5::init @ 0x100074578
// > CreatorLayer::init @ 0x1000b53d8
// > ProfilePage::loadPageFromUserInfo @ 0x1001991d4
// > RewardUnlockLayer::init @ 0x1001c52dc
// > GauntletSprite::addLockedSprite @ 0x100234090
// > LevelListLayer::updateStatsArt @ 0x100245d70
// > LevelAreaInnerLayer::init @ 0x100346000
// > GJPathPage::init @ 0x1003b8b94
// > GJPathPage::init @ 0x1003b90f8
// > GJPathSprite::changeToLockedArt @ 0x1003bab34
//
// 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
//
CCSpriteGrayscale *__fastcall CCSpriteGrayscale::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 CCSpriteGrayscale::createWithSpriteFrame(v4);
}