//
// sub_1800DC9E0 from 0x1800dc9e0 to 0x1800dca28 (72 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLView::resizeWindow @ 0x18007b5fe
// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf9a
// > ??> @ 0x1801c4e0c
//
// 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:35 +0000
//
unsigned int __fastcall sub_1800DC9E0(__int64 a1)
{
unsigned int result; // eax
if ( !*(_DWORD *)&ModuleName )
return (unsigned int)sub_1800DB260(0x10001u, nullptr);
if ( !*(_QWORD *)(a1 + 72) )
{
result = sub_1800D8F40(a1);
if ( *(_DWORD *)(a1 + 24) )
return (unsigned int)sub_1800D8060(a1);
}
return result;
}