//
// sub_8CA374 from 0x8ca374 to 0x8ca3d4 (96 bytes)
//
// 2 xrefs:
// > GameStatsManager::~GameStatsManager @ 0x8d7c50
// > GameStatsManager::~GameStatsManager @ 0x8d7c68
//
// 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:56:36 +0000
//
void __fastcall sub_8CA374(void **a1)
{
void **v1; // x19
void **v2; // x0
void **v3; // x20
v1 = a1;
if ( a1 )
{
do
{
v3 = (void **)*v1;
if ( ((_BYTE)v1[5] & 1) != 0 )
operator delete(v1[7]);
if ( ((_BYTE)v1[2] & 1) != 0 )
operator delete(v1[4]);
v2 = v1;
v1 = v3;
operator delete(v2);
}
while ( v3 );
}
}