//
// CCSpriteGrayscale::createWithSpriteFrameName from 0x100238db4 to 0x100238de8 (52 bytes)
//
// 11 xrefs:
// > sub_100047A38 @ 0x100047a80
// > SecretLayer5::init @ 0x10007cd28
// > CreatorLayer::init @ 0x1000dad78
// > ProfilePage::loadPageFromUserInfo @ 0x10022c878
// > RewardUnlockLayer::init @ 0x10025ae94
// > sub_1002D008C @ 0x1002d00d0
// > LevelListLayer::updateStatsArt @ 0x1002e2eb8
// > LevelAreaInnerLayer::init @ 0x1003e477c
// > sub_10045F6C4 @ 0x10045f84c
// > sub_10045F6C4 @ 0x10045fdb0
// > sub_10046178C @ 0x1004617ec
//
// 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 CCSpriteGrayscale::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 CCSpriteGrayscale::createWithSpriteFrame(v4);
}