//
// RSA_set_method from 0xa423a0 to 0xa423f0 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x7fd9c
//
// 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:08:14 +0000
//
int __fastcall RSA_set_method(int a1, int a2)
{
void (*v3)(void); // r3
void (__fastcall *v5)(int); // r3
v3 = *(void (**)(void))(*(_DWORD *)(a1 + 8) + 32);
if ( v3 )
v3();
ENGINE_finish(*(_DWORD *)(a1 + 12));
v5 = *(void (__fastcall **)(int))(a2 + 28);
*(_DWORD *)(a1 + 8) = a2;
*(_DWORD *)(a1 + 12) = 0;
if ( v5 )
v5(a1);
return 1;
}