// // GameStatsManager::usernameForAccountID from 0x6dd3a0 to 0x6dd400 (96 bytes) // // 2 xrefs: // > GameLevelManager::tryGetUsername @ 0x4cebbc // > ItemInfoPopup::init @ 0x50e486 // // 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:57:12 +0000 // GameStatsManager *__fastcall GameStatsManager::usernameForAccountID(GameStatsManager *this, int a2, int a3) { _DWORD **v3; // r1 _DWORD *v5; // r0 _DWORD *v6; // r3 _DWORD *v7; // r5 _DWORD *v8; // r3 int v9; // r1 int v10; // r2 int *v11; // r0 const void *v12; // r1 size_t v13; // r2 v3 = (_DWORD **)(a2 + 548); v5 = *v3; v6 = v3; while ( v5 ) { if ( v5[4] >= a3 ) { v7 = (_DWORD *)*v5; } else { v7 = (_DWORD *)v5[1]; v5 = v6; } v6 = v5; v5 = v7; } if ( v6 == v3 || a3 < v6[4] ) { v11 = (int *)this; v13 = 0; *(_DWORD *)this = 0; v12 = &unk_B6B226; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; goto LABEL_13; } *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; if ( (v6[5] & 1) != 0 ) { v11 = (int *)this; v12 = (const void *)v6[7]; v13 = v6[6]; LABEL_13: std::string::__init(v11, v12, v13); return this; } v8 = v6 + 5; v9 = v8[1]; v10 = v8[2]; *(_DWORD *)this = *v8; *((_DWORD *)this + 1) = v9; *((_DWORD *)this + 2) = v10; return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source