//
// GJAccountSettingsLayer::updateScoreValues from 0x4b55ec to 0x4b5760 (372 bytes)
//
// 1 xrefs:
// > UpdateAccountSettingsPopup::onClose @ 0x4b578a
//
// 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
//
void GJAccountSettingsLayer::updateScoreValues(GJAccountSettingsLayer *a1)
{
GameLevelManager *v2; // r0
GJUserScore *v3; // r0
int v4; // r2
GJUserScore *v5; // r7
int m_messageStatus; // r3
std::map *p_m_links; // r5
int v8; // r2
int v9; // r2
int v10; // r2
int v11; // r2
int v12; // r2
int v13; // r2
int v14; // [sp+4h] [bp-Ch] BYREF
_BYTE v15[4]; // [sp+8h] [bp-8h] BYREF
v2 = GameLevelManager::sharedState();
v3 = GameLevelManager::userInfoForAccountID(v2, a1->m_accountID);
v5 = v3;
if ( v3 )
{
m_messageStatus = a1->m_messageStatus;
p_m_links = &a1->m_links;
v3->m_messageState = m_messageStatus;
v3->m_friendStatus = (int)p_m_links[-1].m_header.m_left;
v3->m_commentHistoryStatus = (int)p_m_links[-1].m_header.m_right;
v14 = 0;
std::map::operator[](p_m_links, &v14, v4);
sub_775C20(v15);
sub_775D40(&v5->m_youtubeURL, v15);
sub_774008(v15);
v14 = 1;
std::map::operator[](p_m_links, &v14, v8);
sub_775C20(v15);
sub_775D40(&v5->m_twitterURL, v15);
sub_774008(v15);
v14 = 2;
std::map::operator[](p_m_links, &v14, v9);
sub_775C20(v15);
sub_775D40(&v5->m_twitchURL, v15);
sub_774008(v15);
v14 = 3;
std::map::operator[](p_m_links, &v14, v10);
sub_775C20(v15);
sub_775D40(&v5->m_instagramURL, v15);
sub_774008(v15);
v14 = 4;
std::map::operator[](p_m_links, &v14, v11);
sub_775C20(v15);
sub_775D40(&v5->m_tiktokURL, v15);
sub_774008(v15);
v14 = 5;
std::map::operator[](p_m_links, &v14, v12);
sub_775C20(v15);
sub_775D40(&v5->m_discordUsername, v15);
sub_774008(v15);
v14 = 6;
std::map::operator[](p_m_links, &v14, v13);
sub_775C20(v15);
sub_775D40(&v5->m_customString, v15);
sub_774008(v15);
}
}