//
// ENGINE_set_default_EC from 0xd9f028 to 0xd9f060 (56 bytes)
//
// 2 xrefs:
// > ENGINE_set_default @ 0xd9cef8
// > ??> @ 0x8e0e0
//
// 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_default_EC(__int64 a1)
{
if ( *(_QWORD *)(a1 + 40) )
return engine_table_register(&unk_125D638, sub_D9EF98, a1, &unk_F6F060, 1);
else
return 1;
}