// // asn1_enc_save from 0xfee7e8 to 0xfee8d4 (236 bytes) // // 4 xrefs: // > sub_FE9B88 @ 0xfea3a8 // > sub_FEAA90 @ 0xfeb254 // > ASN1_item_ex_d2i @ 0xfebaf4 // > @ 0xc5b48 // // 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:15:44 +0000 // __int64 __fastcall asn1_enc_save(__int64 *a1, const void *a2, int a3, __int64 a4) { __int64 v4; // x21 __int64 v5; // x3 __int64 v6; // x23 __int64 v7; // x25 size_t v8; // x19 void *v10; // x0 if ( !a1 ) return 1; v4 = *a1; if ( !*a1 ) return 1; v5 = *(_QWORD *)(a4 + 32); if ( !v5 ) return 1; if ( (*(_DWORD *)(v5 + 8) & 2) == 0 ) return 1; v6 = *(int *)(v5 + 32); v7 = v4 + v6; if ( !(v4 + v6) ) return 1; v8 = a3; CRYPTO_free(*(_QWORD *)(v4 + v6), "crypto/asn1/tasn_utl.c", 134); v10 = (void *)CRYPTO_malloc(v8, "crypto/asn1/tasn_utl.c", 135); *(_QWORD *)(v4 + v6) = v10; if ( v10 ) { memcpy(v10, a2, v8); *(_QWORD *)(v7 + 8) = v8; *(_DWORD *)(v7 + 16) = 0; return 1; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source