//
// sub_63A524 from 0x63a524 to 0x63a57e (90 bytes)
//
// 1 xrefs:
// > sub_61A8A4 @ 0x61a8dc
//
// 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
//
int __fastcall sub_63A524(int a1)
{
int *v1; // r7
int v2; // r8
int v3; // r5
int *v4; // r4
int v5; // r0
int v6; // r4
int v7; // r5
int v8; // r0
__time_t v10[2]; // [sp+0h] [bp-10h] BYREF
__time_t v11[2]; // [sp+8h] [bp-8h] BYREF
v1 = *(int **)(a1 + 44);
v2 = *v1;
v3 = *(_DWORD *)(*v1 + 524);
if ( !v3 )
v3 = *(_DWORD *)(a1 + 40);
v4 = (int *)(a1 + 32);
sub_60F990(v10);
v5 = sub_60F9D8(v10[0], v10[1], *v4, v4[1]);
v6 = *(_DWORD *)(v2 + 512);
v7 = v3 - v5;
if ( v6 )
{
sub_60F990(v11);
v8 = v6 - sub_60F9D8(v11[0], v11[1], v1[100], v1[101]);
if ( v7 >= v8 )
return v8;
}
return v7;
}