//
// sub_1800D0F40 from 0x1800d0f40 to 0x1800d0f6b (43 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016cb90
// > ??> @ 0x1801feb20
//
// 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
//
_QWORD *__fastcall sub_1800D0F40(_QWORD *a1, char a2)
{
*a1 = off_18016B198;
if ( (a2 & 1) != 0 )
j_j_free_0(a1);
return a1;
}