//
// EC_GROUP_precompute_mult from 0x7eb888 to 0x7eb8b4 (44 bytes)
//
// 2 xrefs:
// > EC_KEY_precompute_mult @ 0x7e96bc
// > ??> @ 0x617ec
//
// 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_GROUP_precompute_mult(int a1)
{
int (*v1)(void); // r3
if ( !*(_DWORD *)(*(_DWORD *)a1 + 124) )
return ec_wNAF_precompute_mult();
v1 = *(int (**)(void))(*(_DWORD *)a1 + 128);
if ( v1 )
return v1();
else
return 1;
}