//
// sub_62FCA8 from 0x62fca8 to 0x62fd34 (140 bytes)
//
// 2 xrefs:
// > sub_623AAC @ 0x623afc
// > sub_62CC48 @ 0x62ce06
//
// 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
//
void __fastcall sub_62FCA8(_DWORD *a1, int a2)
{
int v4; // r0
int v5; // r3
__time_t v6; // [sp+0h] [bp-Ch] BYREF
int v7; // [sp+4h] [bp-8h]
sub_60F990(&v6);
v4 = v6 + a2 / 1000;
v5 = v7 + 1000 * (a2 % 1000);
if ( v5 > (int)"ePageButtonsEfi" )
{
++v4;
v5 -= 1000000;
}
if ( !a1[8653] && !a1[8654] || (v6 = v4, v7 = v5, sub_60F9D8(v4, v5, a1[8653], a1[8654]) <= 0) )
sub_62F93C(a1, a2);
}