// // GameStatsManager::usernameForAccountID from 0x100316db0 to 0x100316e34 (132 bytes) // // 2 xrefs: // > ItemInfoPopup::init @ 0x10035bcf5 // > GameLevelManager::tryGetUsername @ 0x10054067f // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:28:41 +0000 // _QWORD *__fastcall GameStatsManager::usernameForAccountID(_QWORD *a1, __int64 a2, int a3) { __int64 v3; // rcx __int64 v4; // rsi __int64 v5; // rax __int64 v7; // rax v3 = *(_QWORD *)(a2 + 872); if ( !v3 ) goto LABEL_8; v4 = a2 + 872; v5 = v4; do { if ( *(_DWORD *)(v3 + 32) >= a3 ) v5 = v3; v3 = *(_QWORD *)(v3 + 8LL * (*(_DWORD *)(v3 + 32) < a3)); } while ( v3 ); if ( v5 == v4 || *(_DWORD *)(v5 + 32) > a3 ) { LABEL_8: *(_WORD *)a1 = 0; return a1; } if ( (*(_BYTE *)(v5 + 40) & 1) == 0 ) { v7 = v5 + 40; a1[2] = *(_QWORD *)(v7 + 16); *(_OWORD *)a1 = *(_OWORD *)v7; return a1; } sub_10001AD30(a1, *(const void **)(v5 + 56), *(_QWORD *)(v5 + 48)); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source