//
// sub_8B9A58 from 0x8b9a58 to 0x8b9ba0 (328 bytes)
//
// 1 xrefs:
// > ??> @ 0xab553c
//
// 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
//
bool __fastcall sub_8B9A58(int a1, int a2, int a3, int a4)
{
if ( *(_DWORD *)a2
&& (BIO_printf(a3, "%*scrlUrl: ", a4, &byte_9B1912) <= 0
|| !ASN1_STRING_print(a3, *(int **)a2)
|| BIO_write(a3, (int)"\n", 1) <= 0)
|| *(_DWORD *)(a2 + 4)
&& (BIO_printf(a3, "%*scrlNum: ", a4, &byte_9B1912) <= 0
|| i2a_ASN1_INTEGER(a3, *(_DWORD **)(a2 + 4)) <= 0
|| BIO_write(a3, (int)"\n", 1) <= 0) )
{
return 0;
}
if ( *(_DWORD *)(a2 + 8) )
{
if ( BIO_printf(a3, "%*scrlTime: ", a4, &byte_9B1912) > 0 && ASN1_GENERALIZEDTIME_print(a3, *(int **)(a2 + 8)) )
return BIO_write(a3, (int)"\n", 1) > 0;
return 0;
}
return 1;
}