//
// GJUserScore::isCurrentUser from 0x3cb904 to 0x3cb960 (92 bytes)
//
// 3 xrefs:
// > CustomListView::setupList @ 0x330744
// > GJScoreCell::loadFromScore @ 0x337570
// > GJLevelScoreCell::loadFromScore @ 0x3385f8
//
// 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
//
bool GJUserScore::isCurrentUser(GJUserScore *a1)
{
GJAccountManager *v2; // r0
int v3; // r3
GameManager *v4; // r0
bool v5; // r6
GJUserScore *v7; // [sp+0h] [bp-8h] BYREF
v7 = a1;
v2 = GJAccountManager::sharedState();
v3 = v2->m_accountID - v2->m_unkInt1;
if ( v3 && v3 == a1->m_accountID )
return 1;
v4 = GameManager::sharedState();
sub_775C20(&v7, &v4->m_playerUDID);
v5 = sub_3BE0D8((int)&a1->m_userUDID, (int)&v7);
sub_774008(&v7);
return v5;
}