//
// cocos2d::CCSprite::create_1 from 0x1002738a0 to 0x100273961 (193 bytes)
//
// 84 xrefs:
// > EditorUI::init @ 0x100005642
// > ButtonSprite::init @ 0x1000597d7
// > PlayLayer::setupHasCompleted @ 0x10007b911
// > PlayLayer::setupHasCompleted @ 0x10007b938
// > GravityEffectSprite::init @ 0x10008df73
// > GJBaseGameLayer::createBackground @ 0x1000f06bb
// > EditLevelLayer::init @ 0x1001dced4
// > MapPackCell::loadFromMapPack @ 0x10022aa0d
// > MapPackCell::loadFromMapPack @ 0x10022aac4
// > LevelListCell::loadFromList @ 0x10022b9b4
// > LevelListCell::loadFromList @ 0x10022ba93
// > GJBigSprite::updateSpriteVisibility @ 0x100252bac
// > GJBigSprite::init @ 0x100253e9d
// > GJBigSprite::finishedLoadingSpriteAsync @ 0x1002544f7
// > LevelAreaLayer::init @ 0x10026409e
// > CreatorLayer::init @ 0x10028206f
// > sub_1002A4500 @ 0x1002a45d3
// > LevelInfoLayer::init @ 0x1002aa036
// > PromoInterstitial::setup @ 0x1002c128b
// > GJPathPage::init @ 0x1002eaf49
// > GJPathPage::init @ 0x1002eafc2
// > Slider::init @ 0x1002ef7ae
// > Slider::init @ 0x1002ef7f5
// > GameCell::loadFromString @ 0x1002f7b86
// > cocos2d::extension::CCControlPotentiometer::create @ 0x100346018
// > cocos2d::extension::CCControlPotentiometer::create @ 0x100346023
// > cocos2d::extension::CCControlPotentiometer::create @ 0x10034602e
// > LevelListLayer::init @ 0x1003475a4
// > LevelListLayer::updateStatsArt @ 0x100349908
// > LevelListLayer::updateStatsArt @ 0x1003499b6
// > GJGarageLayer::init @ 0x10035271e
// > GauntletLayer::init @ 0x10037da82
// > ChallengeNode::init @ 0x100388a32
// > ChallengeNode::init @ 0x100388af0
// > cocos2d::extension::CCControlSlider::create_1 @ 0x100389621
// > cocos2d::extension::CCControlSlider::create_1 @ 0x10038962c
// > cocos2d::extension::CCControlSlider::create_1 @ 0x100389637
// > LoadingLayer::init @ 0x10038bd6e
// > LoadingLayer::init @ 0x10038c20b
// > LoadingLayer::init @ 0x10038c22e
// > BoomScrollLayer::init @ 0x10038e4f3
// > SecretLayer4::init @ 0x10039a3a4
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x1003a989e
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x1003a98ae
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x1003a98be
// > WorldSelectLayer::init @ 0x1003ab23f
// > WorldLevelPage::init @ 0x1003af0fc
// > WorldLevelPage::init @ 0x1003af19b
// > WorldLevelPage::init @ 0x1003af287
// > WorldLevelPage::init @ 0x1003af329
// > DialogLayer::displayDialogObject @ 0x1003b0ece
// > LevelSelectLayer::init @ 0x10041f426
// > LevelPage::init @ 0x10042309e
// > LevelPage::init @ 0x10042313e
// > LevelPage::init @ 0x100423247
// > LevelPage::init @ 0x1004232f3
// > SecretLayer5::init @ 0x10046ebe5
// > SecretLayer6::init @ 0x10047358b
// > LevelBrowserLayer::init @ 0x100480869
// > LevelBrowserLayer::init @ 0x100480da8
// > SecretLayer2::init @ 0x100496494
// > SecretLayer3::init @ 0x10049c6b7
// > LoadingCircle::init @ 0x1004b81b5
// > PlatformToolbox::spriteFromSavedFile @ 0x1004bd8d5
// > TutorialLayer::loadPage @ 0x1004d7e43
// > BrowseSmartTemplateLayer::createDots @ 0x1004e4f83
// > GameToolbox::createProgressBar @ 0x1004ec20b
// > GameToolbox::addProgressBarFill @ 0x1004ec299
// > MenuGameLayer::init @ 0x1004f88f4
// > LeaderboardsLayer::init @ 0x10051375c
// > GauntletSelectLayer::init @ 0x10059e71c
// > TutorialPopup::init @ 0x1006a5d61
// > EditButtonBar::loadFromItems @ 0x1006b47c7
// > CustomSFXWidget::init @ 0x1006b65c8
// > CustomSFXWidget::init @ 0x1006b65ef
// > SecretLayer::init @ 0x1006d1cf8
// > CustomSongWidget::init @ 0x1006f7bd1
// > CustomSongWidget::init @ 0x1006f7bf8
// > CustomSongWidget::init @ 0x1006f80d0
// > LevelSearchLayer::init @ 0x1007044bb
// > SecretRewardsLayer::init @ 0x10070ce38
// > CCCountdown::init @ 0x1008ade22
// > sub_1008B5630 @ 0x1008b5665
// > NewsPopup::rebuildPage @ 0x100959fa2
//
// This function is hookable on this platform (idp: pc, 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:27:38 +0000
//
char *__fastcall cocos2d::CCSprite::create_1(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x258u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v1);
*(_QWORD *)v1 = off_100AF9ED0;
*((_QWORD *)v1 + 40) = off_100AFA3B8;
*((_QWORD *)v1 + 43) = off_100AFA438;
v1[379] = 0;
*((_QWORD *)v1 + 52) = 0;
sub_1002787A0(v1 + 424);
sub_1002782A0(v1 + 444);
sub_1002782A0(v1 + 452);
*(_WORD *)(v1 + 559) = 0;
*(_OWORD *)(v1 + 564) = 0;
if ( (*(unsigned __int8 (__fastcall **)(char *, __int64))(*(_QWORD *)v1 + 1048LL))(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}