//
// sub_1800DCD40 from 0x1800dcd40 to 0x1800dcd68 (40 bytes)
//
// 2 xrefs:
// > cocos2d::CCEGLView::windowShouldClose @ 0x18007c470
// > ??> @ 0x1801c4e18
//
// 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
//
__int64 __fastcall sub_1800DCD40(__int64 a1)
{
if ( *(_DWORD *)&ModuleName )
return *(unsigned int *)(a1 + 28);
sub_1800DB260(0x10001u, nullptr);
return 0;
}