//
// sub_1800D38D0 from 0x1800d38d0 to 0x1800d398e (190 bytes)
//
// 2 xrefs:
// > cocos2d::CCEGLView::CCEGLView @ 0x180075889
// > ??> @ 0x1801ba590
//
// 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 sub_1800D38D0()
{
if ( *(_DWORD *)&ModuleName )
return 1;
*(_QWORD *)&ModuleName = 0;
memset(&xmmword_1801A9B88, 0, 0x26D8u);
xmmword_1801A9B78 = xmmword_1801A3328;
if ( (unsigned int)sub_1800D9E40()
&& (unsigned int)sub_1800D98D0(&unk_1801AB198)
&& (unsigned int)sub_1800D9900(&unk_1801AB184)
&& (unsigned int)sub_1800D9900(&unk_1801AB18C) )
{
sub_1800D99D0(&unk_1801AB184, &unk_1801AC260);
sub_1800D52C0();
wcscpy(&ModuleName, L"\x01");
qword_1801AB1C8 = sub_1800DBAA0();
sub_1800D4850();
return 1;
}
sub_1800D39B0();
return 0;
}