// // ASN1_item_ndef_i2d from 0x7c7f1c to 0x7c7fcc (176 bytes) // // 6 xrefs: // > i2d_PKCS7_NDEF @ 0x826650 // > @ 0x8c6c9c // > @ 0x8c6ccc // > @ 0x8c6d48 // > @ 0x8c6d78 // > @ 0x5eaec // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall ASN1_item_ndef_i2d(size_t *a1, int *a2, unsigned __int8 *a3) { int result; // r0 int v6; // r5 int v7; // r9 size_t *v8; // [sp+8h] [bp-Ch] BYREF int v9; // [sp+Ch] [bp-8h] BYREF v8 = a1; if ( !a2 || *a2 ) return ASN1_item_ex_i2d(&v8, a2, a3, -1, 2048); result = ASN1_item_ex_i2d(&v8, nullptr, a3, -1, 2048); v6 = result; if ( result > 0 ) { v7 = CRYPTO_malloc(result, "crypto/asn1/tasn_enc.c", 63); if ( v7 ) { v9 = v7; ASN1_item_ex_i2d(&v8, &v9, a3, -1, 2048); *a2 = v7; return v6; } else { return -1; } } return result; }