// // cocos2d::CCDirector::setViewport from 0x100483cd0 to 0x100483d1a (74 bytes) // // 5 xrefs: // > cocos2d::CCRenderTexture::end @ 0x1005f5df5 // > cocos2d::CCRenderTexture::clear @ 0x1005f5ec1 // > cocos2d::CCRenderTexture::clearDepth @ 0x1005f5f77 // > cocos2d::CCRenderTexture::draw @ 0x1005f61a0 // > cocos2d::CCRenderTexture::newCCImage @ 0x1005f6406 // // 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 __fastcall cocos2d::CCDirector::setViewport(cocos2d::CCDirector *a1) { __int64 v1; // rax __int64 v2; // [rsp-18h] [rbp-18h] BYREF if ( a1->m_pobOpenGLView ) { v2 = v1; sub_10028CFC0(&v2, &a1->m_obWinSizeInPoints); ((void (__fastcall *)(cocos2d::CCEGLView *, double, double, float, float))a1->m_pobOpenGLView->setViewPortInPoints)( a1->m_pobOpenGLView, 0.0, 0.0, *(float *)&v2, *((float *)&v2 + 1)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source