//
// sub_1005E94A8 from 0x1005e94a8 to 0x1005e94c8 (32 bytes)
//
// 5 xrefs:
// > sub_1005234DC @ 0x100523eac
// > sub_100524748 @ 0x100524858
// > sub_10053FCA8 @ 0x10053ff64
// > sub_100540098 @ 0x1005400e4
// > sub_1005CB7FC @ 0x1005cb8b4
//
// 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_1005E94A8(__int64 a1)
{
__int64 v1; // x8
__int64 (*v2)(void); // x1
if ( a1 && (v1 = *(_QWORD *)(a1 + 16)) != 0 && (v2 = *(__int64 (**)(void))(v1 + 96)) != nullptr )
return v2();
else
return 0;
}