//
// cocos2d::CCEGLViewProtocol::CCEGLViewProtocol from 0x1800c5020 to 0x1800c50af (143 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLView::CCEGLView @ 0x1800c4e55
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b975c
//
// 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
//
cocos2d::CCEGLViewProtocol *__fastcall cocos2d::CCEGLViewProtocol::CCEGLViewProtocol(
cocos2d::CCEGLViewProtocol *this,
const struct cocos2d::CCEGLViewProtocol *a2)
{
this->__vftable = (cocos2d::CCEGLViewProtocol_vtbl *)&cocos2d::CCEGLViewProtocol::`vftable';
this->m_pDelegate = a2->m_pDelegate;
cocos2d::cc_timeval::operator=(&this->m_obScreenSize, &a2->m_obScreenSize);
cocos2d::cc_timeval::operator=(&this->m_obDesignResolutionSize, &a2->m_obDesignResolutionSize);
cocos2d::CCRect::CCRect(&this->m_obViewPortRect, &a2->m_obViewPortRect);
*(_OWORD *)this->m_szViewName = *(_OWORD *)a2->m_szViewName;
*(_OWORD *)&this->m_szViewName[16] = *(_OWORD *)&a2->m_szViewName[16];
*(_OWORD *)&this->m_szViewName[32] = *(_OWORD *)&a2->m_szViewName[32];
*(_WORD *)&this->m_szViewName[48] = *(_WORD *)&a2->m_szViewName[48];
this->m_fScaleX = a2->m_fScaleX;
this->m_fScaleY = a2->m_fScaleY;
this->m_eResolutionPolicy = a2->m_eResolutionPolicy;
this->m_unkFloat = a2->m_unkFloat;
return this;
}