// // sub_7755E0 from 0x7755e0 to 0x7757b0 (464 bytes) // // 2 xrefs: // > DeathTrackerPopup::parseSessions @ 0x775872 // > DeathTrackerPopup::parseSessions @ 0x775898 // // 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 sub_7755E0(int *a1, unsigned __int8 *a2, int a3) { int v6; // r3 char *v7; // r2 int v8; // r3 char *v9; // r3 char *v10; // r2 int v11; // r5 char *v12; // r3 unsigned int v13; // r1 char *v14; // r3 int v15; // r2 int *v16; // r0 _DWORD *v17; // r0 _DWORD v19[3]; // [sp+8h] [bp-A4h] BYREF _DWORD v20[3]; // [sp+14h] [bp-98h] BYREF _UNKNOWN **v21; // [sp+20h] [bp-8Ch] BYREF char v22[4]; // [sp+24h] [bp-88h] BYREF char *v23; // [sp+28h] [bp-84h] char *v24; // [sp+2Ch] [bp-80h] char *v25; // [sp+30h] [bp-7Ch] char *v26; // [sp+34h] [bp-78h] char *v27; // [sp+38h] [bp-74h] char *v28; // [sp+3Ch] [bp-70h] int v29; // [sp+40h] [bp-6Ch] BYREF int v30; // [sp+44h] [bp-68h] char *v31; // [sp+48h] [bp-64h] char *v32; // [sp+4Ch] [bp-60h] int v33; // [sp+50h] [bp-5Ch] _DWORD v34[22]; // [sp+54h] [bp-58h] BYREF a1[1] = 0; v6 = _stack_chk_guard; *a1 = 0; a1[2] = 0; v34[20] = v6; v20[1] = 0; v34[0] = &unk_C99358; std::ios_base::init((std::ios_base *)v34, &v21); v34[19] = -1; v34[18] = 0; v20[0] = &off_C993D4; v20[2] = &off_C993E8; v34[0] = &off_C993FC; v21 = &off_C99178; std::locale::locale((std::locale *)v22); v23 = nullptr; v24 = nullptr; v25 = nullptr; v26 = nullptr; v27 = nullptr; v28 = nullptr; v29 = 0; v30 = 0; v21 = &off_C992D8; v31 = nullptr; v32 = nullptr; v33 = 24; std::string::operator=((unsigned __int8 *)&v29, a2); v32 = nullptr; if ( (v33 & 8) != 0 ) { if ( (v29 & 1) != 0 ) { v7 = v31; v8 = v30; } else { v8 = (int)(unsigned __int8)v29 >> 1; v7 = (char *)&v29 + 1; } v9 = &v7[v8]; v32 = v9; if ( (v29 & 1) != 0 ) v10 = v31; else v10 = (char *)&v29 + 1; v23 = v10; v24 = v10; v25 = v9; } if ( (v33 & 0x10) != 0 ) { if ( (v29 & 1) != 0 ) { v11 = v30; v12 = v31; } else { v11 = (int)(unsigned __int8)v29 >> 1; v12 = (char *)&v29 + 1; } v32 = &v12[v11]; v13 = (v29 & 1) != 0 ? (v29 & 0xFFFFFFFE) - 1 : 10; std::string::resize((unsigned __int8 *)&v29, v13, 0); if ( (v29 & 1) != 0 ) { v14 = v31; v15 = v30; } else { v15 = (int)(unsigned __int8)v29 >> 1; v14 = (char *)&v29 + 1; } v28 = &v14[v15]; v27 = v14; v26 = v14; if ( v33 << 30 ) v27 = &v14[v11]; } memset(v19, 0, sizeof(v19)); while ( 1 ) { v17 = std::getline,std::allocator>(v20, (int)v19, a3); if ( (*(_DWORD *)((char *)v17 + *(_DWORD *)(*v17 - 12) + 16) & 5) != 0 ) break; v16 = (int *)a1[1]; if ( v16 == (int *)a1[2] ) { std::vector::__push_back_slow_path(a1, (int)v19); } else { if ( v16 ) std::string::basic_string(v16, (int)v19); a1[1] += 12; } } std::string::~string((int)v19); std::basic_stringstream,std::allocator>::~basic_stringstream(v20); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source