//
// sub_1800BE100 from 0x1800be100 to 0x1800be12b (43 bytes)
//
// 3 xrefs:
// > ??> @ 0x18016bba0
// > ??> @ 0x1801fd824
// > ??> @ 0x1801fd830
//
// 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_1800BE100(_QWORD *a1, char a2)
{
*a1 = off_18016BAB8;
if ( (a2 & 1) != 0 )
j_j_free_0(a1);
return a1;
}