//
// cocos2d::CCSprite::create_1 from 0x100288340 to 0x100288401 (193 bytes)
//
// 89 xrefs:
// > EditorUI::init @ 0x1000094e8
// > ButtonSprite::init @ 0x100092411
// > PlayLayer::setupHasCompleted @ 0x1000ae360
// > PlayLayer::setupHasCompleted @ 0x1000ae387
// > GravityEffectSprite::init @ 0x1000bfbd3
// > GJBaseGameLayer::createBackground @ 0x10011441b
// > EditLevelLayer::init @ 0x1001fa8ce
// > MapPackCell::loadFromMapPack @ 0x100244dbd
// > MapPackCell::loadFromMapPack @ 0x100244e74
// > LevelListCell::loadFromList @ 0x100245d34
// > LevelListCell::loadFromList @ 0x100245de9
// > GJBigSprite::updateSpriteVisibility @ 0x100268bac
// > GJBigSprite::init @ 0x100269ead
// > GJBigSprite::finishedLoadingSpriteAsync @ 0x10026a507
// > LevelAreaLayer::init @ 0x100277a9e
// > CreatorLayer::init @ 0x100297670
// > GJPromoPopup::init @ 0x1002b6553
// > LevelInfoLayer::init @ 0x1002bd620
// > LevelInfoLayer::setupProgressBars @ 0x1002c1089
// > LevelInfoLayer::setupProgressBars @ 0x1002c1128
// > LevelInfoLayer::setupProgressBars @ 0x1002c12a5
// > LevelInfoLayer::setupProgressBars @ 0x1002c134d
// > PromoInterstitial::setup @ 0x1002d462b
// > GJPathPage::init @ 0x100300269
// > GJPathPage::init @ 0x1003002e2
// > Slider::init @ 0x10030488e
// > Slider::init @ 0x1003048d5
// > GameCell::loadFromString @ 0x10030d166
// > cocos2d::extension::CCControlPotentiometer::create @ 0x10035aa88
// > cocos2d::extension::CCControlPotentiometer::create @ 0x10035aa93
// > cocos2d::extension::CCControlPotentiometer::create @ 0x10035aa9e
// > LevelListLayer::init @ 0x10035bff2
// > LevelListLayer::updateStatsArt @ 0x10035e318
// > LevelListLayer::updateStatsArt @ 0x10035e3c6
// > GJGarageLayer::init @ 0x10036930e
// > GauntletLayer::init @ 0x100392b22
// > ChallengeNode::init @ 0x10039efa2
// > ChallengeNode::init @ 0x10039f060
// > cocos2d::extension::CCControlSlider::create_1 @ 0x10039fb81
// > cocos2d::extension::CCControlSlider::create_1 @ 0x10039fb8c
// > cocos2d::extension::CCControlSlider::create_1 @ 0x10039fb97
// > LoadingLayer::init @ 0x1003a275e
// > LoadingLayer::init @ 0x1003a2bf8
// > LoadingLayer::init @ 0x1003a2c1b
// > BoomScrollLayer::init @ 0x1003a4ed3
// > SecretLayer4::init @ 0x1003b0fa4
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x1003c049e
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x1003c04ae
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x1003c04be
// > WorldSelectLayer::init @ 0x1003c1e3f
// > WorldLevelPage::init @ 0x1003c5c0c
// > WorldLevelPage::init @ 0x1003c5cab
// > WorldLevelPage::init @ 0x1003c5d97
// > WorldLevelPage::init @ 0x1003c5e39
// > DialogLayer::displayDialogObject @ 0x1003c79de
// > PauseLayer::setupProgressBars @ 0x1003d694f
// > PauseLayer::setupProgressBars @ 0x1003d69e0
// > PauseLayer::setupProgressBars @ 0x1003d6b5d
// > PauseLayer::setupProgressBars @ 0x1003d6c01
// > LevelSelectLayer::init @ 0x100431cb6
// > LevelPage::init @ 0x1004355fe
// > LevelPage::init @ 0x10043569e
// > LevelPage::init @ 0x1004357a7
// > LevelPage::init @ 0x100435853
// > SecretLayer5::init @ 0x10047a285
// > SecretLayer6::init @ 0x10047ec2b
// > LevelBrowserLayer::init @ 0x10048b16f
// > LevelBrowserLayer::init @ 0x10048b5d8
// > SecretLayer2::init @ 0x10049d4c4
// > SecretLayer3::init @ 0x1004a36e7
// > LoadingCircle::init @ 0x1004bf2b5
// > PlatformToolbox::spriteFromSavedFile @ 0x1004c46c5
// > TutorialLayer::loadPage @ 0x1004dcd03
// > BrowseSmartTemplateLayer::createDots @ 0x1004ea4c3
// > RetryLevelLayer::setupLastProgress @ 0x1004f8d07
// > RetryLevelLayer::setupLastProgress @ 0x1004f8da4
// > MenuGameLayer::init @ 0x1004f9a64
// > LeaderboardsLayer::init @ 0x10051272c
// > GauntletSelectLayer::init @ 0x10057141c
// > TutorialPopup::init @ 0x1005d4421
// > CustomSFXWidget::init @ 0x1005e3622
// > CustomSFXWidget::init @ 0x1005e3649
// > SecretLayer::init @ 0x1005faef8
// > CustomSongWidget::init @ 0x10061b09d
// > CustomSongWidget::init @ 0x10061b0c4
// > CustomSongWidget::init @ 0x10061b504
// > LevelSearchLayer::init @ 0x100627b2c
// > SecretRewardsLayer::init @ 0x100630208
// > CCCountdown::init @ 0x1007c6592
//
// 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_1(const char *a1)
{
__int64 v1; // rsi
char *v2; // rbx
v2 = (char *)operator new(0x258u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v2);
*(_QWORD *)v2 = off_1008F36A8;
*((_QWORD *)v2 + 40) = off_1008F3B80;
*((_QWORD *)v2 + 43) = off_1008F3C00;
v2[379] = 0;
*((_QWORD *)v2 + 52) = 0;
sub_10028D130(v2 + 424, v1);
sub_10028CC30(v2 + 444);
sub_10028CC30(v2 + 452);
*(_WORD *)(v2 + 559) = 0;
*(_OWORD *)(v2 + 564) = 0;
if ( (*(unsigned __int8 (__fastcall **)(char *, const char *))(*(_QWORD *)v2 + 1032LL))(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (cocos2d::CCSprite *)v2;
}