//
// sub_1800D4CB0 from 0x1800d4cb0 to 0x1800d4cf8 (72 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLView::resizeWindow @ 0x18007881e
// > cocos2d::CCEGLView::toggleFullScreen @ 0x180078f92
// > ??> @ 0x1801ba764
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 (__fastcall *__fastcall sub_1800D4CB0(__int64 a1))(_QWORD, _QWORD)
{
__int64 (__fastcall *result)(_QWORD, _QWORD); // rax
if ( !*(_DWORD *)&ModuleName )
return sub_1800D3530(0x10001u, nullptr);
if ( !*(_QWORD *)(a1 + 72) )
{
result = (__int64 (__fastcall *)(_QWORD, _QWORD))sub_1800D75B0();
if ( *(_DWORD *)(a1 + 24) )
return (__int64 (__fastcall *)(_QWORD, _QWORD))sub_1800D66D0(a1);
}
return result;
}