// // DeathTrackerPopup::parseSessions from 0x7757cc to 0x775a06 (570 bytes) // // 1 xrefs: // > DeathTrackerPopup::init @ 0x77680c // // 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:59:19 +0000 // int __fastcall DeathTrackerPopup::parseSessions(DeathTrackerPopup *this, int a2, int a3) { int v4; // r6 int result; // r0 DTSession *v6; // r0 int v7; // r1 int v8; // r3 int v9; // r3 int v10; // r3 int v11; // r3 DTSession *v12; // r0 unsigned int j; // r8 const char *v14; // r0 const char *v15; // r0 const char *v16; // r0 int v17; // r0 DTSession *v18; // r3 DTSession *v19; // r0 int v20; // r1 char *i; // r3 int v22; // r2 int v23; // t1 char *v24; // [sp+4h] [bp-48h] char *v25; // [sp+4h] [bp-48h] int v26[3]; // [sp+8h] [bp-44h] BYREF char *v27; // [sp+14h] [bp-38h] BYREF char *v28; // [sp+18h] [bp-34h] int v29; // [sp+1Ch] [bp-30h] int v30; // [sp+20h] [bp-2Ch] BYREF int v31; // [sp+24h] [bp-28h] BYREF int v32; // [sp+28h] [bp-24h] int v33; // [sp+2Ch] [bp-20h] int v34; // [sp+30h] [bp-1Ch] BYREF int v35; // [sp+34h] [bp-18h] int v36; // [sp+38h] [bp-14h] int v37; // [sp+3Ch] [bp-10h] int v38; // [sp+40h] [bp-Ch] v4 = *((_DWORD *)this + 145); while ( 1 ) { result = *((_DWORD *)this + 146); if ( v4 == result ) break; v6 = (DTSession *)(result - 36); *((_DWORD *)this + 146) = v6; DTSession::~DTSession(v6); } v7 = *((_DWORD *)this + 132); if ( v7 ) { v8 = *(unsigned __int8 *)(v7 + 1216); if ( (v8 & 1) != 0 ) v9 = *(_DWORD *)(v7 + 1220); else v9 = v8 >> 1; if ( v9 || ((v10 = *(unsigned __int8 *)(v7 + 1228), (v10 & 1) != 0) ? (v11 = *(_DWORD *)(v7 + 1232)) : (v11 = v10 >> 1), v11) ) { v31 = 0; v20 = v7 + 1216; v32 = 0; v33 = 0; v34 = 0; v35 = 0; v36 = 0; v30 = *(_DWORD *)(v20 + 24); std::string::operator=((unsigned __int8 *)&v31, (unsigned __int8 *)v20); std::string::operator=((unsigned __int8 *)&v34, (unsigned __int8 *)(*((_DWORD *)this + 132) + 1228)); v37 = *(_DWORD *)(*((_DWORD *)this + 132) + 1248); v38 = 0; v27 = nullptr; v28 = nullptr; v29 = 0; GJGameLevel::dtExpandOrder((unsigned __int8 *)&v31, (int)&v27); for ( i = v27; i != v28; i += 4 ) { v23 = *(_DWORD *)i; v22 = v23; if ( v23 > v38 ) v38 = v22; } std::__vector_base::~__vector_base(&v27); v12 = *((DTSession **)this + 146); if ( v12 == *((DTSession **)this + 147) ) { std::vector::__push_back_slow_path((int *)this + 145, (const DTSession *)&v30); } else { if ( v12 ) DTSession::DTSession(v12, (const DTSession *)&v30); *((_DWORD *)this + 146) += 36; } DTSession::~DTSession((DTSession *)&v30); } GJGameLevel::ensureSessionLog(*((_DWORD *)this + 132), v7, a3, v11); sub_7755E0(v26, (unsigned __int8 *)(*((_DWORD *)this + 132) + 1260), 124); for ( j = 0; j < -1431655765 * ((v26[1] - v26[0]) >> 2); ++j ) { sub_7755E0((int *)&v27, (unsigned __int8 *)(v26[0] + 12 * j), 58); if ( (unsigned int)(-1431655765 * ((v28 - v27) >> 2)) > 4 ) { v31 = 0; v32 = 0; v33 = 0; v34 = 0; v35 = 0; v36 = 0; v24 = v27; if ( (*v27 & 1) != 0 ) v14 = *((const char **)v27 + 2); else v14 = v27 + 1; v30 = atoi(v14); std::string::operator=((unsigned __int8 *)&v31, (unsigned __int8 *)v24 + 12); std::string::operator=((unsigned __int8 *)&v34, (unsigned __int8 *)v27 + 24); v25 = v27; if ( (v27[36] & 1) != 0 ) v15 = *((const char **)v27 + 11); else v15 = v27 + 37; v37 = atoi(v15); if ( (v25[48] & 1) != 0 ) v16 = *((const char **)v25 + 14); else v16 = v25 + 49; v17 = atoi(v16); v18 = *((DTSession **)this + 147); v38 = v17; v19 = *((DTSession **)this + 146); if ( v19 == v18 ) { std::vector::__push_back_slow_path((int *)this + 145, (const DTSession *)&v30); } else { if ( v19 ) DTSession::DTSession(v19, (const DTSession *)&v30); *((_DWORD *)this + 146) += 36; } DTSession::~DTSession((DTSession *)&v30); } std::__vector_base::~__vector_base((int)&v27); } return std::__vector_base::~__vector_base((int)v26); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source