// // EC_POINT_set_affine_coordinates_GF2m from 0xd920e4 to 0xd921b4 (208 bytes) // // 5 xrefs: // > EC_KEY_set_public_key_affine_coordinates @ 0xd90514 // > ec_GF2m_simple_set_compressed_coordinates @ 0xe32730 // > ec_GF2m_simple_oct2point @ 0xe32f10 // > ec_GF2m_simple_add @ 0xe33f08 // > @ 0x6e7c0 // // 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 EC_POINT_set_affine_coordinates_GF2m(__int64 a1, _QWORD *a2) { __int64 (*v2)(void); // x19 __int64 result; // x0 bool v6; // cc v2 = *(__int64 (**)(void))(*(_QWORD *)a1 + 136LL); if ( v2 ) { if ( *(_QWORD *)a1 == *a2 ) { result = v2(); if ( (_DWORD)result ) { v6 = (int)EC_POINT_is_on_curve(a1, a2) <= 0; result = 1; if ( v6 ) { ERR_put_error(16, 185, 107, "crypto/ec/ec_lib.c", 733); return 0; } } } else { ERR_put_error(16, 185, 101, "crypto/ec/ec_lib.c", 725); return 0; } } else { ERR_put_error(16, 185, 66, "crypto/ec/ec_lib.c", 720); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source