//
// sub_1003700A0 from 0x1003700a0 to 0x1003700ec (76 bytes)
//
// 1 xrefs:
// > sub_100370084 @ 0x100370094
//
// 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
//
void __fastcall sub_1003700A0(__int64 a1, void **__p)
{
void **v3; // [xsp+8h] [xbp-18h] BYREF
if ( *(_BYTE *)(a1 + 8) == 1 )
{
v3 = __p + 3;
sub_10036FA1C(&v3);
}
if ( __p )
operator delete(__p);
}