// // sub_10019960C from 0x10019960c to 0x1001997f8 (492 bytes) // // 1 xrefs: // > processEffectManagerState @ 0x10019f254 // // 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_10019960C(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; // [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 void ***v22; // [xsp+50h] [xbp-60h] BYREF void **v23; // [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_10001AC84(a2); } else { ++v20; v5 = (const char *)(v18 + 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(v23) = 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(v23) = atoi(v12); v8 = v11; } if ( v8 >= v10 ) { v14 = 0; } else { v20 = v8 + 1; v13 = v9 + 24LL * v8; if ( *(char *)(v13 + 23) < 0 ) v13 = *(_QWORD *)v13; v14 = atoi((const char *)v13); } v22 = &v23; v15 = sub_10001ACD8(a2, (int *)&v23, (__int64)&unk_10075EF86, (_DWORD **)&v22); sub_1001994D4(v15 + 3, v14); if ( v14 >= 1 ) { v16 = 0; v17 = 72LL * (unsigned int)v14; do { sub_100199518(&v18, v15[3] + v16); v16 += 72; } while ( v17 != v16 ); } } } } v23 = (void **)&v18; sub_100018250(&v23); 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