//
// sub_1005E9598 from 0x1005e9598 to 0x1005e95b4 (28 bytes)
//
// 6 xrefs:
// > sub_10052300C @ 0x1005232e0
// > sub_1005ECF74 @ 0x1005ed054
// > sub_100600748 @ 0x10060076c
// > sub_100600748 @ 0x1006007a4
// > sub_1006281FC @ 0x10062835c
// > sub_1006281FC @ 0x1006283d8
//
// 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_1005E9598(__int64 a1)
{
__int64 v1; // x8
__int64 (*v2)(void); // x1
v1 = *(_QWORD *)(a1 + 16);
if ( v1 && (v2 = *(__int64 (**)(void))(v1 + 120)) != nullptr )
return v2();
else
return 0;
}