//
// sub_100197484 from 0x100197484 to 0x100197678 (500 bytes)
//
// 2 xrefs:
// > processGJGameStateFields @ 0x10019dabc
// > processGJGameStateFields @ 0x10019dac8
//
// 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:57 +0000
//
void __fastcall sub_100197484(std::string *a1, __int64 *a2)
{
signed int v4; // w8
__int64 v5; // x0
int v6; // w20
__int64 v7; // x21
__int64 v8; // x20
__int64 v9; // x22
__int64 v10; // x22
__int64 v11[3]; // [xsp+0h] [xbp-80h] BYREF
signed int v12; // [xsp+18h] [xbp-68h]
std::string __p; // [xsp+28h] [xbp-58h] BYREF
__int64 v14; // [xsp+40h] [xbp-40h] BYREF
void **v15; // [xsp+48h] [xbp-38h] BYREF
memset(&__p, 0, sizeof(__p));
sub_100194F54(a1, &__p);
sub_100194880((__int64)v11, &__p, "|", a1[1].__r_.__value_.__l.__size_);
v4 = v12;
if ( v12 >= (int)(-1431655765 * ((unsigned __int64)(v11[1] - v11[0]) >> 3)) )
{
v6 = 0;
}
else
{
++v12;
v5 = v11[0] + 24LL * v4;
if ( *(char *)(v5 + 23) < 0 )
v5 = *(_QWORD *)v5;
v6 = atoi((const char *)v5);
}
sub_1001976B4(a2, v6);
if ( v6 >= 1 )
{
v7 = 0;
v8 = 96LL * (unsigned int)v6;
do
{
v9 = *a2;
v14 = 0;
sub_100194DCC((__int64)v11, &v14);
*(_QWORD *)(v9 + v7) = v14;
sub_100194DCC((__int64)v11, (__int64 *)(v9 + v7 + 8));
sub_100194DCC((__int64)v11, (__int64 *)(v9 + v7 + 16));
sub_100194DCC((__int64)v11, (__int64 *)(v9 + v7 + 24));
sub_100194DCC((__int64)v11, (__int64 *)(v9 + v7 + 32));
sub_100194DCC((__int64)v11, (__int64 *)(v9 + v7 + 40));
sub_100194DCC((__int64)v11, (__int64 *)(v9 + v7 + 48));
v10 = v9 + v7;
sub_100194DCC((__int64)v11, (__int64 *)(v10 + 56));
sub_100194A74(v11, (float *)(v10 + 64));
sub_100194A74(v11, (float *)(v10 + 68));
sub_100194A74(v11, (float *)(v10 + 72));
sub_100194BA8(v11, (bool *)(v10 + 76));
sub_100194BA8(v11, (bool *)(v10 + 77));
sub_100194BA8(v11, (bool *)(v10 + 78));
sub_100194BA8(v11, (bool *)(v10 + 79));
sub_100194B44((__int64)v11, (_DWORD *)(v10 + 80));
sub_100194B44((__int64)v11, (_DWORD *)(v10 + 84));
sub_100194B44((__int64)v11, (_DWORD *)(v10 + 88));
v7 += 96;
}
while ( v8 != v7 );
}
v15 = (void **)v11;
sub_100018250(&v15);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
}