// // GJGameLevel::dtBumpRun from 0x4dd92c to 0x4ddae8 (444 bytes) // // 1 xrefs: // > GJGameLevel::recordDeath @ 0x4ddb16 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:50:58 +0000 // char **__fastcall GJGameLevel::dtBumpRun(int a1, unsigned __int8 *a2, int a3, int a4) { int v4; // r2 int v6; // r3 char *v7; // r7 int v8; // r7 int v9; // r3 int v10; // r8 unsigned int *v11; // r0 unsigned int *v12; // r0 unsigned int *v13; // r0 unsigned int *v14; // r0 char *v15; // r0 int v17; // [sp+8h] [bp-22Ch] BYREF _DWORD v18[3]; // [sp+Ch] [bp-228h] BYREF const char *v19; // [sp+18h] [bp-21Ch] BYREF int v20; // [sp+1Ch] [bp-218h] char *v21; // [sp+20h] [bp-214h] BYREF int *v22; // [sp+24h] [bp-210h] int *v23; // [sp+28h] [bp-20Ch] unsigned int v24[3]; // [sp+2Ch] [bp-208h] BYREF char v25; // [sp+38h] [bp-1FCh] BYREF v18[0] = a3; if ( a3 >= 99 ) a3 = 99; v4 = a3 & ~(a3 >> 31); v17 = a4; if ( a4 >= 99 ) a4 = 99; v18[0] = v4; v17 = a4 & ~(a4 >> 31); v21 = nullptr; v22 = nullptr; v23 = nullptr; GJGameLevel::scoreStringToVector(a1, a2, &v21); v6 = 0; v7 = v21; while ( v6 + 3 <= (unsigned int)(((char *)v22 - v21) >> 2) ) { if ( *(_DWORD *)v7 == v18[0] && *((_DWORD *)v7 + 1) == v17 ) { ++*(_DWORD *)&v21[4 * v6 + 8]; goto LABEL_11; } v7 += 12; v6 += 3; } if ( v22 == v23 ) { std::vector::__push_back_slow_path((int)&v21, v18); } else { if ( v22 ) *v22 = v18[0]; ++v22; } if ( v22 == v23 ) { std::vector::__push_back_slow_path((int)&v21, &v17); } else { if ( v22 ) *v22 = v17; ++v22; } v19 = (_BYTE *)(&dword_0 + 1); if ( v22 >= v23 ) { std::vector::__push_back_slow_path(&v21, &v19); } else { if ( v22 ) *v22 = 1; ++v22; } LABEL_11: v8 = 8; v24[1] = 500; v24[2] = (unsigned int)&v25; v9 = 0; v24[0] = 0; while ( 1 ) { v10 = v9 + 3; if ( v9 + 3 > (unsigned int)(((char *)v22 - v21) >> 2) ) break; if ( v9 ) { v19 = ","; v20 = 0; fmt::BasicWriter::operator<<(v24, ",", 0); } v11 = fmt::BasicWriter::operator<<(v24, *(_DWORD *)&v21[v8 - 8]); v18[1] = ","; v18[2] = 0; v12 = fmt::BasicWriter::operator<<(v11, ",", 0); v13 = fmt::BasicWriter::operator<<(v12, *(_DWORD *)&v21[v8 - 4]); v19 = ","; v20 = 0; v14 = fmt::BasicWriter::operator<<(v13, ",", 0); fmt::BasicWriter::operator<<(v14, *(_DWORD *)&v21[v8]); v8 += 12; v9 = v10; } v15 = (char *)fmt::BasicWriter::c_str((int *)v24); std::string::assign((int *)a2, v15); fmt::internal::Array::free((int)v24); return std::__vector_base::~__vector_base(&v21); }
GD Web Decomp Icon

GD Web Decomp

Raw Source