//
// sub_6397C from 0x6397c to 0x639ec (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c8e8
//
// 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:13:54 +0000
//
__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;
}