//
// sub_100574898 from 0x100574898 to 0x1005748ec (84 bytes)
//
// 11 xrefs:
// > sub_10054B9CC @ 0x10054ba44
// > sub_10054D588 @ 0x10054d6c4
// > sub_10054D6EC @ 0x10054d868
// > sub_100558DA8 @ 0x10055b368
// > sub_100562B38 @ 0x100562e30
// > sub_100562B38 @ 0x100562e40
// > sub_10056446C @ 0x10056448c
// > sub_10058316C @ 0x1005831cc
// > sub_10058786C @ 0x1005878ac
// > sub_1005878F4 @ 0x100587940
// > sub_1005879C4 @ 0x100587a98
//
// 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_100574898(__int64 a1)
{
__int64 v1; // x19
__int64 v2; // x21
v1 = a1;
if ( a1 )
{
do
{
v2 = *(_QWORD *)(v1 + 8);
off_10085DEB8(*(void **)v1);
*(_QWORD *)v1 = 0;
off_10085DEB8((void *)v1);
v1 = v2;
}
while ( v2 );
}
}