//
// sub_87CEC from 0x87cec to 0x87d50 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x10d708
// > ??> @ 0x10d760
//
// This function is hookable on this platform (idp: arm, 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:14:10 +0000
//
__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;
}