// // EC_POINT_point2oct from 0xa01f00 to 0xa0200c (268 bytes) // // 6 xrefs: // > i2o_ECPublicKey @ 0x9fc85c // > i2o_ECPublicKey @ 0x9fc898 // > i2o_ECPublicKey @ 0x9fc8f4 // > EC_POINT_point2buf @ 0xa0214c // > EC_POINT_point2buf @ 0xa0219c // > @ 0x7afbc // // 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:07:38 +0000 // int __fastcall EC_POINT_point2oct(int a1, _DWORD *a2) { _DWORD *v2; // r12 v2 = *(_DWORD **)a1; if ( *(_DWORD *)(*(_DWORD *)a1 + 84) ) { if ( v2 != (_DWORD *)*a2 ) goto LABEL_3; if ( (*v2 & 1) == 0 ) return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 84))(a1); } else { if ( (*v2 & 1) == 0 ) { ERR_put_error(16, 123, 66, "crypto/ec/ec_oct.c", 93); return 0; } if ( v2 != (_DWORD *)*a2 ) { LABEL_3: ERR_put_error(16, 123, 101, "crypto/ec/ec_oct.c", 97); return 0; } } if ( v2[1] == 406 ) return ec_GFp_simple_point2oct(); else return ec_GF2m_simple_point2oct(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source