//
// sub_63000 from 0x63000 to 0x6305c (92 bytes)
//
// 3 xrefs:
// > sub_62F40 @ 0x62fcc
// > sub_A76CC @ 0xa79ec
// > sub_A76CC @ 0xa79f8
//
// 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_63000(__int64 a1, int a2, __int64 a3)
{
__int64 v3; // x8
int v4; // w9
__int128 *v6; // x8
__int128 v7; // q0
__int128 v8; // q2
__int128 v9; // q1
v3 = *(_QWORD *)(a1 + 8);
if ( !v3 )
return 53;
if ( a2 < 0 )
return 31;
v4 = *(_DWORD *)(a1 + 24);
if ( a2 )
{
if ( !v4 )
return 31;
}
if ( v4 >= 1 && v4 <= a2 )
return 31;
v6 = (__int128 *)(v3 + 56LL * a2);
v8 = v6[1];
v7 = v6[2];
v9 = *v6;
*(_QWORD *)(a3 + 48) = *((_QWORD *)v6 + 6);
*(_OWORD *)(a3 + 16) = v8;
*(_OWORD *)(a3 + 32) = v7;
*(_OWORD *)a3 = v9;
return 0;
}