// // EC_KEY_set_private_key from 0x7e937c to 0x7e9404 (136 bytes) // // 1 xrefs: // > @ 0x6174c // // 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 // bool __fastcall EC_KEY_set_private_key(int a1, int a2) { int *v2; // r12 int v3; // r12 int (*v4)(void); // r3 int (__fastcall *v7)(int, int); // r3 int v8; // r0 v2 = *(int **)(a1 + 12); if ( !v2 ) return 0; v3 = *v2; if ( !v3 ) return 0; v4 = *(int (**)(void))(v3 + 168); if ( v4 ) { if ( !v4() ) return 0; } v7 = *(int (__fastcall **)(int, int))(*(_DWORD *)a1 + 24); if ( v7 ) { if ( !v7(a1, a2) ) return 0; } BN_clear_free(*(_BYTE **)(a1 + 20)); v8 = BN_dup(a2); *(_DWORD *)(a1 + 20) = v8; return v8 != 0; }