//
// ENGINE_set_default_EC from 0x7f9168 to 0x7f91b8 (80 bytes)
//
// 2 xrefs:
// > ENGINE_set_default @ 0x7f6f20
// > ??> @ 0x6221c
//
// 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_default_EC(int a1)
{
if ( *(_DWORD *)(a1 + 20) )
return engine_table_register(&unk_AD2EA0, sub_7F90BC, a1, &unk_A12874, 1, 1);
else
return 1;
}