//
// sub_87CEC from 0x87cec to 0x87d50 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x10d708
// > ??> @ 0x10d760
//
// 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
//
__int64 __fastcall sub_87CEC(__int64 a1)
{
unsigned int v2; // w19
v2 = sub_72E10(a1);
if ( !v2 )
{
memset(*(void **)(a1 + 96), 0, 8 * (*(int *)(a1 + 16) + 1LL) * *(int *)(a1 + 32));
sub_87D7C(*(_QWORD *)(a1 + 48));
sub_87D7C(*(_QWORD *)(a1 + 128));
}
return v2;
}