// // EC_POINT_point2oct from 0xd93ee4 to 0xd93fdc (248 bytes) // // 6 xrefs: // > i2o_ECPublicKey @ 0xd8ed8c // > i2o_ECPublicKey @ 0xd8edbc // > i2o_ECPublicKey @ 0xd8ee24 // > EC_POINT_point2buf @ 0xd94110 // > EC_POINT_point2buf @ 0xd9416c // > @ 0x38c70 // // 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_point2oct(__int64 a1, _QWORD *a2) { _DWORD *v2; // x6 __int64 (*v3)(void); // x19 v2 = *(_DWORD **)a1; v3 = *(__int64 (**)(void))(*(_QWORD *)a1 + 160LL); if ( v3 ) { if ( v2 != (_DWORD *)*a2 ) { LABEL_3: ERR_put_error(16, 123, 101, "crypto/ec/ec_oct.c", 97); return 0; } if ( (*v2 & 1) == 0 ) return v3(); } else { if ( (*v2 & 1) == 0 ) { ERR_put_error(16, 123, 66, "crypto/ec/ec_oct.c", 93); return 0; } if ( v2 != (_DWORD *)*a2 ) goto LABEL_3; } if ( v2[1] == 406 ) return ec_GFp_simple_point2oct(a1); else return ec_GF2m_simple_point2oct(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source