//
// cocos2d::CCEGLViewProtocol::CCEGLViewProtocol from 0x5e0974 to 0x5e09b2 (62 bytes)
//
// 1 xrefs:
// > cocos2d::CCEGLView::CCEGLView @ 0x5e0fe4
//
// 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
//
// Alternative name is '_ZN7cocos2d17CCEGLViewProtocolC1Ev'
cocos2d::CCEGLViewProtocol *__fastcall cocos2d::CCEGLViewProtocol::CCEGLViewProtocol(cocos2d::CCEGLViewProtocol *this)
{
cocos2d::CCSize *p_m_obScreenSize; // r0
p_m_obScreenSize = &this->m_obScreenSize;
LODWORD(p_m_obScreenSize[-1].width) = &unk_AAD1B0;
p_m_obScreenSize[-1].height = 0.0;
cocos2d::CCSize::CCSize(p_m_obScreenSize);
cocos2d::CCSize::CCSize(&this->m_obDesignResolutionSize);
cocos2d::CCRect::CCRect(&this->m_obViewPortRect);
this->m_fScaleX = 1.0;
this->m_fScaleY = 1.0;
this->m_eResolutionPolicy = kResolutionUnKnown;
this->m_unkFloat = 1.0;
return this;
}