// // CMS_EncryptedData_set1_key from 0xae499c to 0xae4aa4 (264 bytes) // // 1 xrefs: // > @ 0x8571c // // 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:09:37 +0000 // int __fastcall CMS_EncryptedData_set1_key(int *a1, char **a2, const void *a3, void *a4) { bool v4; // zf void *v9; // r0 char **v10; // r0 int v11; // r1 v4 = a4 == nullptr; if ( a4 ) v4 = a3 == nullptr; if ( !v4 ) { if ( a2 ) { v9 = ASN1_item_new((int)&CMS_EncryptedData_it); a1[1] = (int)v9; if ( !v9 ) { ERR_put_error(46, 123, 65, (int)"crypto/cms/cms_enc.c", 193); return 0; } v10 = OBJ_nid2obj(0x1Au); v11 = a1[1]; *a1 = (int)v10; *(_DWORD *)v11 = 0; } else { if ( OBJ_obj2nid(*a1) != (_BYTE *)&dword_18 + 2 ) { ERR_put_error(46, 123, 122, (int)"crypto/cms/cms_enc.c", 199); return 0; } v11 = a1[1]; } return cms_EncryptedContent_init(*(char ****)(v11 + 4), a2, a3, a4); } ERR_put_error(46, 123, 130, (int)"crypto/cms/cms_enc.c", 187); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source