//
// cocos2d::CCSprite::create from 0x1002d409c to 0x1002d4104 (104 bytes)
//
// 65 xrefs:
// > LevelInfoLayer::init @ 0x100027a84
// > ChallengeNode::init @ 0x100036ed4
// > ChallengeNode::init @ 0x100036f98
// > GameToolbox::createProgressBar @ 0x100049ffc
// > sub_10004A06C @ 0x10004a0a8
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x100055a98
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x100055aa8
// > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x100055ab8
// > LevelSearchLayer::init @ 0x100059cdc
// > ButtonSprite::init @ 0x100067a1c
// > sub_10007ACA0 @ 0x10007ad18
// > SecretLayer5::init @ 0x10007c8f0
// > DialogLayer::displayDialogObject @ 0x1000902d4
// > CreatorLayer::init @ 0x1000daa88
// > EditLevelLayer::init @ 0x10010ee14
// > CustomSongWidget::init @ 0x10011ec5c
// > CustomSongWidget::init @ 0x10011ec84
// > CustomSongWidget::init @ 0x10011f118
// > MapPackCell::loadFromMapPack @ 0x100128414
// > MapPackCell::loadFromMapPack @ 0x1001284c4
// > LevelListCell::loadFromList @ 0x100129308
// > LevelListCell::loadFromList @ 0x1001293ec
// > PlayLayer::setupHasCompleted @ 0x10013fb04
// > PlayLayer::setupHasCompleted @ 0x10013fb2c
// > GravityEffectSprite::init @ 0x10014c980
// > BoomScrollLayer::init @ 0x100154ca4
// > TutorialLayer::loadPage @ 0x1002532e0
// > GauntletSelectLayer::init @ 0x100254204
// > sub_100268324 @ 0x100268518
// > LoadingLayer::init @ 0x10026e600
// > LoadingLayer::init @ 0x10026ea5c
// > LoadingLayer::init @ 0x10026ea84
// > GJBaseGameLayer::createBackground @ 0x10027819c
// > GauntletLayer::init @ 0x1002ce3f0
// > LevelListLayer::init @ 0x1002e04a0
// > LevelListLayer::updateStatsArt @ 0x1002e2514
// > LevelListLayer::updateStatsArt @ 0x1002e25c4
// > sub_1003800D8 @ 0x1003801a4
// > SecretRewardsLayer::init @ 0x100383280
// > Slider::init @ 0x10038a838
// > Slider::init @ 0x10038a87c
// > CustomSFXWidget::init @ 0x10038c164
// > CustomSFXWidget::init @ 0x10038c18c
// > GJGarageLayer::init @ 0x10039e8d4
// > SecretLayer2::init @ 0x1003a675c
// > SecretLayer3::init @ 0x1003aab70
// > LevelAreaLayer::init @ 0x1003e2484
// > SecretLayer4::init @ 0x1003f39f8
// > LoadingCircle::init @ 0x1004415cc
// > MenuGameLayer::init @ 0x100441bc0
// > LeaderboardsLayer::init @ 0x100457950
// > sub_10045F6C4 @ 0x100460514
// > sub_10045F6C4 @ 0x100460588
// > SecretLayer::init @ 0x100464308
// > EditorUI::init @ 0x10046e7b4
// > LevelSelectLayer::init @ 0x100482270
// > LevelPage::init @ 0x100484bb4
// > LevelPage::init @ 0x100484c4c
// > LevelPage::init @ 0x100484d34
// > LevelPage::init @ 0x100484de8
// > LevelBrowserLayer::init @ 0x100495160
// > LevelBrowserLayer::init @ 0x1004955f4
// > EditButtonBar::loadFromItems @ 0x1004a355c
// > ControllerInputNode::init @ 0x1004aada8
// > sub_100518264 @ 0x100518d5c
//
// 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:02:40 +0000
//
void *__fastcall cocos2d::CCSprite::create(__int64 a1)
{
void *v2; // x19
v2 = operator new(0x258u);
cocos2d::CCSprite::CCSprite(v2);
if ( (*(unsigned int (__fastcall **)(void *, __int64))(*(_QWORD *)v2 + 1048LL))(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}