//
// cocos2d::CCDirector::sharedDirector from 0x1800c3500 to 0x1800c35ce (206 bytes)
//
// 283 xrefs:
// > cocos2d::CCNode::CCNode @ 0x18000278b
// > cocos2d::CCNode::convertToWindowSpace @ 0x180002f9e
// > cocos2d::ccPointSize @ 0x180011f7c
// > cocos2d::CCGridBase::afterDraw @ 0x180022b0d
// > cocos2d::CCGridBase::beforeDraw @ 0x180022bc9
// > cocos2d::CCGridBase::initWithSize @ 0x180023a56
// > cocos2d::CCGridBase::set2DProjection @ 0x180023dc9
// > cocos2d::CCGridBase::setActive @ 0x180023e8b
// > cocos2d::CCFollow::initWithTarget @ 0x18002486c
// > cocos2d::CCSplitRows::startWithTarget @ 0x18003be0e
// > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0x180045c23
// > cocos2d::CCLabelAtlas::initWithString @ 0x180047a51
// > cocos2d::CCLabelAtlas::initWithString @ 0x180047b1b
// > cocos2d::CCLabelAtlas::updateAtlasValues @ 0x18004803f
// > cocos2d::CCLabelAtlas::updateAtlasValues @ 0x18004805e
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180049856
// > cocos2d::CCLabelBMFont::createFontChars @ 0x18004986f
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180049886
// > cocos2d::CCLabelBMFont::createFontChars @ 0x18004989d
// > cocos2d::CCLabelBMFont::createFontChars @ 0x18004996f
// > cocos2d::CCLabelBMFont::createFontChars @ 0x1800499a6
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180049aa8
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180049af3
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180049b09
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180049bc0
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180049bd7
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004f75a
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004f7c0
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004f7dc
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004f841
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004f89c
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004f8b8
// > cocos2d::CCLabelTTF::updateTexture @ 0x1800506fb
// > cocos2d::CCLabelTTF::updateTexture @ 0x18005071a
// > cocos2d::CCLabelTTF::updateTexture @ 0x180050737
// > cocos2d::CCLayer::init @ 0x180051c89
// > cocos2d::CCLayerColor::init @ 0x180051cd9
// > cocos2d::CCLayerRGBA::init @ 0x180051d59
// > cocos2d::CCLayerMultiplex::initWithArray @ 0x180051e10
// > cocos2d::CCLayerColor::initWithColor @ 0x180051ed0
// > cocos2d::CCLayerColor::initWithColor @ 0x180051f30
// > cocos2d::CCLayerGradient::initWithColor @ 0x18005212c
// > cocos2d::CCLayerMultiplex::initWithLayers @ 0x180052188
// > cocos2d::CCLayer::keyDown @ 0x180052321
// > cocos2d::CCLayer::onEnter @ 0x1800523a2
// > cocos2d::CCLayer::onEnterTransitionDidFinish @ 0x1800524b7
// > cocos2d::CCLayer::onExit @ 0x180052517
// > cocos2d::CCLayer::registerWithTouchDispatcher @ 0x180052739
// > cocos2d::CCLayer::setAccelerometerEnabled @ 0x1800527d7
// > cocos2d::CCLayer::setAccelerometerInterval @ 0x18005284e
// > cocos2d::CCLayer::setKeyboardEnabled @ 0x180052a1c
// > cocos2d::CCLayer::setKeypadEnabled @ 0x180052ac7
// > cocos2d::CCLayer::setMouseEnabled @ 0x180052b6c
// > cocos2d::CCLayer::setTouchEnabled @ 0x180052d08
// > cocos2d::CCScene::init @ 0x180053999
// > cocos2d::CCTransitionSlideInB::action @ 0x18005486e
// > cocos2d::CCTransitionSlideInL::action @ 0x1800548ce
// > cocos2d::CCTransitionSlideInR::action @ 0x18005492e
// > cocos2d::CCTransitionSlideInT::action @ 0x18005498e
// > cocos2d::CCTransitionScene::hideOutShowIn @ 0x180056444
// > cocos2d::CCTransitionMoveInB::initScenes @ 0x18005646d
// > cocos2d::CCTransitionMoveInL::initScenes @ 0x1800564cd
// > cocos2d::CCTransitionMoveInR::initScenes @ 0x18005652d
// > cocos2d::CCTransitionMoveInT::initScenes @ 0x18005658d
// > cocos2d::CCTransitionSlideInB::initScenes @ 0x1800565ed
// > cocos2d::CCTransitionSlideInL::initScenes @ 0x18005665d
// > cocos2d::CCTransitionSlideInR::initScenes @ 0x1800566cd
// > cocos2d::CCTransitionSlideInT::initScenes @ 0x18005672d
// > cocos2d::CCTransitionScene::initWithDuration @ 0x180056811
// > cocos2d::CCTransitionScene::initWithDuration @ 0x18005684a
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x180056912
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x180056955
// > cocos2d::CCTransitionFade::onEnter @ 0x180056c97
// > cocos2d::CCTransitionFadeTR::onEnter @ 0x180056dee
// > cocos2d::CCTransitionFadeTR::onEnter @ 0x180056e2b
// > cocos2d::CCTransitionFlipAngular::onEnter @ 0x180056f26
// > cocos2d::CCTransitionFlipX::onEnter @ 0x180057136
// > cocos2d::CCTransitionFlipY::onEnter @ 0x18005733b
// > cocos2d::CCTransitionJumpZoom::onEnter @ 0x180057534
// > cocos2d::CCTransitionJumpZoom::onEnter @ 0x18005756f
// > cocos2d::CCTransitionMoveInL::onEnter @ 0x180057750
// > cocos2d::CCTransitionMoveInL::onEnter @ 0x1800577ad
// > cocos2d::CCTransitionRotoZoom::onEnter @ 0x18005784a
// > cocos2d::CCTransitionScene::onEnter @ 0x180057a0e
// > cocos2d::CCTransitionShrinkGrow::onEnter @ 0x180057a70
// > cocos2d::CCTransitionSlideInL::onEnter @ 0x180057c20
// > cocos2d::CCTransitionSplitCols::onEnter @ 0x180057d40
// > cocos2d::CCTransitionTurnOffTiles::onEnter @ 0x180057e59
// > cocos2d::CCTransitionTurnOffTiles::onEnter @ 0x180057e94
// > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x180057f90
// > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x180058230
// > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x1800584b5
// > cocos2d::CCTransitionCrossFade::onExit @ 0x180058722
// > cocos2d::CCTransitionFade::onExit @ 0x18005877e
// > cocos2d::CCTransitionScene::onExit @ 0x1800587ee
// > cocos2d::CCTransitionScene::setNewScene @ 0x180058869
// > cocos2d::CCTransitionPageTurn::onEnter @ 0x180058a9e
// > cocos2d::CCTransitionProgress::onEnter @ 0x180059491
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x180059692
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800597a2
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800598b2
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x1800599c2
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180059a92
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180059b62
// > cocos2d::CCMenu::alignItemsInColumnsWithArray @ 0x18005a47f
// > cocos2d::CCMenu::alignItemsInRowsWithArray @ 0x18005a995
// > cocos2d::CCMenu::giveMenuTouchPriority @ 0x18005b439
// > cocos2d::CCMenu::initWithArray @ 0x18005b4cb
// > cocos2d::CCMenu::registerWithTouchDispatcher @ 0x18005b8cd
// > cocos2d::CCMenu::setHandlerPriority @ 0x18005b9cf
// > cocos2d::CCClippingNode::visit @ 0x18005e780
// > cocos2d::CCRenderTexture::begin @ 0x1800615da
// > cocos2d::CCRenderTexture::clear @ 0x180061a67
// > cocos2d::CCRenderTexture::clearDepth @ 0x180061b11
// > cocos2d::CCRenderTexture::draw @ 0x180061f1d
// > cocos2d::CCRenderTexture::end @ 0x180061f8d
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x180062063
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x18006207f
// > cocos2d::CCRenderTexture::newCCImage @ 0x1800625cd
// > cocos2d::CCMouseDispatcher::dispatchRightClick @ 0x180062f22
// > cocos2d::CCMouseDispatcher::dispatchScrollMSG @ 0x180063092
// > cocos2d::CCParticleExplosion::initWithTotalParticles @ 0x1800660fd
// > cocos2d::CCParticleFire::initWithTotalParticles @ 0x1800662f3
// > cocos2d::CCParticleFireworks::initWithTotalParticles @ 0x1800664bf
// > cocos2d::CCParticleFlower::initWithTotalParticles @ 0x180066727
// > cocos2d::CCParticleGalaxy::initWithTotalParticles @ 0x180066967
// > cocos2d::CCParticleMeteor::initWithTotalParticles @ 0x180066b87
// > cocos2d::CCParticleRain::initWithTotalParticles @ 0x180066dc1
// > cocos2d::CCParticleSmoke::initWithTotalParticles @ 0x180066fbf
// > cocos2d::CCParticleSnow::initWithTotalParticles @ 0x1800671e6
// > cocos2d::CCParticleSpiral::initWithTotalParticles @ 0x18006742e
// > cocos2d::CCParticleSun::initWithTotalParticles @ 0x18006765d
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006ca15
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006ca2c
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006ca48
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006ca60
// > cocos2d::CCEGLViewProtocol::handleRightClick @ 0x18006db52
// > cocos2d::CCEGLViewProtocol::handleRightClick @ 0x18006db69
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006e244
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006e260
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006e26d
// > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006e5e0
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x180070cbb
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x180070ce3
// > cocos2d::CCFileUtils::shouldUseHD @ 0x180073b64
// > cocos2d::CCApplication::checkMonitorChanged @ 0x180075515
// > cocos2d::CCApplication::gameDidSave @ 0x18007557a
// > cocos2d::CCApplication::run @ 0x180075f57
// > cocos2d::CCApplication::run @ 0x180075f5f
// > cocos2d::CCApplication::run @ 0x180076259
// > cocos2d::CCApplication::run @ 0x180076292
// > cocos2d::CCApplication::run @ 0x1800762a2
// > cocos2d::CCApplication::run @ 0x1800762b0
// > cocos2d::CCApplication::setupGLView @ 0x180076929
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076c20
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076c92
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076ce4
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076d36
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076d84
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076dd6
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076e28
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076e74
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076ec0
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076f11
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076f60
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076f96
// > cocos2d::CCApplication::updateControllerKeys @ 0x180076fe6
// > cocos2d::CCApplication::updateControllerKeys @ 0x180077037
// > cocos2d::CCApplication::updateControllerKeys @ 0x180077088
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800771e2
// > cocos2d::CCApplication::updateControllerKeys @ 0x180077246
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800772ae
// > cocos2d::CCApplication::updateControllerKeys @ 0x180077312
// > cocos2d::CCApplication::updateControllerKeys @ 0x18007744e
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800774b3
// > cocos2d::CCApplication::updateControllerKeys @ 0x18007751c
// > cocos2d::CCApplication::updateControllerKeys @ 0x180077592
// > cocos2d::CCApplication::updateMouseControl @ 0x18007762d
// > cocos2d::CCApplication::updateMouseControl @ 0x180077693
// > cocos2d::CCApplication::updateVerticalSync @ 0x180077755
// > cocos2d::CCEGLView::clearQueuedInput @ 0x180079185
// > cocos2d::CCEGLView::onGLFWMouseScrollCallback @ 0x18007a56f
// > sub_18007A5B0 @ 0x18007a5dc
// > cocos2d::CCEGLView::onGLFWWindowPosCallback @ 0x18007a814
// > sub_18007A840 @ 0x18007a84e
// > cocos2d::CCEGLView::pumpRawInput @ 0x18007b16f
// > cocos2d::CCEGLView::sharedOpenGLView @ 0x18007bab4
// > cocos2d::CCEGLView::updateWindow @ 0x18007c28c
// > cocos2d::CCEGLView::updateWindow @ 0x18007c29c
// > cocos2d::CCEGLView::updateWindow @ 0x18007c2a9
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x18008a93d
// > cocos2d::CCSprite::displayFrame @ 0x18008e9cd
// > cocos2d::CCSprite::displayFrame @ 0x18008e9e6
// > cocos2d::CCSprite::displayFrame @ 0x18008ea15
// > cocos2d::CCSprite::displayFrame @ 0x18008ea31
// > cocos2d::CCSprite::displayFrame @ 0x18008ea67
// > cocos2d::CCSprite::displayFrame @ 0x18008ea85
// > cocos2d::CCSprite::displayFrame @ 0x18008eaa3
// > cocos2d::CCSprite::displayFrame @ 0x18008eabf
// > cocos2d::CCSprite::setTextureCoords @ 0x18008fe0e
// > cocos2d::CCSprite::setTextureCoords @ 0x18008fe29
// > cocos2d::CCSprite::setTextureCoords @ 0x18008fe44
// > cocos2d::CCSprite::setTextureCoords @ 0x18008fe5c
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092de7
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092e02
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092e1d
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092e35
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092f12
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092f30
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092f47
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092f5c
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092fa5
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092fc0
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180093001
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18009301c
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x1800930b7
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x1800930d2
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x1800930ed
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x180093105
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x1800931f7
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x180093215
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18009322c
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x180093241
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18009328a
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x1800932a5
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x1800932e6
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x180093301
// > cocos2d::CCSpriteFrame::setOffset @ 0x180093395
// > cocos2d::CCSpriteFrame::setOffset @ 0x1800933ae
// > cocos2d::CCSpriteFrame::setOffsetInPixels @ 0x180093410
// > cocos2d::CCSpriteFrame::setOffsetInPixels @ 0x18009342b
// > cocos2d::CCSpriteFrame::setRect @ 0x1800934a4
// > cocos2d::CCSpriteFrame::setRect @ 0x1800934bf
// > cocos2d::CCSpriteFrame::setRect @ 0x1800934da
// > cocos2d::CCSpriteFrame::setRect @ 0x1800934f3
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x180093592
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x1800935b0
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x1800935c7
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x1800935dc
// > cocos2d::CCTexture2D::getContentSize @ 0x1800a8cf2
// > cocos2d::CCTexture2D::getContentSize @ 0x1800a8d07
// > cocos2d::CCTextureCache::addImageAsync @ 0x1800abd18
// > cocos2d::CCTextureCache::addImageAsyncCallBack @ 0x1800ac105
// > cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0x1800aeec2
// > cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0x1800aeee3
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af611
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af62a
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af641
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af658
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800afa74
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800aface
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800afae8
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800afb2c
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800afb6f
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afc62
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afc7b
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afc92
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afca9
// > cocos2d::CCTMXLayer::positionAt @ 0x1800b0095
// > cocos2d::CCTMXLayer::positionAt @ 0x1800b00aa
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800b073c
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800b0755
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800b076c
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800b0783
// > cocos2d::CCTMXLayer::tileAt @ 0x1800b0cb4
// > cocos2d::CCTMXLayer::tileAt @ 0x1800b0ccd
// > cocos2d::CCTMXLayer::tileAt @ 0x1800b0ce4
// > cocos2d::CCTMXLayer::tileAt @ 0x1800b0cfb
// > cocos2d::CCTouch::getDelta @ 0x1800b6085
// > cocos2d::CCTouch::getDelta @ 0x1800b609b
// > cocos2d::CCTouch::getLocation @ 0x1800b60f1
// > cocos2d::CCTouch::getPreviousLocation @ 0x1800b6151
// > cocos2d::CCTouch::getStartLocation @ 0x1800b61b1
// > cocos2d::CCTouchDispatcher::touches @ 0x1800b6efc
// > cocos2d::CCKeypadDispatcher::dispatchKeypadMSG @ 0x1800b8171
// > cocos2d::CCTextFieldTTF::attachWithIME @ 0x1800b8ea2
// > cocos2d::CCTextFieldTTF::detachWithIME @ 0x1800b9212
// > cocos2d::CCConfiguration::loadConfigFile @ 0x1800c1293
// > cocos2d::CCDirector::toggleShowFPS @ 0x1800c3853
// > cocos2d::CCDirector::updateScreenScale @ 0x1800c3ac2
// > cocos2d::CCTimer::update @ 0x1800c680d
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c369c
//
// 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 11:22:26 +0000
//
// Hidden C++ exception states: #wind=2
struct cocos2d::CCDirector *__fastcall cocos2d::CCDirector::sharedDirector()
{
struct cocos2d::CCDirector *result; // rax
cocos2d::CCObject *v1; // rax
cocos2d::CCDirector *v2; // rbx
char (__fastcall *v3)(cocos2d::CCDirector *); // rdx
result = (struct cocos2d::CCDirector *)qword_1801B3BB0;
if ( !qword_1801B3BB0 )
{
v1 = (cocos2d::CCObject *)sub_1800E4AC0(0x1A0u);
v2 = v1;
if ( v1 )
{
cocos2d::CCObject::CCObject(v1);
*(_QWORD *)v2 = &cocos2d::CCDirector::`vftable'{for `cocos2d::CCObject'};
*((_QWORD *)v2 + 7) = &cocos2d::CCDirector::`vftable'{for `cocos2d::TypeInfo'};
cocos2d::CCSize::CCSize((cocos2d::CCDirector *)((char *)v2 + 320));
cocos2d::CCSize::CCSize((cocos2d::CCDirector *)((char *)v2 + 384));
cocos2d::CCSize::CCSize((cocos2d::CCDirector *)((char *)v2 + 392));
*(_QWORD *)v2 = &cocos2d::CCDisplayLinkDirector::`vftable';
*((_QWORD *)v2 + 7) = &cocos2d::CCDisplayLinkDirector::`vftable';
*((_BYTE *)v2 + 408) = 0;
}
else
{
v2 = nullptr;
}
qword_1801B3BB0 = (__int64)v2;
v3 = *(char (__fastcall **)(cocos2d::CCDirector *))(*(_QWORD *)v2 + 72LL);
if ( v3 == cocos2d::CCDirector::init )
cocos2d::CCDirector::init(v2);
else
v3(v2);
return (struct cocos2d::CCDirector *)qword_1801B3BB0;
}
return result;
}