//
// sub_1005B7D7C from 0x1005b7d7c to 0x1005b7dc0 (68 bytes)
//
// 3 xrefs:
// > sub_1005BE160 @ 0x1005be2b8
// > sub_1005BE160 @ 0x1005be338
// > sub_1005C3DA8 @ 0x1005c4090
//
// 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 sub_1005B7D7C(__int64 a1)
{
__int64 (*v1)(void); // x5
v1 = *(__int64 (**)(void))(*(_QWORD *)a1 + 48LL);
if ( v1 )
return v1();
sub_1005E0E48(16, 130, 66, "ec_lib.c", 434);
return 0;
}