//
// sub_6292D4 from 0x6292d4 to 0x629312 (62 bytes)
//
// 1 xrefs:
// > sub_60F254 @ 0x60f81c
//
// 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_6292D4(size_t a1, int a2)
{
int v2; // r2
if ( !a2 )
return 1;
v2 = *(_DWORD *)(a1 + 632);
if ( !v2 )
return 1;
if ( *(_DWORD *)(a1 + 628) == 2 )
{
if ( a2 >= v2 )
{
sub_61807C(a1, "The requested document is not old enough\n");
LABEL_6:
*(_BYTE *)(a1 + 34796) = 1;
return 0;
}
}
else if ( a2 <= v2 )
{
sub_61807C(a1, "The requested document is not new enough\n");
goto LABEL_6;
}
return 1;
}