//
// GJUserScore::isCurrentUser from 0x4afa48 to 0x4afaa4 (92 bytes)
//
// 3 xrefs:
// > CustomListView::setupList @ 0x424e98
// > GJScoreCell::loadFromScore @ 0x42d606
// > GJLevelScoreCell::loadFromScore @ 0x4318ae
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:50:01 +0000
//
int __fastcall GJUserScore::isCurrentUser(GJUserScore *this, int a2, int a3, int a4)
{
GameManager *v5; // r0
int v6; // r3
int v7; // r0
_BOOL4 v8; // r6
int v10[4]; // [sp+0h] [bp-10h] BYREF
v10[0] = (int)this;
v10[1] = a2;
v10[2] = a3;
v10[3] = a4;
v5 = (GameManager *)GJAccountManager::sharedState(this);
v6 = *((_DWORD *)v5 + 70) - *((_DWORD *)v5 + 71);
if ( v6 && v6 == *((_DWORD *)this + 74) )
return 1;
v7 = GameManager::sharedState(v5);
std::string::basic_string(v10, v7 + 436);
v8 = sub_4A9CC4((unsigned __int8 *)this + 276, (unsigned __int8 *)v10);
std::string::~string((int)v10);
return v8;
}