// // sub_100197B10 from 0x100197b10 to 0x100197d10 (512 bytes) // // 1 xrefs: // > processGJGameStateFields @ 0x10019db1c // // 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_100197B10(std::string *a1, unsigned __int64 a2) { signed int v4; // w8 const char *v5; // x0 int v6; // w20 int i; // w24 signed int v8; // w8 __int64 v9; // x22 signed int v10; // w23 signed int v11; // w28 const char *v12; // x0 __int64 v13; // x0 int v14; // w23 _QWORD *v15; // x22 __int64 v16; // x28 __int64 v17; // x23 __int64 v18; // x25 __int64 v19; // [xsp+8h] [xbp-A8h] BYREF __int64 v20; // [xsp+10h] [xbp-A0h] signed int v21; // [xsp+20h] [xbp-90h] std::string __p; // [xsp+30h] [xbp-80h] BYREF void ***v23; // [xsp+50h] [xbp-60h] BYREF void **v24; // [xsp+58h] [xbp-58h] BYREF memset(&__p, 0, sizeof(__p)); sub_100194F54(a1, &__p); sub_100194880((__int64)&v19, &__p, "|", a1[1].__r_.__value_.__l.__size_); v4 = v21; if ( v21 >= (int)(-1431655765 * ((unsigned __int64)(v20 - v19) >> 3)) ) { sub_10001AC84(a2); } else { ++v21; v5 = (const char *)(v19 + 24LL * v4); if ( v5[23] < 0 ) v5 = *(const char **)v5; v6 = atoi(v5); sub_10001AC84(a2); if ( v6 >= 1 ) { for ( i = 0; i != v6; ++i ) { LODWORD(v24) = 0; v8 = v21; v9 = v19; v10 = -1431655765 * ((unsigned __int64)(v20 - v19) >> 3); if ( v21 < v10 ) { v11 = ++v21; v12 = (const char *)(v19 + 24LL * v8); if ( v12[23] < 0 ) v12 = *(const char **)v12; LODWORD(v24) = atoi(v12); v8 = v11; } if ( v8 >= v10 ) { v14 = 0; } else { v21 = v8 + 1; v13 = v9 + 24LL * v8; if ( *(char *)(v13 + 23) < 0 ) v13 = *(_QWORD *)v13; v14 = atoi((const char *)v13); } v23 = &v24; v15 = sub_10001ACD8(a2, (int *)&v24, (__int64)&unk_10075EF86, (_DWORD **)&v23); sub_100197D4C(v15 + 3, v14); if ( v14 >= 1 ) { v16 = 0; v17 = 16LL * (unsigned int)v14; do { v18 = v15[3]; v23 = nullptr; sub_100194DCC((__int64)&v19, (__int64 *)&v23); *(_QWORD *)(v18 + v16) = v23; sub_100194ADC(&v19, (double *)(v18 + v16 + 8)); v16 += 16; } while ( v17 != v16 ); } } } } v24 = (void **)&v19; sub_100018250(&v24); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source