//
// sub_1800E0080 from 0x1800e0080 to 0x1800e00cf (79 bytes)
//
// 14 xrefs:
// > sub_1800DF3F0 @ 0x1800df68e
// > sub_1800DF3F0 @ 0x1800df6a0
// > sub_1800DF3F0 @ 0x1800df6b2
// > sub_1800DF3F0 @ 0x1800df6c4
// > sub_1800DF3F0 @ 0x1800df6d6
// > sub_1800DF3F0 @ 0x1800df6e8
// > sub_1800DF3F0 @ 0x1800df6fa
// > sub_1800DF3F0 @ 0x1800df70c
// > sub_1800DF3F0 @ 0x1800df71e
// > sub_1800DF3F0 @ 0x1800df730
// > sub_1800DF3F0 @ 0x1800df742
// > sub_1800DF3F0 @ 0x1800df754
// > sub_1800DEF70 @ 0x1800df381
// > ??> @ 0x1801c5094
//
// 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:36 +0000
//
__int64 __fastcall sub_1800E0080(char *SubStr)
{
HDC CurrentDC; // rax
char *v3; // rax
if ( qword_1801B61A0 )
{
CurrentDC = wglGetCurrentDC();
v3 = (char *)qword_1801B61A0(CurrentDC);
}
else
{
if ( !qword_1801B6198 )
return 0;
v3 = (char *)qword_1801B6198();
}
if ( v3 )
return sub_1800D7930(SubStr, v3);
return 0;
}