//
// cocos2d::CCEGLViewProtocol::CCEGLViewProtocol from 0x100510c40 to 0x100510c98 (88 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLView::sharedOpenGLView @ 0x100502168
// > cocos2d::CCEGLView::CCEGLView @ 0x1005021b9
// > sub_1005021E0 @ 0x1005021e9
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:31:36 +0000
//
__int64 __fastcall cocos2d::CCEGLViewProtocol::CCEGLViewProtocol(__int64 a1)
{
*(_QWORD *)a1 = off_100B69D58;
*(_QWORD *)(a1 + 8) = 0;
sub_100278600((_QWORD *)(a1 + 16));
sub_100278600((_QWORD *)(a1 + 24));
sub_1002787A0((_OWORD *)(a1 + 32));
*(_QWORD *)(a1 + 100) = 0x3F8000003F800000LL;
*(_QWORD *)(a1 + 108) = 0x3F80000000000005LL;
return 0x3F80000000000005LL;
}