// // CMS_stream from 0xa88ddc to 0xa88e70 (148 bytes) // // 2 xrefs: // > sub_A876E8 @ 0xa87724 // > @ 0x838fc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:08:53 +0000 // int __fastcall CMS_stream(_DWORD *a1, int a2) { int *v3; // r0 int *v4; // r5 int v5; // r4 v3 = (int *)CMS_get0_content(a2); v4 = v3; if ( !v3 ) return 0; v5 = *v3; if ( *v3 || (v5 = ASN1_OCTET_STRING_new(), (*v4 = v5) != 0) ) { *(_DWORD *)(v5 + 12) = *(_DWORD *)(v5 + 12) & 0xFFFFFFCF | 0x10; *a1 = v5 + 8; return 1; } else { ERR_put_error(46, 155, 65, (int)"crypto/cms/cms_io.c", 31); return 0; } }