// // GJGameLevel::scoreVectorToString from 0x1000ad2dc to 0x1000ad458 (380 bytes) // // 1 xrefs: // > GJGameLevel::scoreStringToVector @ 0x1000ad118 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // local variable allocation has failed, the output may be wrong! void __usercall GJGameLevel::scoreVectorToString(_QWORD *a1@, std::vector *a2@, int a3@) { _QWORD *v4; // x19 __int64 v5; // x8 __int64 v6; // x9 unsigned __int64 v7; // x23 unsigned __int128 v8; // kr00_16 unsigned int v9; // [xsp+Ch] [xbp-254h] BYREF __int128 v10; // [xsp+10h] [xbp-250h] BYREF void *__p; // [xsp+20h] [xbp-240h] _BYTE v12[512]; // [xsp+28h] [xbp-238h] BYREF v4 = *(_QWORD **)&a3; if ( (_DWORD)a2 == 1 ) sub_1000B3E20(); else std::__sort &,int *>(*a1, a1[1], &v10); v5 = *a1; v6 = a1[1]; if ( (unsigned __int64)(v6 - *a1) >= 0x29 ) { v6 -= 4; a1[1] = v6; } v10 = xmmword_1006350E0; __p = v12; if ( v6 == v5 ) { v8 = __PAIR128__(500, 0); } else { v7 = 0; do { if ( v7 ) { sub_10000CB18((__int64 *)&v10, ",", 0); v5 = *a1; } v9 = *(_DWORD *)(v5 + 4 * v7); sub_100009A40((int)&v10, v9, (int)&v9); ++v7; v5 = *a1; } while ( v7 < (__int64)(a1[1] - *a1) >> 2 ); v8 = v10; } if ( *((_QWORD *)&v8 + 1) < (unsigned __int64)(v8 + 1) ) sub_100009ED4((__int64)&v10, v8 + 1); *((_BYTE *)__p + v8) = 0; sub_100009900(v4, (char *)__p); if ( __p != v12 ) { if ( __p ) operator delete[](__p); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source