//
// sub_100199398 from 0x100199398 to 0x10019949c (260 bytes)
//
// 1 xrefs:
// > processEffectManagerState @ 0x10019f248
//
// 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:58 +0000
//
void __fastcall sub_100199398(std::string *a1, _QWORD *a2)
{
signed int v4; // w8
__int64 v5; // x0
int v6; // w20
__int64 v7; // x21
__int64 v8; // x20
_QWORD v9[3]; // [xsp+8h] [xbp-68h] BYREF
signed int v10; // [xsp+20h] [xbp-50h]
std::string __p; // [xsp+30h] [xbp-40h] BYREF
void **v12; // [xsp+48h] [xbp-28h] BYREF
memset(&__p, 0, sizeof(__p));
sub_100194F54(a1, &__p);
sub_100194880((__int64)v9, &__p, "|", a1[1].__r_.__value_.__l.__size_);
v4 = v10;
if ( v10 >= (int)(-1431655765 * ((v9[1] - v9[0]) >> 3)) )
{
v6 = 0;
}
else
{
++v10;
v5 = v9[0] + 24LL * v4;
if ( *(char *)(v5 + 23) < 0 )
v5 = *(_QWORD *)v5;
v6 = atoi((const char *)v5);
}
sub_1001994D4(a2, v6);
if ( v6 >= 1 )
{
v7 = 0;
v8 = 72LL * (unsigned int)v6;
do
{
sub_100199518(v9, *a2 + v7);
v7 += 72;
}
while ( v8 != v7 );
}
v12 = (void **)v9;
sub_100018250(&v12);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
}