//
// OCSP_crl_reason_str from 0x1042de4 to 0x1042ecc (232 bytes)
//
// 3 xrefs:
// > sub_E2C94C @ 0xe2da44
// > OCSP_RESPONSE_print @ 0x1043574
// > ??> @ 0x51568
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:16:31 +0000
//
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;
}