//
// sub_1002122F8 from 0x1002122f8 to 0x10021234c (84 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::resetRecord @ 0x100201538
//
// 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_1002122F8(__int64 a1)
{
__int64 v2; // x8
__int64 i; // x9
if ( *(_QWORD *)(a1 + 24) )
{
sub_1002097F4(a1, *(void ***)(a1 + 16));
*(_QWORD *)(a1 + 16) = 0;
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
{
for ( i = 0; i != v2; ++i )
*(_QWORD *)(*(_QWORD *)a1 + 8 * i) = 0;
}
*(_QWORD *)(a1 + 24) = 0;
}
}