// // EC_POINTs_make_affine from 0x7eb738 to 0x7eb7f0 (184 bytes) // // 3 xrefs: // > ec_wNAF_mul @ 0x7ec8c8 // > ec_wNAF_precompute_mult @ 0x7ecf80 // > @ 0x61b0c // // 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_POINTs_make_affine(int *a1, int a2, _DWORD **a3) { int v3; // r5 _DWORD **v4; // lr int v5; // r12 _DWORD *v6; // t1 v3 = *a1; if ( *(_DWORD *)(*a1 + 120) ) { if ( !a2 ) return (*(int (__fastcall **)(int *))(*a1 + 120))(a1); if ( v3 == **a3 ) { v4 = a3; v5 = 0; while ( ++v5 != a2 ) { v6 = v4[1]; ++v4; if ( v3 != *v6 ) goto LABEL_9; } return (*(int (__fastcall **)(int *))(*a1 + 120))(a1); } LABEL_9: ERR_put_error(16, 136, 101, "crypto/ec/ec_lib.c", 891); } else { ERR_put_error(16, 136, 66, "crypto/ec/ec_lib.c", 886); } return 0; }