//
// sub_100618A24 from 0x100618a24 to 0x100618a8c (104 bytes)
//
// 4 xrefs:
// > sub_1005C22CC @ 0x1005c2528
// > sub_1005C22CC @ 0x1005c296c
// > sub_1005D3E70 @ 0x1005d419c
// > sub_1005D3E70 @ 0x1005d43d8
//
// 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_100618A24(__int64 a1, _QWORD *a2, _QWORD *a3)
{
if ( *(_DWORD *)a1 == 1 )
{
if ( a2 )
*a2 = *(_QWORD *)(*(_QWORD *)(a1 + 8) + 24LL);
if ( a3 )
*a3 = *(_QWORD *)(*(_QWORD *)(a1 + 8) + 16LL);
return 1;
}
else
{
sub_1005E0E48(46, 175, 181, (__int64)"cms_kari.c", 79);
return 0;
}
}