// // sub_100196C4C from 0x100196c4c to 0x100196e38 (492 bytes) // // 2 xrefs: // > processGJGameStateFields @ 0x10019da2c // > processGJGameStateFields @ 0x10019da38 // // 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_100196C4C(std::string *a1, __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 const char *v13; // x0 int v14; // w23 __int64 v15; // x22 __int64 v16; // x28 __int64 v17; // x23 __int64 v18; // [xsp+8h] [xbp-A8h] BYREF __int64 v19; // [xsp+10h] [xbp-A0h] signed int v20; // [xsp+20h] [xbp-90h] std::string __p; // [xsp+30h] [xbp-80h] BYREF char v22; // [xsp+4Fh] [xbp-61h] 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)&v18, &__p, ":", a1[1].__r_.__value_.__l.__size_); v4 = v20; if ( v20 >= (int)(-1431655765 * ((unsigned __int64)(v19 - v18) >> 3)) ) { sub_1001A225C(a2); } else { ++v20; v5 = (const char *)(v18 + 24LL * v4); if ( v5[23] < 0 ) v5 = *(const char **)v5; v6 = atoi(v5); sub_1001A225C(a2); if ( v6 >= 1 ) { for ( i = 0; i != v6; ++i ) { LODWORD(v24) = 0; v8 = v20; v9 = v18; v10 = -1431655765 * ((unsigned __int64)(v19 - v18) >> 3); if ( v20 < v10 ) { v11 = ++v20; v12 = (const char *)(v18 + 24LL * v8); if ( v12[23] < 0 ) v12 = *(const char **)v12; LODWORD(v24) = atoi(v12); v8 = v11; } if ( v8 >= v10 ) { v14 = 0; } else { v20 = v8 + 1; v13 = (const char *)(v9 + 24LL * v8); if ( v13[23] < 0 ) v13 = *(const char **)v13; v14 = atoi(v13); } v23 = &v24; v15 = sub_1001A22B0(a2, &v24, &unk_10075EF86, &v23, &v22); sub_100196E74(v15 + 24, v14); if ( v14 >= 1 ) { v16 = 0; v17 = 240LL * (unsigned int)v14; do { sub_100196EFC(&v18, *(_QWORD *)(v15 + 24) + v16); v16 += 240; } while ( v17 != v16 ); } } } } v24 = (void **)&v18; 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