// // ec_GFp_simple_get_Jprojective_coordinates_GFp from 0xa07be4 to 0xa07d58 (372 bytes) // // 4 xrefs: // > @ 0x7b93c // > @ 0xd16dc0 // > @ 0xd16e84 // > @ 0xd16f48 // // 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:41 +0000 // bool __fastcall ec_GFp_simple_get_Jprojective_coordinates_GFp(int *a1, int *a2, int a3, int a4, int a5, int a6) { int v7; // r0 int v10; // r6 int v11; // r8 int v12; // r0 _BOOL4 v13; // r4 int v15; // r0 int v16; // [sp+4h] [bp-8h] v7 = *a1; v10 = a6; if ( !*(_DWORD *)(v7 + 152) ) { if ( a3 && !BN_copy(a3, a2[1]) || a4 && !BN_copy(a4, a2[2]) ) { v13 = 0; v11 = 0; } else if ( a5 ) { v11 = 0; v13 = BN_copy(a5, a2[3]) != 0; } else { v13 = 1; v11 = 0; } goto LABEL_8; } if ( a6 ) { v11 = 0; goto LABEL_5; } v16 = a3; v15 = BN_CTX_new(v7); v10 = v15; if ( v15 ) { v11 = v15; a3 = v16; LABEL_5: if ( a3 && (v12 = (*(int (__fastcall **)(int *, int, int, int))(*a1 + 152))(a1, a3, a2[1], v10)) == 0 || a4 && (v12 = (*(int (__fastcall **)(int *, int, int, int))(*a1 + 152))(a1, a4, a2[2], v10)) == 0 ) { v13 = v12; } else if ( a5 ) { v13 = (*(int (__fastcall **)(int *, int, int, int))(*a1 + 152))(a1, a5, a2[3], v10) != 0; } else { v13 = 1; } LABEL_8: BN_CTX_free(v11); return v13; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source