// // DH_set_method from 0x7e0494 to 0x7e04e4 (80 bytes) // // 1 xrefs: // > @ 0x60afc // // 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 DH_set_method(int a1, int a2) { void (*v3)(void); // r3 void (__fastcall *v5)(int); // r3 v3 = *(void (**)(void))(*(_DWORD *)(a1 + 64) + 20); if ( v3 ) v3(); ENGINE_finish(*(_DWORD *)(a1 + 68)); v5 = *(void (__fastcall **)(int))(a2 + 16); *(_DWORD *)(a1 + 64) = a2; *(_DWORD *)(a1 + 68) = 0; if ( v5 ) v5(a1); return 1; }