//
// cocos2d::CCDirector::sharedDirector from 0x1800bfcc0 to 0x1800bfd8e (206 bytes)
//
// 272 xrefs:
// > cocos2d::CCNode::CCNode @ 0x1800027cb
// > cocos2d::CCNode::convertToWindowSpace @ 0x180002f2e
// > cocos2d::ccPointSize @ 0x180011dbc
// > cocos2d::CCGridBase::afterDraw @ 0x1800225dd
// > cocos2d::CCGridBase::beforeDraw @ 0x180022699
// > cocos2d::CCGridBase::initWithSize @ 0x180023506
// > cocos2d::CCGridBase::set2DProjection @ 0x180023879
// > cocos2d::CCGridBase::setActive @ 0x18002393b
// > cocos2d::CCFollow::initWithTarget @ 0x18002431c
// > cocos2d::CCSplitRows::startWithTarget @ 0x18003b6de
// > cocos2d::CCLabelAtlas::initWithString @ 0x18004628d
// > cocos2d::CCLabelAtlas::initWithString @ 0x180046333
// > cocos2d::CCLabelAtlas::updateAtlasValues @ 0x1800467de
// > cocos2d::CCLabelAtlas::updateAtlasValues @ 0x18004680f
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180048221
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180048239
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180048250
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180048267
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180048331
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180048367
// > cocos2d::CCLabelBMFont::createFontChars @ 0x18004845b
// > cocos2d::CCLabelBMFont::createFontChars @ 0x1800484b2
// > cocos2d::CCLabelBMFont::createFontChars @ 0x1800484c8
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180048585
// > cocos2d::CCLabelBMFont::createFontChars @ 0x18004859c
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004d97d
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004d9df
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004d9f7
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004da58
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004daab
// > cocos2d::CCLabelTTF::_prepareTextDefinition @ 0x18004dac3
// > cocos2d::CCLabelTTF::updateTexture @ 0x18004e8fe
// > cocos2d::CCLabelTTF::updateTexture @ 0x18004e917
// > cocos2d::CCLabelTTF::updateTexture @ 0x18004e943
// > cocos2d::CCLayer::init @ 0x18004fe59
// > cocos2d::CCLayerColor::init @ 0x18004fea9
// > cocos2d::CCLayerRGBA::init @ 0x18004ff39
// > cocos2d::CCLayerMultiplex::initWithArray @ 0x18004fff0
// > cocos2d::CCLayerColor::initWithColor @ 0x1800500b0
// > cocos2d::CCLayerColor::initWithColor @ 0x180050110
// > cocos2d::CCLayerGradient::initWithColor @ 0x180050311
// > cocos2d::CCLayerMultiplex::initWithLayers @ 0x180050368
// > cocos2d::CCLayer::keyDown @ 0x180050501
// > cocos2d::CCLayer::onEnter @ 0x180050582
// > cocos2d::CCLayer::onEnterTransitionDidFinish @ 0x180050697
// > cocos2d::CCLayer::onExit @ 0x1800506f7
// > cocos2d::CCLayer::registerWithTouchDispatcher @ 0x180050919
// > cocos2d::CCLayer::setAccelerometerEnabled @ 0x1800509b7
// > cocos2d::CCLayer::setAccelerometerInterval @ 0x180050a2e
// > cocos2d::CCLayer::setKeyboardEnabled @ 0x180050bfc
// > cocos2d::CCLayer::setKeypadEnabled @ 0x180050ca7
// > cocos2d::CCLayer::setMouseEnabled @ 0x180050d4c
// > cocos2d::CCLayer::setTouchEnabled @ 0x180050ee8
// > cocos2d::CCScene::init @ 0x180051c19
// > cocos2d::CCTransitionSlideInB::action @ 0x180052ad9
// > cocos2d::CCTransitionSlideInL::action @ 0x180052b29
// > cocos2d::CCTransitionSlideInR::action @ 0x180052b79
// > cocos2d::CCTransitionSlideInT::action @ 0x180052bd9
// > cocos2d::CCTransitionScene::hideOutShowIn @ 0x18005467d
// > cocos2d::CCTransitionMoveInB::initScenes @ 0x1800546ad
// > cocos2d::CCTransitionMoveInL::initScenes @ 0x18005470d
// > cocos2d::CCTransitionMoveInR::initScenes @ 0x18005476d
// > cocos2d::CCTransitionMoveInT::initScenes @ 0x1800547cd
// > cocos2d::CCTransitionSlideInB::initScenes @ 0x18005482d
// > cocos2d::CCTransitionSlideInL::initScenes @ 0x18005489d
// > cocos2d::CCTransitionSlideInR::initScenes @ 0x18005490d
// > cocos2d::CCTransitionSlideInT::initScenes @ 0x18005496d
// > cocos2d::CCTransitionScene::initWithDuration @ 0x180054a51
// > cocos2d::CCTransitionScene::initWithDuration @ 0x180054a8a
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x180054b52
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x180054b95
// > cocos2d::CCTransitionFade::onEnter @ 0x180054ed2
// > cocos2d::CCTransitionFadeTR::onEnter @ 0x18005501a
// > cocos2d::CCTransitionFadeTR::onEnter @ 0x180055055
// > cocos2d::CCTransitionFlipAngular::onEnter @ 0x180055141
// > cocos2d::CCTransitionFlipX::onEnter @ 0x180055331
// > cocos2d::CCTransitionFlipY::onEnter @ 0x180055526
// > cocos2d::CCTransitionJumpZoom::onEnter @ 0x180055704
// > cocos2d::CCTransitionJumpZoom::onEnter @ 0x18005573f
// > cocos2d::CCTransitionMoveInL::onEnter @ 0x18005592d
// > cocos2d::CCTransitionMoveInL::onEnter @ 0x180055983
// > cocos2d::CCTransitionRotoZoom::onEnter @ 0x180055a0c
// > cocos2d::CCTransitionScene::onEnter @ 0x180055bae
// > cocos2d::CCTransitionShrinkGrow::onEnter @ 0x180055c0c
// > cocos2d::CCTransitionSlideInL::onEnter @ 0x180055db2
// > cocos2d::CCTransitionSplitCols::onEnter @ 0x180055ec2
// > cocos2d::CCTransitionTurnOffTiles::onEnter @ 0x180055fd7
// > cocos2d::CCTransitionTurnOffTiles::onEnter @ 0x180056012
// > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x1800560f7
// > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x180056377
// > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x1800565dc
// > cocos2d::CCTransitionCrossFade::onExit @ 0x180056832
// > cocos2d::CCTransitionFade::onExit @ 0x18005688e
// > cocos2d::CCTransitionScene::onExit @ 0x1800568fe
// > cocos2d::CCTransitionScene::setNewScene @ 0x180056989
// > cocos2d::CCTransitionPageTurn::onEnter @ 0x180056bbe
// > cocos2d::CCTransitionProgress::onEnter @ 0x1800575a6
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x180057772
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x180057882
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x180057992
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x180057aa2
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180057b72
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180057c42
// > cocos2d::CCMenu::alignItemsInColumnsWithArray @ 0x180058502
// > cocos2d::CCMenu::alignItemsInRowsWithArray @ 0x180058a63
// > cocos2d::CCMenu::giveMenuTouchPriority @ 0x180059408
// > cocos2d::CCMenu::initWithArray @ 0x1800594bb
// > cocos2d::CCMenu::registerWithTouchDispatcher @ 0x1800598a7
// > cocos2d::CCMenu::setHandlerPriority @ 0x18005998f
// > cocos2d::CCClippingNode::visit @ 0x18005c73f
// > cocos2d::CCRenderTexture::begin @ 0x18005f3ea
// > cocos2d::CCRenderTexture::clear @ 0x18005f887
// > cocos2d::CCRenderTexture::clearDepth @ 0x18005f931
// > cocos2d::CCRenderTexture::draw @ 0x18005fd3d
// > cocos2d::CCRenderTexture::end @ 0x18005fdad
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x18005fe83
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x18005fe9f
// > cocos2d::CCRenderTexture::newCCImage @ 0x1800603ad
// > cocos2d::CCParticleExplosion::initWithTotalParticles @ 0x180063ccd
// > cocos2d::CCParticleFire::initWithTotalParticles @ 0x180063ec3
// > cocos2d::CCParticleFireworks::initWithTotalParticles @ 0x18006408f
// > cocos2d::CCParticleFlower::initWithTotalParticles @ 0x1800642f7
// > cocos2d::CCParticleGalaxy::initWithTotalParticles @ 0x180064537
// > cocos2d::CCParticleMeteor::initWithTotalParticles @ 0x180064757
// > cocos2d::CCParticleRain::initWithTotalParticles @ 0x180064991
// > cocos2d::CCParticleSmoke::initWithTotalParticles @ 0x180064b8f
// > cocos2d::CCParticleSnow::initWithTotalParticles @ 0x180064db6
// > cocos2d::CCParticleSpiral::initWithTotalParticles @ 0x180064fee
// > cocos2d::CCParticleSun::initWithTotalParticles @ 0x18006521d
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006a865
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006a87c
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006a891
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006a8a6
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006c00a
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006c01e
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006c02b
// > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006c380
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x18006ec86
// > cocos2d::CCFileUtils::fullPathForFilename @ 0x18006eca9
// > cocos2d::CCFileUtils::shouldUseHD @ 0x180071994
// > cocos2d::CCApplication::gameDidSave @ 0x180072e1a
// > cocos2d::CCApplication::run @ 0x1800734c6
// > cocos2d::CCApplication::run @ 0x1800734d3
// > cocos2d::CCApplication::run @ 0x180073796
// > cocos2d::CCApplication::run @ 0x1800737d4
// > cocos2d::CCApplication::run @ 0x1800737e4
// > cocos2d::CCApplication::run @ 0x1800737f2
// > cocos2d::CCApplication::setupGLView @ 0x180073ca9
// > cocos2d::CCApplication::updateControllerKeys @ 0x18007401c
// > cocos2d::CCApplication::updateControllerKeys @ 0x18007406b
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800740ba
// > cocos2d::CCApplication::updateControllerKeys @ 0x180074105
// > cocos2d::CCApplication::updateControllerKeys @ 0x180074154
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800741a3
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800741ec
// > cocos2d::CCApplication::updateControllerKeys @ 0x180074235
// > cocos2d::CCApplication::updateControllerKeys @ 0x180074283
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800742cf
// > cocos2d::CCApplication::updateControllerKeys @ 0x180074302
// > cocos2d::CCApplication::updateControllerKeys @ 0x18007434f
// > cocos2d::CCApplication::updateControllerKeys @ 0x18007439d
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800743eb
// > cocos2d::CCApplication::updateControllerKeys @ 0x18007450a
// > cocos2d::CCApplication::updateControllerKeys @ 0x180074564
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800745ac
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800745f4
// > cocos2d::CCApplication::updateControllerKeys @ 0x180074700
// > cocos2d::CCApplication::updateControllerKeys @ 0x180074751
// > cocos2d::CCApplication::updateControllerKeys @ 0x1800747a2
// > cocos2d::CCApplication::updateControllerKeys @ 0x180074800
// > cocos2d::CCApplication::updateMouseControl @ 0x1800748c8
// > cocos2d::CCEGLView::onGLFWMouseScrollCallback @ 0x1800777df
// > sub_180077810 @ 0x18007783c
// > cocos2d::CCEGLView::onGLFWWindowPosCallback @ 0x180077c24
// > sub_180077C40 @ 0x180077c4e
// > cocos2d::CCEGLView::pumpRawInput @ 0x1800783b9
// > cocos2d::CCEGLView::sharedOpenGLView @ 0x180078c94
// > cocos2d::CCEGLView::updateWindow @ 0x18007927c
// > cocos2d::CCEGLView::updateWindow @ 0x18007928c
// > cocos2d::CCEGLView::updateWindow @ 0x180079299
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x18008778e
// > cocos2d::CCSprite::displayFrame @ 0x18008b822
// > cocos2d::CCSprite::displayFrame @ 0x18008b837
// > cocos2d::CCSprite::displayFrame @ 0x18008b85f
// > cocos2d::CCSprite::displayFrame @ 0x18008b877
// > cocos2d::CCSprite::displayFrame @ 0x18008b8a2
// > cocos2d::CCSprite::displayFrame @ 0x18008b8bc
// > cocos2d::CCSprite::displayFrame @ 0x18008b8d4
// > cocos2d::CCSprite::displayFrame @ 0x18008b8ec
// > cocos2d::CCSprite::setTextureCoords @ 0x18008cbf0
// > cocos2d::CCSprite::setTextureCoords @ 0x18008cc07
// > cocos2d::CCSprite::setTextureCoords @ 0x18008cc1c
// > cocos2d::CCSprite::setTextureCoords @ 0x18008cc31
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fc08
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fc1f
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fc34
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fc49
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fd09
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fd21
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fd37
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fd4d
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fd96
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fdac
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fdef
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x18008fe05
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18008fe88
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18008fe9f
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18008feb4
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18008fec9
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18008ffa2
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18008ffba
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18008ffd0
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18008ffe6
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18009002f
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x180090045
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x180090088
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18009009e
// > cocos2d::CCSpriteFrame::setOffset @ 0x18009011b
// > cocos2d::CCSpriteFrame::setOffset @ 0x180090130
// > cocos2d::CCSpriteFrame::setOffsetInPixels @ 0x18009018b
// > cocos2d::CCSpriteFrame::setOffsetInPixels @ 0x1800901a1
// > cocos2d::CCSpriteFrame::setRect @ 0x180090206
// > cocos2d::CCSpriteFrame::setRect @ 0x18009021d
// > cocos2d::CCSpriteFrame::setRect @ 0x180090232
// > cocos2d::CCSpriteFrame::setRect @ 0x180090247
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x1800902c9
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x1800902e1
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x1800902f7
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x18009030d
// > cocos2d::CCTexture2D::getContentSize @ 0x1800a51f8
// > cocos2d::CCTexture2D::getContentSize @ 0x1800a5212
// > cocos2d::CCTextureCache::addImageAsync @ 0x1800a82e9
// > cocos2d::CCTextureCache::addImageAsyncCallBack @ 0x1800a8796
// > cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0x1800ab67a
// > cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0x1800ab69f
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800abe21
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800abe3a
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800abe51
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800abe68
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac284
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac2e0
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac2fa
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac3a5
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac3b6
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800ac462
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800ac47b
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800ac492
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800ac4a9
// > cocos2d::CCTMXLayer::positionAt @ 0x1800ac87b
// > cocos2d::CCTMXLayer::positionAt @ 0x1800ac891
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800acedc
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800acef5
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800acf0c
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800acf23
// > cocos2d::CCTMXLayer::tileAt @ 0x1800ad454
// > cocos2d::CCTMXLayer::tileAt @ 0x1800ad46d
// > cocos2d::CCTMXLayer::tileAt @ 0x1800ad484
// > cocos2d::CCTMXLayer::tileAt @ 0x1800ad49b
// > cocos2d::CCTouch::getDelta @ 0x1800b2715
// > cocos2d::CCTouch::getDelta @ 0x1800b272b
// > cocos2d::CCTouch::getLocation @ 0x1800b2781
// > cocos2d::CCTouch::getPreviousLocation @ 0x1800b27e1
// > cocos2d::CCTouch::getStartLocation @ 0x1800b2841
// > cocos2d::CCKeypadDispatcher::dispatchKeypadMSG @ 0x1800b4431
// > cocos2d::CCTextFieldTTF::attachWithIME @ 0x1800b5152
// > cocos2d::CCTextFieldTTF::detachWithIME @ 0x1800b5552
// > cocos2d::CCConfiguration::loadConfigFile @ 0x1800bdaa5
// > cocos2d::CCDirector::toggleShowFPS @ 0x1800c0005
// > cocos2d::CCDirector::updateScreenScale @ 0x1800c022f
// > cocos2d::CCTimer::update @ 0x1800c2eed
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b93d8
//
// 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
//
// 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
bool (__stdcall *init)(cocos2d::CCDirector *__hidden); // rdx
result = (struct cocos2d::CCDirector *)qword_1801A9B38;
if ( !qword_1801A9B38 )
{
v1 = (cocos2d::CCObject *)operator new(0x198u);
v2 = (cocos2d::CCDirector *)v1;
if ( v1 )
{
cocos2d::CCObject::CCObject(v1);
v2->cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCDirector_vtbl *)&cocos2d::CCDirector::`vftable'{for `cocos2d::CCObject'};
v2->cocos2d::TypeInfo::__vftable = (cocos2d::TypeInfo_vtbl *)&cocos2d::CCDirector::`vftable'{for `cocos2d::TypeInfo'};
cocos2d::CCSize::CCSize(&v2->m_obWinSizeInPoints);
cocos2d::CCSize::CCSize(&v2->m_obScaleFactor);
cocos2d::CCSize::CCSize(&v2->m_obResolutionInPixels);
v2->cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCDirector_vtbl *)&cocos2d::CCDisplayLinkDirector::`vftable';
v2->cocos2d::TypeInfo::__vftable = (cocos2d::TypeInfo_vtbl *)&cocos2d::CCDisplayLinkDirector::`vftable';
LOBYTE(v2[1].cocos2d::CCObject::cocos2d::CCCopying::__vftable) = 0;
}
else
{
v2 = nullptr;
}
qword_1801A9B38 = (__int64)v2;
init = v2->init;
if ( (char *)init == (char *)cocos2d::CCDirector::init )
cocos2d::CCDirector::init(v2);
else
((void (__fastcall *)(cocos2d::CCDirector *))init)(v2);
return (struct cocos2d::CCDirector *)qword_1801A9B38;
}
return result;
}