//
// ENGINE_register_RAND from 0xd9f334 to 0xd9f36c (56 bytes)
//
// 3 xrefs:
// > ENGINE_register_complete @ 0xd9d028
// > ENGINE_register_all_RAND @ 0xd9f388
// > ??> @ 0x4ea20
//
// 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_RAND(__int64 a1)
{
if ( *(_QWORD *)(a1 + 48) )
return engine_table_register(&unk_125D648, sub_D9F318, a1, &unk_F6F084, 1);
else
return 1;
}