//
// cocos2d::CCEGLViewProtocol::CCEGLViewProtocol from 0x10050fb10 to 0x10050fb68 (88 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLView::sharedOpenGLView @ 0x100503568
// > cocos2d::CCEGLView::CCEGLView @ 0x1005035b9
// > sub_1005035E0 @ 0x1005035e9
//
// 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
//
__int64 __fastcall cocos2d::CCEGLViewProtocol::CCEGLViewProtocol(__int64 a1)
{
*(_QWORD *)a1 = off_10095D288;
*(_QWORD *)(a1 + 8) = 0;
sub_10028CF90((_QWORD *)(a1 + 16));
sub_10028CF90((_QWORD *)(a1 + 24));
sub_10028D130((_OWORD *)(a1 + 32));
*(_QWORD *)(a1 + 100) = 0x3F8000003F800000LL;
*(_QWORD *)(a1 + 108) = 0x3F80000000000005LL;
return 0x3F80000000000005LL;
}