// // GameLevelManager::tryGetUsername from 0x3c1564 to 0x3c1640 (220 bytes) // // 10 xrefs: // > CommentCell::loadFromComment @ 0x335db2 // > LevelBrowserLayer::getSearchTitle @ 0x3bafa2 // > GJGameLevel::create @ 0x3c5d62 // > ShareCommentLayer::init @ 0x431e62 // > FriendRequestPopup::onBlock @ 0x4a8530 // > FriendRequestPopup::init @ 0x4ad50a // > GJWriteMessagePopup::init @ 0x4aea9e // > ProfilePage::onCopyName @ 0x4c4348 // > ProfilePage::onInfo @ 0x4c4468 // > ProfilePage::init @ 0x4c75be // // 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 // GameLevelManager *__fastcall GameLevelManager::tryGetUsername( GameLevelManager *this, GameLevelManager_vtbl *a2, int a3, int a4) { const char *v6; // r5 GameLevelManager *v7; // r0 GameLevelManager *v8; // r0 GJUserScore *v9; // r1 GameStatsManager *v10; // r0 GameLevelManager_vtbl *v12; // [sp+4h] [bp-Ch] BYREF _DWORD v13[2]; // [sp+8h] [bp-8h] BYREF v12 = a2; v13[0] = a3; v13[1] = a4; if ( a3 ) { v6 = (const char *)GameLevelManager::userIDForAccountID((GameLevelManager *)a2, a3); v7 = GameLevelManager::sharedState(); GameLevelManager::userNameForUserID((GameLevelManager *)&v12, (int)v7, v6); if ( (char *)v12[-1].removeAllComponents <= (char *)((char *)&dword_0 + 1) ) { v8 = GameLevelManager::sharedState(); v9 = GameLevelManager::userInfoForAccountID(v8, a3); if ( v9 ) sub_775D40(&v12, &v9->m_userName); } if ( (char *)v12[-1].removeAllComponents <= (char *)((char *)&dword_0 + 1) ) { v10 = GameStatsManager::sharedState(); GameStatsManager::usernameForAccountID((GameStatsManager *)v13, (int)v10); sub_774794(&v12, v13); sub_774008(v13); } if ( !v12[-1].removeAllComponents ) sub_7753D4((int)&v12, "-"); this->__vftable = v12; v12 = (GameLevelManager_vtbl *)&unk_ACDDA8; sub_774008(&v12); } else { sub_776584((int)this, "-"); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source