// // sub_E725A4 from 0xe725a4 to 0xe7269c (248 bytes) // // 2 xrefs: // > BIO_new_NDEF @ 0xe72854 // > BIO_new_NDEF @ 0xe7285c // // 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 // __int64 __fastcall sub_E725A4(__int64 a1, _QWORD *a2, _DWORD *a3, __int64 *a4) { __int64 v4; // x19 __int64 v7; // x2 __int64 v8; // x6 __int64 v9; // x4 __int64 v10; // x5 int (__fastcall *v11)(__int64, __int64, __int64, _QWORD *); // x4 int v12; // w0 void *v13; // x0 int v14; // w4 __int64 v15; // x2 void *v17; // [xsp+30h] [xbp+30h] BYREF _QWORD v18[3]; // [xsp+38h] [xbp+38h] BYREF if ( !a4 ) return 0; v4 = *a4; v7 = *(_QWORD *)(*a4 + 8); v8 = *(_QWORD *)(*a4 + 24); v9 = *(_QWORD *)(v7 + 32); v10 = *(_QWORD *)(*a4 + 32); v18[1] = *(_QWORD *)(*a4 + 16); v11 = *(int (__fastcall **)(__int64, __int64, __int64, _QWORD *))(v9 + 24); v18[0] = v8; v18[2] = v10; if ( v11(11, v4, v7, v18) <= 0 ) return 0; v12 = ASN1_item_ndef_i2d(*(_QWORD *)v4, nullptr, *(_QWORD *)(v4 + 8)); v13 = CRYPTO_malloc((void *)v12, (__int64)"crypto/asn1/bio_ndef.c", 185); v17 = v13; if ( !v13 ) return 0; *(_QWORD *)(v4 + 40) = v13; *a2 = v13; v14 = ASN1_item_ndef_i2d(*(_QWORD *)v4, (__int64 *)&v17, *(_QWORD *)(v4 + 8)); v15 = **(_QWORD **)(v4 + 32); if ( !v15 ) return 0; *a2 = v15; *a3 = v14 + *(_QWORD *)(v4 + 40) - **(_QWORD **)(v4 + 32); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source