// // sub_7723A8 from 0x7723a8 to 0x772574 (460 bytes) // // 2 xrefs: // > DeathTrackerPopup::refreshView @ 0x774ae0 // > DeathTrackerPopup::refreshView @ 0x774e36 // // 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:16 +0000 // int *__fastcall sub_7723A8(int *a1, int a2) { int v4; // r6 int *v5; // r0 int v6; // r1 int v7; // r2 _BYTE *v8; // r1 size_t v9; // r2 int *v10; // r0 int v11; // r1 int v12; // r2 int *v13; // r0 int v14; // r1 int *v15; // r0 int v16; // r1 int v17; // r2 _BYTE *v18; // r1 size_t v19; // r2 int *v20; // r0 int v21; // r1 int v22; // r2 int v23; // r1 int v24; // r2 int *v25; // r0 int *v26; // r3 int v27; // r1 int v28; // r2 _DWORD v30[3]; // [sp+4h] [bp-38h] BYREF int v31; // [sp+10h] [bp-2Ch] BYREF int v32; // [sp+14h] [bp-28h] int v33; // [sp+18h] [bp-24h] unsigned __int8 v34; // [sp+1Ch] [bp-20h] BYREF _BYTE v35[3]; // [sp+1Dh] [bp-1Fh] BYREF size_t v36; // [sp+20h] [bp-1Ch] _BYTE *v37; // [sp+24h] [bp-18h] int v38; // [sp+28h] [bp-14h] BYREF int v39; // [sp+2Ch] [bp-10h] int v40; // [sp+30h] [bp-Ch] if ( a2 > 0 ) { v4 = a2 % 3600 / 60; if ( a2 / 3600 ) { GameToolbox::intToString((GameToolbox *)v30, a2 / 3600); v5 = std::string::append(v30, (char *)&word_BE2993); v6 = v5[1]; v7 = v5[2]; v31 = *v5; v32 = v6; v33 = v7; *v5 = 0; v5[1] = 0; v5[2] = 0; GameToolbox::intToString((GameToolbox *)&v34, v4); if ( (v34 & 1) != 0 ) { v8 = v37; v9 = v36; } else { v9 = (int)v34 >> 1; v8 = v35; } v10 = std::string::append(&v31, v8, v9); v11 = v10[1]; v12 = v10[2]; v38 = *v10; v39 = v11; v40 = v12; *v10 = 0; v10[1] = 0; v10[2] = 0; v13 = std::string::append(&v38, "m"); } else { v14 = a2 % 60; if ( !v4 ) { GameToolbox::intToString((GameToolbox *)&v38, v14); v26 = std::string::append(&v38, (char *)&a1i2r3e45s789g[8]); v27 = v26[1]; v28 = v26[2]; *a1 = *v26; a1[1] = v27; a1[2] = v28; v25 = &v38; *v26 = 0; v26[1] = 0; v26[2] = 0; goto LABEL_13; } GameToolbox::intToString((GameToolbox *)v30, a2 % 3600 / 60); v15 = std::string::append(v30, "m "); v16 = v15[1]; v17 = v15[2]; v31 = *v15; v32 = v16; v33 = v17; *v15 = 0; v15[1] = 0; v15[2] = 0; GameToolbox::intToString((GameToolbox *)&v34, a2 % 60); if ( (v34 & 1) != 0 ) { v18 = v37; v19 = v36; } else { v19 = (int)v34 >> 1; v18 = v35; } v20 = std::string::append(&v31, v18, v19); v21 = v20[1]; v22 = v20[2]; v38 = *v20; v39 = v21; v40 = v22; *v20 = 0; v20[1] = 0; v20[2] = 0; v13 = std::string::append(&v38, (char *)&a1i2r3e45s789g[8]); } v23 = v13[1]; v24 = v13[2]; *a1 = *v13; a1[1] = v23; a1[2] = v24; *v13 = 0; v13[1] = 0; v13[2] = 0; std::string::~string((int)&v38); std::string::~string((int)&v34); std::string::~string((int)&v31); v25 = v30; LABEL_13: std::string::~string((int)v25); return a1; } *a1 = 0; a1[1] = 0; a1[2] = 0; std::string::__init(a1, "0s", 2u); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source