//
// ENGINE_set_finish_function from 0x7f77a8 to 0x7f77b4 (12 bytes)
//
// 2 xrefs:
// > engine_load_dynamic_int @ 0x8b3998
// > ??> @ 0x6243c
//
// 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 ENGINE_set_finish_function(int a1, int a2)
{
*(_DWORD *)(a1 + 52) = a2;
return 1;
}