// // GameStatsManager::usernameForAccountID from 0x596ac0 to 0x596b1c (92 bytes) // // 2 xrefs: // > GameLevelManager::tryGetUsername @ 0x3c15dc // > ItemInfoPopup::init @ 0x4054fe // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // GameStatsManager *__fastcall GameStatsManager::usernameForAccountID(GameStatsManager *this, int a2, int a3) { _DWORD *v4; // r0 _DWORD *v5; // r3 _DWORD *v6; // r1 _DWORD *v7; // r6 v4 = (_DWORD *)(a2 + 588); v5 = *(_DWORD **)(a2 + 592); v6 = (_DWORD *)(a2 + 588); while ( v5 ) { if ( v5[4] >= a3 ) { v7 = (_DWORD *)v5[2]; } else { v7 = (_DWORD *)v5[3]; v5 = v6; } v6 = v5; v5 = v7; } if ( v6 == v4 || a3 < v6[4] ) sub_776584((int)this, (char *)&unk_939830); else sub_775C20(this); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source