//
// 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 (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_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;
}