//
// sub_64000 from 0x64000 to 0x6404c (76 bytes)
//
// 3 xrefs:
// > sub_83A70 @ 0x83aa8
// > sub_83AE8 @ 0x83b14
// > sub_83B3C @ 0x83b78
//
// 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_64000(__int64 a1, unsigned __int8 a2)
{
__int64 v2; // x20
_QWORD *v3; // x21
_QWORD *v5; // x22
v3 = (_QWORD *)(a1 + 40);
v5 = (_QWORD *)(a1 + 40);
while ( 1 )
{
v5 = (_QWORD *)*v5;
if ( v5 == v3 )
break;
if ( (unsigned __int8)sub_6420C() == a2 )
return v2;
}
return 0;
}