// // asn1_enc_save from 0x9df0ec to 0x9df198 (172 bytes) // // 4 xrefs: // > sub_9D9D48 @ 0x9da6fc // > sub_9DAE6C @ 0x9db6d8 // > ASN1_item_ex_d2i @ 0x9dbfb8 // > @ 0x7850c // // 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:07:19 +0000 // void *__fastcall asn1_enc_save(int *a1, const void *a2, size_t a3, int a4) { int v4; // r6 int v5; // r3 int v6; // r9 int v7; // r8 void *result; // r0 if ( !a1 ) return &dword_0 + 1; v4 = *a1; if ( !*a1 ) return &dword_0 + 1; v5 = *(_DWORD *)(a4 + 16); if ( !v5 ) return &dword_0 + 1; if ( (*(_DWORD *)(v5 + 4) & 2) == 0 ) return &dword_0 + 1; v6 = *(_DWORD *)(v5 + 20); v7 = v4 + v6; if ( !(v4 + v6) ) return &dword_0 + 1; CRYPTO_free(*(_DWORD *)(v4 + v6), "crypto/asn1/tasn_utl.c", 134); result = (void *)CRYPTO_malloc(a3, "crypto/asn1/tasn_utl.c", 135); *(_DWORD *)(v4 + v6) = result; if ( result ) { memcpy(result, a2, a3); *(_DWORD *)(v7 + 4) = a3; *(_DWORD *)(v7 + 8) = 0; return &dword_0 + 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source