//
// sub_10087A5B0 from 0x10087a5b0 to 0x10087a641 (145 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba2758
//
// 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 12:36:54 +0000
//
void __fastcall sub_10087A5B0(_QWORD *__p)
{
*__p = off_100BA2748;
__p[40] = off_100BA2BA0;
__p[43] = off_100BA2C20;
__p[51] = off_100BA2C50;
if ( (__p[52] & 1) != 0 )
{
*(_BYTE *)__p[54] = 0;
__p[53] = 0;
if ( (__p[52] & 1) != 0 )
operator delete((void *)__p[54]);
}
else
{
*((_WORD *)__p + 208) = 0;
}
sub_100316000(__p);
operator delete(__p);
}