//
// sub_998E90 from 0x998e90 to 0x998ed8 (72 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::resetRecordFull @ 0x9a8c84
// > GJBaseGameLayer::~GJBaseGameLayer @ 0x9b1754
// > GJBaseGameLayer::~GJBaseGameLayer @ 0x9b1798
//
// 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:58:03 +0000
//
void __fastcall sub_998E90(void **a1)
{
void **v1; // x19
void **v2; // x20
void **v3; // x0
v1 = a1;
if ( a1 )
{
do
{
v2 = (void **)*v1;
if ( ((_BYTE)v1[8] & 1) != 0 )
operator delete(v1[10]);
v3 = v1;
v1 = v2;
operator delete(v3);
}
while ( v2 );
}
}