//
// cocos2d::CCNode::CCNode from 0x10023ade0 to 0x10023af0c (300 bytes)
//
// 69 xrefs:
// > GJSmartBlockPreview::create @ 0x1000088ac
// > GJSmartBlockPreviewSprite::create @ 0x100009104
// > ColorActionSprite::create @ 0x10000d2d0
// > sub_1000175B4 @ 0x1000175bc
// > CCLightFlash::create @ 0x100030dc0
// > CCLightStrip::create @ 0x100031150
// > ChallengeNode::ChallengeNode @ 0x100033b84
// > GooglePlayManager::sharedState @ 0x100041c8c
// > sub_10004B464 @ 0x10004b474
// > ExplodeItemNode::create @ 0x10005c6c0
// > GameLevelManager::sharedState @ 0x100087bb0
// > GJLevelList::create_1 @ 0x100093000
// > GJFriendRequest::create_1 @ 0x1000b0050
// > GJUserMessage::create_1 @ 0x1000b0164
// > GJSearchObject::create @ 0x1000b02a0
// > GJComment::create_1 @ 0x1000b0d64
// > GJGameLevel::GJGameLevel @ 0x1000b2664
// > GJMapPack::GJMapPack @ 0x1000b2fcc
// > GJUserScore::GJUserScore @ 0x1000b3058
// > AchievementManager::sharedState @ 0x1000b6d6c
// > CustomSongWidget::CustomSongWidget @ 0x1000fe744
// > ConfigureHSVWidget::create @ 0x1000feff0
// > PlayerCheckpoint::PlayerCheckpoint @ 0x1001273d4
// > CheckpointObject::CheckpointObject @ 0x1001277d4
// > OBB2D::create @ 0x10012cbcc
// > FMODAudioEngine::FMODAudioEngine @ 0x10013ed90
// > SongSelectNode::create @ 0x100146e2c
// > cocos2d::CCLayer::CCLayer @ 0x1001484a4
// > MusicDelegateHandler::create @ 0x100153464
// > MusicDownloadManager::sharedState @ 0x100153520
// > SongInfoObject::create @ 0x100158f9c
// > ListButtonBar::create @ 0x100167c70
// > sub_10016C60C @ 0x10016c61c
// > cocos2d::CCParticleSystem::CCParticleSystem @ 0x100193220
// > CommunityCreditNode::create @ 0x1001a02e4
// > DailyLevelNode::DailyLevelNode @ 0x1001bbcb4
// > GauntletNode::create @ 0x1001bf890
// > LocalLevelManager::sharedState @ 0x1001c85a0
// > GJMultiplayerManager::sharedState @ 0x1001ce360
// > cocos2d::CCSpriteBatchNode::createWithTexture @ 0x1001d6f88
// > cocos2d::CCSpriteBatchNode::create @ 0x1001d7128
// > cocos2d::CCSpriteBatchNode::CCSpriteBatchNode @ 0x1001d723c
// > CCNodeContainer::create @ 0x1001dd798
// > AchievementNotifier::sharedState @ 0x1002165cc
// > GJObjectDecoder::sharedDecoder @ 0x100216ad8
// > GauntletSprite::create @ 0x100233a30
// > ObjectDecoder::sharedDecoder @ 0x100235a14
// > cocos2d::CCNode::create @ 0x10023b6b4
// > cocos2d::CCNodeRGBA::CCNodeRGBA @ 0x10023d0dc
// > cocos2d::CCScene::CCScene @ 0x1002403b4
// > ObjectManager::instance @ 0x10024d10c
// > ObjectToolbox::sharedState @ 0x100277a64
// > TextAlertPopup::create @ 0x1002e0138
// > FMODLevelVisualizer::create @ 0x1002e0ecc
// > CustomSFXWidget::create @ 0x1002efb84
// > sub_1002F569C @ 0x1002f56ac
// > GJActionManager::create @ 0x1002fe32c
// > DungeonBarsSprite::create @ 0x10030ef78
// > sub_10031E07C @ 0x10031e098
// > SpriteAnimationManager::createWithOwner @ 0x1003228f8
// > GJStoreItem::create @ 0x10032bdcc
// > sub_1003409A8 @ 0x1003409b0
// > KeybindingsManager::sharedState @ 0x100347258
// > cocos2d::CCLightning::CCLightning @ 0x100347650
// > LevelSettingsObject::create @ 0x1003581f4
// > GJAccountManager::sharedState @ 0x10039e9e8
// > cocos2d::CCRenderTexture::create @ 0x1003c02a4
// > cocos2d::CCRenderTexture::create_1 @ 0x1003c06a8
// > sub_1004216B8 @ 0x1004216c8
//
// 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
//
__int64 __fastcall cocos2d::CCNode::CCNode(__int64 a1)
{
__int64 v2; // x0
cocos2d::CCDirector *v3; // x20
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x0
__int64 v6; // x0
_QWORD *v7; // x20
v2 = cocos2d::CCObject::CCObject(a1);
*(_QWORD *)v2 = &off_1007C8C08;
*(_OWORD *)(v2 + 56) = xmmword_100635DB0;
*(_DWORD *)(v2 + 72) = 0;
sub_1000229B8((__int64 *)(v2 + 76), &qword_10086CE50);
*(_DWORD *)(a1 + 84) = 0;
*(_DWORD *)(a1 + 88) = 0;
sub_1000229B8((__int64 *)(a1 + 92), &qword_10086CE50);
sub_1000229B8((__int64 *)(a1 + 100), &qword_10086CE50);
sub_100022AFC((_QWORD *)(a1 + 108), &dbl_10086CE58);
cocos2d::CCAffineTransformMakeIdentity((cocos2d::CCAffineTransform *)(a1 + 116));
*(_WORD *)(a1 + 272) = 256;
*(_OWORD *)(a1 + 192) = 0u;
*(_OWORD *)(a1 + 208) = 0u;
*(_OWORD *)(a1 + 224) = 0u;
*(_OWORD *)(a1 + 236) = 0u;
*(_BYTE *)(a1 + 274) = 0;
*(_DWORD *)(a1 + 284) = 65537;
*(_BYTE *)(a1 + 288) = 0;
*(_QWORD *)(a1 + 292) = 0;
*(_QWORD *)(a1 + 304) = 0;
*(_WORD *)(a1 + 312) = 0;
v3 = cocos2d::CCDirector::sharedDirector();
v4 = (cocos2d::CCObject *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getActionManager)(v3);
*(_QWORD *)(a1 + 264) = v4;
cocos2d::CCObject::retain(v4);
v5 = (cocos2d::CCObject *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getScheduler)(v3);
*(_QWORD *)(a1 + 256) = v5;
cocos2d::CCObject::retain(v5);
v6 = *(_QWORD *)cocos2d::CCScriptEngineManager::sharedManager();
if ( v6 )
LODWORD(v6) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
*(_DWORD *)(a1 + 300) = v6;
v7 = operator new(0x18u);
cocos2d::CCComponentContainer::CCComponentContainer(v7, a1);
*(_QWORD *)(a1 + 304) = v7;
return a1;
}