//
// sub_1800D8320 from 0x1800d8320 to 0x1800d834c (44 bytes)
//
// 18 xrefs:
// > cocos2d::CCEGLView::capture @ 0x18007660b
// > cocos2d::CCEGLView::checkErrorGL @ 0x1800766cb
// > cocos2d::CCEGLView::getDisplaySize @ 0x180076b54
// > cocos2d::CCEGLView::initGlew @ 0x180076fea
// > cocos2d::CCEGLView::initGlew @ 0x18007702f
// > cocos2d::CCEGLView::initWithRect @ 0x1800773d6
// > cocos2d::CCEGLView::initWithRect @ 0x18007749d
// > cocos2d::CCEGLView::makeBorderlessTop @ 0x180077526
// > cocos2d::CCEGLView::onGLFWError @ 0x18007772b
// > sub_180077760 @ 0x18007779a
// > cocos2d::CCEGLView::onGLFWWindowFocus @ 0x180077af3
// > cocos2d::CCEGLView::pumpRawInput @ 0x18007809e
// > cocos2d::CCEGLView::pumpRawInput @ 0x180078147
// > cocos2d::CCEGLView::setupWindow @ 0x180078ac9
// > cocos2d::CCEGLView::setupWindow @ 0x180078b46
// > cocos2d::CCEGLView::showMessage @ 0x180078d46
// > cocos2d::CCEGLView::toggleFullScreen @ 0x180078ff1
// > ??> @ 0x1801baa94
//
// 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_1800D8320(__int64 a1)
{
if ( *(_DWORD *)&ModuleName )
return *(_QWORD *)(a1 + 880);
sub_1800D3530(0x10001u, nullptr);
return 0;
}