// // cocos2d::CCEGLView::setViewPortInPoints from 0x180078990 to 0x180078a53 (195 bytes) // // 3 xrefs: // > @ 0x180100908 // > @ 0x1801438a8 // > @ 0x1801b4ac4 // // 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::CCEGLView::setViewPortInPoints( cocos2d::CCEGLView *this, float a2, float a3, float a4, float a5) { float v5; // xmm6_4 float v6; // xmm8_4 v5 = *((float *)this + 48); v6 = (float)*((int *)this + 45); glViewport( (int)(float)((float)((float)((float)(this->m_fScaleX * a2) * v6) * v5) + (float)((float)(v6 * this->m_obViewPortRect.origin.x) * v5)), (int)(float)((float)((float)((float)(this->m_fScaleY * a3) * v6) * v5) + (float)((float)(v6 * this->m_obViewPortRect.origin.y) * v5)), (int)(float)((float)((float)(this->m_fScaleX * a4) * v6) * v5), (int)(float)((float)((float)(this->m_fScaleY * a5) * v6) * v5)); }