//
// sub_6397C from 0x6397c to 0x639ec (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c8e8
//
// 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
//
__int64 __fastcall sub_6397C(__int64 a1)
{
_QWORD *v2; // x21
_QWORD *v3; // x19
unsigned int v4; // w0
unsigned int v5; // w20
sub_642EC(*(_QWORD *)(a1 + 64));
v2 = (_QWORD *)(a1 + 16);
v3 = (_QWORD *)(a1 + 16);
while ( 1 )
{
v3 = (_QWORD *)*v3;
if ( v3 == v2 )
break;
v4 = sub_83194(v3);
if ( v4 )
{
v5 = v4;
goto LABEL_6;
}
}
v5 = 0;
LABEL_6:
sub_642D8();
return v5;
}