//
// ENGINE_set_flags from 0xd9d764 to 0xd9d770 (12 bytes)
//
// 2 xrefs:
// > engine_load_dynamic_int @ 0xe5d890
// > ??> @ 0x791a0
//
// 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
//
__int64 __fastcall ENGINE_set_flags(__int64 a1, int a2)
{
*(_DWORD *)(a1 + 152) = a2;
return 1;
}