//
// ENGINE_register_EC from 0xd9efb4 to 0xd9efec (56 bytes)
//
// 3 xrefs:
// > ENGINE_register_complete @ 0xd9d020
// > ENGINE_register_all_EC @ 0xd9f008
// > ??> @ 0x57198
//
// 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_register_EC(__int64 a1)
{
if ( *(_QWORD *)(a1 + 40) )
return engine_table_register(&unk_125D638, sub_D9EF98, a1, &unk_F6F060, 1);
else
return 1;
}