// // cocos2d::CCDirector::drawScene from 0x5c3b80 to 0x5c3c1c (156 bytes) // // 1 xrefs: // > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x5c3c38 // // 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 // void cocos2d::CCDirector::drawScene(cocos2d::CCDirector *a1) { cocos2d::CCEGLView *m_pobOpenGLView; // r0 int v3; // r0 cocos2d::CCScene *m_pRunningScene; // r0 cocos2d::CCNode *m_pNotificationNode; // r0 cocos2d::CCEGLView *v6; // r0 cocos2d::CCDirector::calculateDeltaTime(a1); if ( !a1->m_bPaused ) ((void (__fastcall *)(cocos2d::CCScheduler *, _DWORD))a1->m_pScheduler->update)( a1->m_pScheduler, LODWORD(a1->m_fDeltaTime)); m_pobOpenGLView = a1->m_pobOpenGLView; if ( m_pobOpenGLView ) m_pobOpenGLView->pollInputEvents(m_pobOpenGLView); glClear(0x4100u); if ( a1->m_pNextScene ) cocos2d::CCDirector::setNextScene(a1); kmGLPushMatrix(v3); m_pRunningScene = a1->m_pRunningScene; if ( m_pRunningScene ) m_pRunningScene->visit(m_pRunningScene); m_pNotificationNode = a1->m_pNotificationNode; if ( m_pNotificationNode ) m_pNotificationNode = (cocos2d::CCNode *)((int (__fastcall *)(cocos2d::CCNode *))m_pNotificationNode->visit)(m_pNotificationNode); if ( a1->m_bDisplayStats ) cocos2d::CCDirector::showStats(a1); if ( a1->m_bDisplayFPS ) cocos2d::CCDirector::showFPSLabel(a1); kmGLPopMatrix(m_pNotificationNode); v6 = a1->m_pobOpenGLView; ++a1->m_uTotalFrames; if ( v6 ) v6->swapBuffers(v6); if ( a1->m_bDisplayStats ) cocos2d::CCDirector::calculateMPF(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source