// // sub_7F5284 from 0x7f5284 to 0x7f53b8 (308 bytes) // // 1 xrefs: // > @ 0xa30fc4 // // 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 sub_7F5284(int a1, int a2) { int v2; // r3 size_t v3; // r3 int v5; // r6 int v6; // r0 int v8; // [sp+14h] [bp-14h] BYREF size_t v9[4]; // [sp+18h] [bp-10h] BYREF v2 = *(_DWORD *)(a2 + 20); v8 = 0; if ( v2 && (v3 = *(_DWORD *)(v2 + 32)) != 0 ) { v9[2] = v3; v9[3] = 0; v9[0] = 32; v5 = i2d_ASN1_OCTET_STRING(v9, &v8); if ( v5 < 0 ) { ERR_put_error(16, 267, 65, "crypto/ec/ecx_meth.c", 181); return 0; } else { v6 = OBJ_nid2obj(1034); if ( PKCS8_pkey_set0(a1, v6, 0, -1, 0, v8, v5) ) { return 1; } else { CRYPTO_clear_free(v8, v5, "crypto/ec/ecx_meth.c", 187); ERR_put_error(16, 267, 65, "crypto/ec/ecx_meth.c", 188); return 0; } } } else { ERR_put_error(16, 267, 123, "crypto/ec/ecx_meth.c", 171); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source