//
// sub_B92860 from 0xb92860 to 0xb928e0 (128 bytes)
//
// 1 xrefs:
// > sub_B70330 @ 0xb709a4
//
// 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
//
__int64 __fastcall sub_B92860(__int64 a1, __int64 a2)
{
unsigned int v2; // w19
__int64 v3; // x3
v2 = 1;
if ( a2 )
{
v3 = *(_QWORD *)(a1 + 1064);
if ( v3 )
{
if ( *(_DWORD *)(a1 + 1056) == 2 )
{
if ( a2 >= v3 )
{
sub_B7B528(a1, "The requested document is not old enough\n");
*(_BYTE *)(a1 + 36224) = 1;
return 0;
}
}
else if ( a2 <= v3 )
{
sub_B7B528(a1, "The requested document is not new enough\n");
*(_BYTE *)(a1 + 36224) = 1;
return 0;
}
}
}
return v2;
}