// // CMS_stream from 0x109ce40 to 0x109cedc (156 bytes) // // 2 xrefs: // > sub_109B830 @ 0x109b884 // > @ 0x7e070 // // 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:17:29 +0000 // __int64 *__fastcall CMS_stream(_QWORD *a1, __int64 a2) { __int64 *result; // x0 __int64 *v4; // x19 __int64 v5; // x20 __int64 v6; // x0 result = (__int64 *)CMS_get0_content(a2); v4 = result; if ( result ) { v5 = *result; if ( *result || (v6 = ASN1_OCTET_STRING_new(), *v4 = v6, (v5 = v6) != 0) ) { *(_QWORD *)(v5 + 16) = *(_QWORD *)(v5 + 16) & 0xFFFFFFFFFFFFFFCFLL | 0x10; *a1 = v5 + 8; return (_QWORD *)(dword_0 + 1); } else { ERR_put_error(46, 155, 65, (__int64)"crypto/cms/cms_io.c", 31); return nullptr; } } return result; }