// // EC_get_builtin_curves from 0x7e84cc to 0x7e8514 (72 bytes) // // 1 xrefs: // > @ 0x615ec // // 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_get_builtin_curves(int a1, unsigned int a2) { bool v2; // zf int *v3; // r3 _DWORD *v4; // r2 char *v5; // r12 int v6; // r0 int v7; // r1 v2 = a2 == 0; if ( a2 ) v2 = a1 == 0; if ( !v2 ) { v3 = (int *)&unk_AB2154; if ( a2 >= 0x51 ) a2 = 81; v4 = (_DWORD *)(a1 + 4); v5 = (char *)&unk_AB2154 + 16 * a2; do { v6 = *v3; v7 = v3[3]; v3 += 4; *(v4 - 1) = v6; *v4 = v7; v4 += 2; } while ( v3 != (int *)v5 ); } return 81; }