//
// cocos2d::CCSprite::create from 0x10023768c to 0x1002376f4 (104 bytes)
//
// 70 xrefs:
// > LevelInfoLayer::init @ 0x1000244c4
// > LevelInfoLayer::setupProgressBars @ 0x100027be0
// > LevelInfoLayer::setupProgressBars @ 0x100027c84
// > LevelInfoLayer::setupProgressBars @ 0x100027ddc
// > LevelInfoLayer::setupProgressBars @ 0x100027e80
// > ChallengeNode::init @ 0x1000333d4
// > ChallengeNode::init @ 0x100033498
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x10004d2c4
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x10004d2d4
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x10004d2e4
// > LevelSearchLayer::init @ 0x1000514ac
// > ButtonSprite::init @ 0x10005ed18
// > BrowseSmartTemplateLayer::createDots @ 0x100072578
// > SecretLayer5::init @ 0x100074140
// > DialogLayer::displayDialogObject @ 0x100086e68
// > CreatorLayer::init @ 0x1000b50fc
// > EditLevelLayer::init @ 0x1000e8f48
// > CustomSongWidget::init @ 0x1000fa05c
// > CustomSongWidget::init @ 0x1000fa084
// > CustomSongWidget::init @ 0x1000fa46c
// > MapPackCell::loadFromMapPack @ 0x10010323c
// > MapPackCell::loadFromMapPack @ 0x1001032ec
// > LevelListCell::loadFromList @ 0x100104100
// > LevelListCell::loadFromList @ 0x1001041c0
// > PlayLayer::setupHasCompleted @ 0x100116e44
// > PlayLayer::setupHasCompleted @ 0x100116e6c
// > GravityEffectSprite::init @ 0x100122ed8
// > BoomScrollLayer::init @ 0x10012b264
// > PauseLayer::setupProgressBars @ 0x1001429cc
// > PauseLayer::setupProgressBars @ 0x100142a60
// > PauseLayer::setupProgressBars @ 0x100142bb8
// > PauseLayer::setupProgressBars @ 0x100142c60
// > RetryLevelLayer::setupLastProgress @ 0x1001b36c4
// > RetryLevelLayer::setupLastProgress @ 0x1001b375c
// > TutorialLayer::loadPage @ 0x1001bd85c
// > GauntletSelectLayer::init @ 0x1001be70c
// > GameCell::loadFromString @ 0x1001d0530
// > LoadingLayer::init @ 0x1001d60ac
// > LoadingLayer::init @ 0x1001d6504
// > LoadingLayer::init @ 0x1001d652c
// > GJBaseGameLayer::createBackground @ 0x1001ddc84
// > GauntletLayer::init @ 0x1002323b4
// > LevelListLayer::init @ 0x1002433f4
// > LevelListLayer::updateStatsArt @ 0x1002453d8
// > LevelListLayer::updateStatsArt @ 0x100245488
// > GJPromoPopup::init @ 0x1002e5304
// > SecretRewardsLayer::init @ 0x1002e80f8
// > Slider::init @ 0x1002ef5f8
// > Slider::init @ 0x1002ef63c
// > CustomSFXWidget::init @ 0x1002f0778
// > CustomSFXWidget::init @ 0x1002f07a0
// > GJGarageLayer::init @ 0x100301be4
// > SecretLayer2::init @ 0x100309a40
// > SecretLayer3::init @ 0x10030de58
// > LevelAreaLayer::init @ 0x100343d08
// > SecretLayer4::init @ 0x100354108
// > LoadingCircle::init @ 0x100399ff4
// > MenuGameLayer::init @ 0x10039a5e8
// > LeaderboardsLayer::init @ 0x1003b0978
// > GJPathPage::init @ 0x1003b985c
// > GJPathPage::init @ 0x1003b98d0
// > SecretLayer::init @ 0x1003bd5d8
// > EditorUI::init @ 0x1003c5110
// > LevelSelectLayer::init @ 0x100401a0c
// > LevelPage::init @ 0x10040414c
// > LevelPage::init @ 0x1004041e4
// > LevelPage::init @ 0x1004042cc
// > LevelPage::init @ 0x100404380
// > LevelBrowserLayer::init @ 0x1004143b8
// > LevelBrowserLayer::init @ 0x100414828
//
// 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
//
cocos2d::CCSprite *__fastcall cocos2d::CCSprite::create(const char *a1)
{
cocos2d::CCSprite *v2; // x19
v2 = (cocos2d::CCSprite *)operator new(0x258u);
cocos2d::CCSprite::CCSprite(v2);
if ( ((unsigned int (__fastcall *)(cocos2d::CCSprite *, const char *))v2->initWithFile)(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(cocos2d::CCSprite *))v2->~CCSprite_0)(v2);
return nullptr;
}
return v2;
}