//
// OCSP_crl_reason_str from 0xdc4a84 to 0xdc4b6c (232 bytes)
//
// 3 xrefs:
// > sub_BB678C @ 0xbb7884
// > OCSP_RESPONSE_print @ 0xdc5214
// > ??> @ 0x37ad0
//
// 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
//
const char *__fastcall OCSP_crl_reason_str(__int64 a1)
{
bool v1; // zf
const char *result; // x0
switch ( a1 )
{
case 0LL:
return "unspecified";
case 1LL:
return "keyCompromise";
case 2LL:
return "cACompromise";
case 3LL:
return "affiliationChanged";
case 4LL:
return "superseded";
case 5LL:
return "cessationOfOperation";
case 6LL:
return "certificateHold";
}
v1 = a1 == 8;
result = "(UNKNOWN)";
if ( v1 )
return "removeFromCRL";
return result;
}