//
// CCSpriteGrayscale::createWithSpriteFrameName from 0x6de504 to 0x6de538 (52 bytes)
//
// 12 xrefs:
// > GameToolbox::createOnOffSprite @ 0x69ef48
// > CreatorLayer::init @ 0x7dd4d0
// > ProfilePage::loadPageFromUserInfo @ 0xa5a954
// > GauntletSprite::addLockedSprite @ 0xa77e28
// > RewardUnlockLayer::init @ 0xa89ad0
// > LevelAreaInnerLayer::init @ 0xb5cf28
// > GJPathSprite::changeToLockedArt @ 0xba529c
// > GJPathPage::init @ 0xba6434
// > GJPathPage::init @ 0xba7284
// > LevelListLayer::updateStatsArt @ 0xbabb78
// > SecretLayer5::init @ 0xbc8500
// > ??> @ 0xfc9a0
//
// 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 12:51:35 +0000
//
cocos2d::CCSprite *__fastcall CCSpriteGrayscale::createWithSpriteFrameName(char *a1)
{
cocos2d::CCSpriteFrameCache *v2; // x0
const char *v3; // x1
CCSpriteGrayscale *v4; // x0
cocos2d::CCSpriteFrame *v5; // x1
v2 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache((cocos2d::CCSpriteFrameCache *)a1);
v3 = a1 + 1;
if ( (*a1 & 1) != 0 )
v3 = *((const char **)a1 + 2);
v4 = (CCSpriteGrayscale *)cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3);
return CCSpriteGrayscale::createWithSpriteFrame(v4, v5);
}