//
// sub_100194C1C from 0x100194c1c to 0x100194cac (144 bytes)
//
// 5 xrefs:
// > sub_1001987F0 @ 0x100198a58
// > sub_1001987F0 @ 0x100198a70
// > sub_1001987F0 @ 0x100198ac4
// > sub_1001987F0 @ 0x100198ad0
// > processFMODAudioState @ 0x10019eebc
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:59:56 +0000
//
void __fastcall sub_100194C1C(__int64 *a1, unsigned __int64 *a2)
{
signed int v2; // w8
__int64 v3; // x9
char *v5; // x1
std::string __str; // [xsp+8h] [xbp-28h] BYREF
v2 = *((_DWORD *)a1 + 6);
v3 = *a1;
if ( v2 < (int)(-1431655765 * ((unsigned __int64)(a1[1] - *a1) >> 3)) )
{
*((_DWORD *)a1 + 6) = v2 + 1;
v5 = (char *)(v3 + 24LL * v2);
if ( v5[23] < 0 )
v5 = *(char **)v5;
sub_100009900(&__str, v5);
*a2 = std::stoull(&__str, nullptr, 10);
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
}
}