//
// sub_63E64 from 0x63e64 to 0x63eec (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c8c8
//
// 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_63E64(_QWORD *a1, __int64 a2)
{
__int64 v3; // x20
__int64 v4; // x0
__int64 v5; // x8
unsigned int v6; // w20
if ( a2 )
{
v3 = a2;
v4 = sub_642EC(a1[8]);
v5 = a1[6];
*(_QWORD *)(v3 + 8) = a1 + 5;
v3 += 8;
*(_QWORD *)(v3 + 8) = v5;
a1[6] = v3;
**(_QWORD **)(v3 + 8) = v3;
v6 = 28;
if ( (_QWORD *)a1[2] == a1 + 2 )
{
if ( (_QWORD *)a1[3] == a1 + 2 )
v6 = 0;
else
v6 = 28;
}
sub_642D8(v4);
}
else
{
return 31;
}
return v6;
}