//
// DSA_set_method from 0x7e1e10 to 0x7e1e60 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x60e6c
//
// 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 DSA_set_method(int a1, int a2)
{
void (*v3)(void); // r3
void (__fastcall *v5)(int); // r3
v3 = *(void (**)(void))(*(_DWORD *)(a1 + 44) + 28);
if ( v3 )
v3();
ENGINE_finish(*(_DWORD *)(a1 + 48));
v5 = *(void (__fastcall **)(int))(a2 + 24);
*(_DWORD *)(a1 + 44) = a2;
*(_DWORD *)(a1 + 48) = 0;
if ( v5 )
v5(a1);
return 1;
}