//
// cms_EncryptedData_init_bio from 0x10f971c to 0x10f9740 (36 bytes)
//
// 2 xrefs:
// > CMS_dataInit @ 0x109dd28
// > ??> @ 0x5af70
//
// 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:18:13 +0000
//
_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);
}