//
// sub_1002ED4F4 from 0x1002ed4f4 to 0x1002ed544 (80 bytes)
//
// 2 xrefs:
// > LevelLeaderboard::init @ 0x1002ec954
// > LevelLeaderboard::init @ 0x1002ec9f0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:02:54 +0000
//
__int64 __fastcall sub_1002ED4F4(__int64 a1, __int64 a2)
{
__int64 v3; // x20
__int64 v4; // x0
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v4 = GameManager::sharedState(v3);
GameManager::setIntGameVariable(v4, "0164", v3);
return sub_1002EDE1C(a1, *(unsigned int *)(a1 + 688), v3);
}