// // ASN1_item_pack from 0x108cacc to 0x108cbfc (304 bytes) // // 10 xrefs: // > sub_1050A8C @ 0x1050af4 // > sub_1050B68 @ 0x1050c78 // > sub_1051350 @ 0x1051ac0 // > ASN1_TYPE_pack_sequence @ 0x108ad94 // > PKCS5_pbe_set0_algor @ 0x108daa8 // > CMS_add0_recipient_password @ 0x109edac // > PKCS12_item_pack_safebag @ 0x10e3600 // > PKCS12_pack_p7data @ 0x10e36ec // > PKCS12_pack_authsafes @ 0x10e3a14 // > @ 0x44740 // // 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:16 +0000 // __int64 __fastcall ASN1_item_pack(__int64 a1, __int64 a2, __int64 *a3) { __int64 v6; // x19 int v7; // w0 __int64 result; // x0 if ( !a3 || (v6 = *a3) == 0 ) { v6 = ASN1_STRING_new(); if ( !v6 ) { ERR_put_error(13, 198, 65, (__int64)"crypto/asn1/asn_pack.c", 22); return 0; } } CRYPTO_free(*(void **)(v6 + 8), (__int64)"crypto/asn1/asn_pack.c", 29); *(_QWORD *)(v6 + 8) = 0; v7 = ASN1_item_i2d(a1, (__int64 *)(v6 + 8), a2); *(_DWORD *)v6 = v7; if ( v7 ) { if ( *(_QWORD *)(v6 + 8) ) { if ( !a3 ) return v6; result = v6; if ( !*a3 ) *a3 = v6; return result; } ERR_put_error(13, 198, 65, (__int64)"crypto/asn1/asn_pack.c", 37); } else { ERR_put_error(13, 198, 112, (__int64)"crypto/asn1/asn_pack.c", 33); } if ( !a3 || (result = 0, !*a3) ) { ASN1_STRING_free(v6); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source