//
// sub_1800DBF20 from 0x1800dbf20 to 0x1800dbf61 (65 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLView::initWithFullScreen @ 0x180079de0
// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007be81
// > ??> @ 0x1801c4d1c
//
// 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:22:34 +0000
//
__int64 __fastcall sub_1800DBF20(__int64 a1)
{
__int64 v2; // rbx
if ( *(_DWORD *)&ModuleName )
{
v2 = a1 + 164;
sub_1800E2C50(a1, a1 + 164);
return v2;
}
else
{
sub_1800DB260(0x10001u, nullptr);
return 0;
}
}