//
// GJAccountSettingsLayer::onUpdate from 0x4b5468 to 0x4b55e6 (382 bytes)
//
// 0 xrefs:
//
// 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::onUpdate(GJAccountSettingsLayer *a1, cocos2d::CCObject *a2)
{
std::map *p_m_links; // r4
int v4; // r2
int v5; // r2
int v6; // r2
int v7; // r2
int v8; // r2
int v9; // r2
int v10; // r2
int v11; // r5
int m_messageStatus; // [sp+20h] [bp-54h]
int m_friendStatus; // [sp+24h] [bp-50h]
int m_commentHistoryStatus; // [sp+28h] [bp-4Ch]
int v15; // [sp+34h] [bp-40h] BYREF
int v16; // [sp+38h] [bp-3Ch] BYREF
int v17; // [sp+3Ch] [bp-38h] BYREF
int v18; // [sp+40h] [bp-34h] BYREF
int v19; // [sp+44h] [bp-30h] BYREF
int v20; // [sp+48h] [bp-2Ch] BYREF
int v21; // [sp+4Ch] [bp-28h] BYREF
_BYTE v22[4]; // [sp+50h] [bp-24h] BYREF
_BYTE v23[4]; // [sp+54h] [bp-20h] BYREF
_BYTE v24[4]; // [sp+58h] [bp-1Ch] BYREF
_BYTE v25[4]; // [sp+5Ch] [bp-18h] BYREF
_BYTE v26[4]; // [sp+60h] [bp-14h] BYREF
_BYTE v27[4]; // [sp+64h] [bp-10h] BYREF
_BYTE v28[4]; // [sp+68h] [bp-Ch] BYREF
p_m_links = &a1->m_links;
GJAccountSettingsLayer::closeAccInputNodes(a1, a1->m_inputs);
m_messageStatus = a1->m_messageStatus;
m_friendStatus = a1->m_friendStatus;
m_commentHistoryStatus = a1->m_commentHistoryStatus;
v15 = 0;
std::map::operator[](p_m_links, &v15, v4);
sub_775C20(v22);
v16 = 1;
std::map::operator[](p_m_links, &v16, v5);
sub_775C20(v23);
v17 = 2;
std::map::operator[](p_m_links, &v17, v6);
sub_775C20(v24);
v18 = 3;
std::map::operator[](p_m_links, &v18, v7);
sub_775C20(v25);
v19 = 4;
std::map::operator[](p_m_links, &v19, v8);
sub_775C20(v26);
v20 = 5;
std::map::operator[](p_m_links, &v20, v9);
sub_775C20(v27);
v21 = 6;
std::map::operator[](p_m_links, &v21, v10);
sub_775C20(v28);
v11 = UpdateAccountSettingsPopup::create((int)a1, m_messageStatus, m_friendStatus, m_commentHistoryStatus);
sub_774008(v28);
sub_774008(v27);
sub_774008(v26);
sub_774008(v25);
sub_774008(v24);
sub_774008(v23);
sub_774008(v22);
(*(void (__fastcall **)(int))(*(_DWORD *)v11 + 644))(v11);
}