// // EC_GROUP_set_seed from 0x7ea2bc to 0x7ea33c (128 bytes) // // 2 xrefs: // > EC_GROUP_new_by_curve_name @ 0x7e8418 // > @ 0x615dc // // 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 // void *__fastcall EC_GROUP_set_seed(int a1, const void *a2, size_t a3) { bool v6; // zf void *result; // r0 CRYPTO_free(*(_DWORD *)(a1 + 28), "crypto/ec/ec_lib.c", 383); v6 = a2 == nullptr; if ( a2 ) v6 = a3 == 0; *(_DWORD *)(a1 + 28) = 0; *(_DWORD *)(a1 + 32) = 0; if ( v6 ) return &dword_0 + 1; result = (void *)CRYPTO_malloc(a3, "crypto/ec/ec_lib.c", 390); *(_DWORD *)(a1 + 28) = result; if ( result ) { memcpy(result, a2, a3); *(_DWORD *)(a1 + 32) = a3; return (void *)a3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source