// // ec_GF2m_simple_point_set_affine_coordinates from 0x889d8c to 0x889e64 (216 bytes) // // 2 xrefs: // > @ 0x6a9cc // > @ 0xab4fb4 // // 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_GF2m_simple_point_set_affine_coordinates(int a1, _DWORD *a2, int a3, int a4) { bool v4; // zf int v7; // r6 _UNKNOWN **v8; // r0 v4 = a4 == 0; if ( a4 ) v4 = a3 == 0; if ( v4 ) { ERR_put_error(16, 163, 67, (int)"crypto/ec/ec2_smpl.c", 361); return 0; } else if ( BN_copy(a2[1], a3) && (BN_set_negative(a2[1], 0), BN_copy(a2[2], a4)) && (BN_set_negative(a2[2], 0), v7 = a2[3], v8 = BN_value_one(), BN_copy(v7, (int)v8)) ) { BN_set_negative(a2[3], 0); a2[4] = 1; return 1; } else { return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source