//
// cms_EncryptedData_init_bio from 0xe7b71c to 0xe7b740 (36 bytes)
//
// 2 xrefs:
// > CMS_dataInit @ 0xe1fa28
// > ??> @ 0x3f180
//
// 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
//
_QWORD *__fastcall cms_EncryptedData_init_bio(__int64 a1)
{
_QWORD *v1; // x1
__int64 v2; // x0
v1 = *(_QWORD **)(a1 + 8);
v2 = v1[1];
if ( *(_QWORD *)(v2 + 24) && v1[2] )
*v1 = 2;
return cms_EncryptedContent_init_bio(v2);
}