//
// cocos2d::CCEGLView::initWithFullscreen from 0x180079ec0 to 0x180079faa (234 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bec5c
//
// 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
//
__int64 __fastcall cocos2d::CCEGLView::initWithFullscreen(
cocos2d::CCEGLView *this,
__int64 a2,
char a3,
char a4,
__int64 a5,
__int64 a6)
{
__int64 result; // rax
_BYTE v8[24]; // [rsp+30h] [rbp-18h] BYREF
result = a6;
*((_QWORD *)this + 26) = a6;
if ( a6 )
{
*((_BYTE *)this + 232) = 1;
*((_BYTE *)this + 233) = a3;
*((_BYTE *)this + 234) = a4;
sub_1800DCA30(135183, *(unsigned int *)(a5 + 20));
sub_1800DCA30(135169, *(unsigned int *)(a5 + 8));
sub_1800DCA30(135171, *(unsigned int *)(a5 + 16));
sub_1800DCA30(135170, *(unsigned int *)(a5 + 12));
if ( *((_BYTE *)this + 233) )
{
sub_1800DCA30(131077, 0);
*((_QWORD *)this + 26) = 0;
}
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, 0.0, 0.0, (float)*(int *)a5, (float)*(int *)(a5 + 4));
return cocos2d::CCEGLView::initWithRect(this);
}
return result;
}