// // cocos2d::CCDirector::setOpenGLView from 0x5c3d06 to 0x5c3d76 (112 bytes) // // 1 xrefs: // > AppDelegate::setupGLView @ 0x3078b0 // // 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::setOpenGLView(cocos2d::CCDirector *a1, cocos2d::CCEGLView *a2) { cocos2d::CCConfiguration *v4; // r6 cocos2d::CCEGLView *m_pobOpenGLView; // r0 cocos2d::CCEGLView_vtbl *v6; // r3 float *v7; // r0 cocos2d::CCTouchDispatcher *m_pTouchDispatcher; // r1 if ( a1->m_pobOpenGLView != a2 ) { v4 = cocos2d::CCConfiguration::sharedConfiguration(); cocos2d::CCConfiguration::gatherGPUInfo(v4); cocos2d::CCConfiguration::dumpInfo(v4); m_pobOpenGLView = a1->m_pobOpenGLView; if ( m_pobOpenGLView ) m_pobOpenGLView->~CCEGLView_0(m_pobOpenGLView); v6 = a2->__vftable; a1->m_pobOpenGLView = a2; v7 = (float *)v6->getDesignResolutionSize(a2); cocos2d::CCSize::operator=(&a1->m_obWinSizeInPoints, v7); cocos2d::CCDirector::createStatsLabel(a1); if ( a1->m_pobOpenGLView ) cocos2d::CCDirector::setGLDefaultValues(a1); m_pTouchDispatcher = a1->m_pTouchDispatcher; if ( m_pTouchDispatcher ) m_pTouchDispatcher = (cocos2d::CCTouchDispatcher *)((char *)m_pTouchDispatcher + 52); a1->m_pobOpenGLView->setTouchDelegate(a1->m_pobOpenGLView, (cocos2d::EGLTouchDelegate *)m_pTouchDispatcher); cocos2d::CCTouchDispatcher::setDispatchEvents(a1->m_pTouchDispatcher, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source