//
// cocos2d::CCEGLView::initWithFullScreen from 0x180079da0 to 0x180079eb8 (280 bytes)
//
// 5 xrefs:
// > cocos2d::CCEGLView::createWithFullScreen @ 0x180079584
// > ??> @ 0x180144a14
// > ??> @ 0x180144a24
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bec38
//
// 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 11:21:59 +0000
//
char __fastcall cocos2d::CCEGLView::initWithFullScreen(cocos2d::CCEGLView *this, __int64 a2, char a3, char a4)
{
__int64 v7; // rax
__int64 v8; // rax
__int64 v9; // rdi
_BYTE v11[24]; // [rsp+30h] [rbp-18h] BYREF
v7 = sub_1800DBEE0();
*((_QWORD *)this + 26) = v7;
if ( v7 )
{
v8 = sub_1800DBF20(v7);
v9 = v8;
if ( *((_QWORD *)this + 26) )
{
*((_BYTE *)this + 232) = 1;
*((_BYTE *)this + 233) = a3;
*((_BYTE *)this + 234) = a4;
sub_1800DCA30(135183, *(unsigned int *)(v8 + 20));
sub_1800DCA30(135169, *(unsigned int *)(v9 + 8));
sub_1800DCA30(135171, *(unsigned int *)(v9 + 16));
sub_1800DCA30(135170, *(unsigned int *)(v9 + 12));
if ( *((_BYTE *)this + 233) )
{
sub_1800DCA30(131077, 0);
*((_QWORD *)this + 26) = 0;
}
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, 0.0, 0.0, (float)*(int *)v9, (float)*(int *)(v9 + 4));
LOBYTE(v7) = cocos2d::CCEGLView::initWithRect(this);
}
else
{
LOBYTE(v7) = 0;
}
}
return v7;
}