//
// cocos2d::CCEGLView::CCEGLView from 0x10012a68c to 0x10012a6f0 (100 bytes)
//
// 1 xrefs:
// > cocos2d::CCEGLView::sharedOpenGLView @ 0x10012a858
//
// 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
//
float *__fastcall cocos2d::CCEGLView::CCEGLView(float *a1)
{
int v2; // w0
float v3; // s0
*(_QWORD *)cocos2d::CCEGLViewProtocol::CCEGLViewProtocol() = off_100791828;
v2 = (unsigned int)objc_msgSend(+[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, "sharedEGLView"), "getWidth");
a1[6] = (float)v2;
a1[4] = (float)v2;
v3 = (float)(int)objc_msgSend(+[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, "sharedEGLView"), "getHeight");
a1[7] = v3;
a1[5] = v3;
return a1;
}