//
// sub_10063A9C0 from 0x10063a9c0 to 0x10063aa28 (104 bytes)
//
// 0 xrefs:
//
// 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
//
unsigned __int64 __fastcall sub_10063A9C0(__int64 a1, __int64 a2)
{
const char *v2; // rdi
const char *v3; // rax
__int64 v4; // rdx
_BOOL8 v5; // rcx
int v6; // edx
unsigned __int8 v7; // al
if ( !*(_QWORD *)a1 )
return a2;
v2 = *(const char **)(*(_QWORD *)a1 + 16LL);
if ( !v2 )
return a2;
v3 = v2;
do
v4 = *(unsigned __int8 *)v3++;
while ( (a7_0[v4] & 8) != 0 );
v5 = (_BYTE)v4 == 45;
v6 = 10;
if ( v3[v5 - 1] == 48 )
{
v7 = v3[v5];
v6 = 16;
if ( v7 != 120 )
{
v6 = 10;
if ( v7 == 88 )
v6 = 16;
}
}
return strtoull(v2, nullptr, v6);
}