//
// sub_1800D5010 from 0x1800d5010 to 0x1800d5038 (40 bytes)
//
// 2 xrefs:
// > cocos2d::CCEGLView::windowShouldClose @ 0x180079450
// > ??> @ 0x1801ba770
//
// 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 sub_1800D5010(__int64 a1)
{
if ( *(_DWORD *)&ModuleName )
return *(unsigned int *)(a1 + 28);
sub_1800D3530(0x10001u, nullptr);
return 0;
}