// // ec_GF2m_simple_point_set_affine_coordinates from 0xa9e98c to 0xa9ea64 (216 bytes) // // 2 xrefs: // > @ 0x8444c // > @ 0xd19690 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:09:11 +0000 // 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