// // EC_POINT_set_affine_coordinates_GFp from 0x1010374 to 0x1010444 (208 bytes) // // 7 xrefs: // > EC_GROUP_new_by_curve_name @ 0x100d72c // > EC_KEY_set_public_key_affine_coordinates @ 0x100e7e8 // > sub_10150E8 @ 0x10152d0 // > ec_GFp_simple_set_compressed_coordinates @ 0x1016c68 // > ec_GFp_simple_oct2point @ 0x1017304 // > ec_GFp_simple_make_affine @ 0x101920c // > @ 0xc5ef0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:16:02 +0000 // __int64 __fastcall EC_POINT_set_affine_coordinates_GFp(__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, 124, 107, "crypto/ec/ec_lib.c", 707); return 0; } } } else { ERR_put_error(16, 124, 101, "crypto/ec/ec_lib.c", 699); return 0; } } else { ERR_put_error(16, 124, 66, "crypto/ec/ec_lib.c", 694); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source