//
// sub_1800E17F0 from 0x1800e17f0 to 0x1800e1839 (73 bytes)
//
// 2 xrefs:
// > sub_1800E13A0 @ 0x1800e159c
// > ??> @ 0x1801c51d8
//
// 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
//
void __fastcall sub_1800E17F0(_QWORD *a1)
{
void *v2; // rcx
if ( a1[86] )
{
OSMesaDestroyContext();
a1[86] = 0;
}
v2 = (void *)a1[88];
if ( v2 )
{
free(v2);
a1[87] = 0;
}
}