//
// d2i_SCT_LIST from 0xd83ba0 to 0xd83c30 (144 bytes)
//
// 3 xrefs:
// > ??> @ 0x9bb08
// > ??> @ 0x1227020
// > ??> @ 0x12270f0
//
// 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 d2i_SCT_LIST(__int64 *a1, unsigned __int8 **a2, __int64 a3)
{
unsigned __int8 *v5; // x3
__int64 result; // x0
__int64 v8; // x2
__int64 v9; // x19
__int64 v10; // [xsp+40h] [xbp+40h] BYREF
unsigned __int8 *v11; // [xsp+48h] [xbp+48h] BYREF
v5 = *a2;
v10 = 0;
v11 = v5;
result = d2i_ASN1_OCTET_STRING(&v10, (char **)&v11, a3);
if ( result )
{
v8 = *(int *)v10;
v11 = *(unsigned __int8 **)&byte_8[v10];
v9 = o2i_SCT_LIST(a1, &v11, v8);
if ( v9 )
*a2 += a3;
ASN1_OCTET_STRING_free(v10);
return v9;
}
return result;
}