// // ec_GFp_simple_make_affine from 0x7f4bd4 to 0x7f4cec (280 bytes) // // 4 xrefs: // > @ 0x61f4c // > @ 0xab2714 // > @ 0xab27d8 // > @ 0xab289c // // 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 ec_GFp_simple_make_affine(int a1, _DWORD *a2, int a3) { int v4; // r4 int v8; // r8 int v9; // r4 int v10; // r0 if ( a2[4] ) return 1; v4 = EC_POINT_is_at_infinity(a1, a2); if ( v4 ) return 1; if ( a3 ) { v8 = 0; goto LABEL_8; } v10 = BN_CTX_new(0); a3 = v10; if ( !v10 ) return v4; v8 = v10; LABEL_8: BN_CTX_start(a3); BN_CTX_get(a3); if ( BN_CTX_get(a3) && EC_POINT_get_affine_coordinates_GFp(a1, a2) && EC_POINT_set_affine_coordinates_GFp(a1, a2) ) { if ( a2[4] ) { v9 = 1; } else { v9 = 0; ERR_put_error(16, 102, 68, "crypto/ec/ecp_smpl.c", 1188); } } else { v9 = 0; } BN_CTX_end(a3); BN_CTX_free(v8); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source