// // cocos2d::CCDirector::setViewport from 0x5c2fa4 to 0x5c2fea (70 bytes) // // 2 xrefs: // > cocos2d::CCDirector::setProjection @ 0x5c3034 // > cocos2d::CCRenderTexture::end @ 0x5d87b8 // // 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::setViewport(cocos2d::CCDirector *a1) { cocos2d::CCSize v2; // [sp+Ch] [bp-10h] BYREF if ( a1->m_pobOpenGLView ) { cocos2d::CCSize::CCSize(&v2, &a1->m_obWinSizeInPoints); ((void (__fastcall *)(cocos2d::CCEGLView *, _DWORD, _DWORD, _DWORD, _DWORD))a1->m_pobOpenGLView->setViewPortInPoints)( a1->m_pobOpenGLView, 0, 0, LODWORD(v2.width), LODWORD(v2.height)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source