//
// sub_100606210 from 0x100606210 to 0x10060622c (28 bytes)
//
// 13 xrefs:
// > sub_1005F9900 @ 0x1005f9bf8
// > sub_100609B80 @ 0x100609db4
// > sub_100609B80 @ 0x100609e94
// > sub_10060AC34 @ 0x10060af9c
// > sub_10060AC34 @ 0x10060b08c
// > sub_10060AC34 @ 0x10060b450
// > sub_10060AC34 @ 0x10060b4e4
// > sub_10060B7A4 @ 0x10060b968
// > sub_10060B7A4 @ 0x10060b9e8
// > sub_10060C208 @ 0x10060c2dc
// > sub_10060C60C @ 0x10060c678
// > sub_10060F09C @ 0x10060f17c
// > sub_10060F09C @ 0x10060f1e0
//
// 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_100606210(__int64 result, __int64 a2)
{
__int64 (__fastcall *v2)(_QWORD); // x2
if ( a2 )
{
v2 = *(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)(result + 40) + 24LL);
if ( v2 )
return v2(*(_QWORD *)(result + 48));
}
return result;
}