// // GameStatsManager::usernameForAccountID from 0xbb685c to 0xbb6930 (212 bytes) // // 3 xrefs: // > GameLevelManager::tryGetUsername @ 0x8430f0 // > ItemInfoPopup::init @ 0x8bed4c // > @ 0x48418 // // This function is hookable on this platform (idp: arm, 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 13:02:58 +0000 // __int64 *__usercall GameStatsManager::usernameForAccountID@( __int64 *__return_ptr a1@, GameStatsManager *this@, int a3@) { char *v3; // x4 char *v4; // x0 char *v5; // x3 __int64 v6; // x1 __int64 *v8; // [xsp+18h] [xbp+18h] __int64 *v9; // [xsp+18h] [xbp+18h] v3 = (char *)this + 872; v4 = *((char **)this + 109); if ( !v4 ) goto LABEL_13; v5 = v3; do { while ( *((_DWORD *)v4 + 8) >= a3 ) { v5 = v4; v4 = *(char **)v4; if ( !v4 ) goto LABEL_5; } v4 = *((char **)v4 + 1); } while ( v4 ); LABEL_5: if ( v3 == v5 || *((_DWORD *)v5 + 8) > a3 ) { LABEL_13: *a1 = 0; a1[1] = 0; a1[2] = 0; v9 = a1; std::string::__init(a1, &byte_11B8890, 0); return v9; } *a1 = 0; a1[1] = 0; a1[2] = 0; if ( (v5[40] & 1) == 0 ) { v6 = *((_QWORD *)v5 + 6); *a1 = *((_QWORD *)v5 + 5); a1[1] = v6; a1[2] = *((_QWORD *)v5 + 7); return a1; } v8 = a1; std::string::__init(a1, *((void **)v5 + 7), *((_QWORD *)v5 + 6)); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source