//
// sub_6210AC from 0x6210ac to 0x6210d6 (42 bytes)
//
// 4 xrefs:
// > sub_630064 @ 0x630244
// > sub_630064 @ 0x630576
// > sub_630064 @ 0x630582
// > sub_630064 @ 0x630b00
//
// 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
//
int __fastcall sub_6210AC(int a1, _DWORD **a2)
{
_DWORD *v2; // r3
if ( !a2 )
return 0;
v2 = *a2;
if ( !*a2 )
return (int)v2;
while ( *v2 != a1 )
{
v2 = (_DWORD *)v2[2];
if ( !v2 )
return (int)v2;
}
sub_62E19C(a2, v2);
return 1;
}