// // CMS_SignedData_init from 0xa8b530 to 0xa8b610 (224 bytes) // // 1 xrefs: // > @ 0x83fec // // 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:54 +0000 // int __fastcall CMS_SignedData_init(int *a1) { int v2; // r3 int result; // r0 _DWORD *v4; // r0 char ***v5; // r6 _DWORD *v6; // r0 char **v7; // r0 if ( a1[1] ) { if ( OBJ_obj2nid(*a1) == (_BYTE *)&dword_14 + 2 ) { v2 = a1[1]; goto LABEL_5; } ERR_put_error(46, 133, 108, (int)"crypto/cms/cms_sd.c", 26); return 0; } v4 = ASN1_item_new((int)&CMS_SignedData_it); a1[1] = (int)v4; if ( !v4 ) { ERR_put_error(46, 149, 65, (int)"crypto/cms/cms_sd.c", 37); return 0; } *v4 = 1; v5 = (char ***)v4[2]; *v5 = OBJ_nid2obj(0x15u); v6 = (_DWORD *)*a1; *(_DWORD *)(*(_DWORD *)(a1[1] + 8) + 8) = 1; ASN1_OBJECT_free(v6); v7 = OBJ_nid2obj(0x16u); v2 = a1[1]; *a1 = (int)v7; LABEL_5: result = v2; if ( v2 ) return 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source