//
// sub_10044F83C from 0x10044f83c to 0x10044f8bc (128 bytes)
//
// 1 xrefs:
// > SongInfoLayer::init @ 0x10044f208
//
// 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:05:19 +0000
//
__int64 __fastcall sub_10044F83C(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
int v4; // w20
int v5; // w21
v2 = GameStatsManager::sharedState();
result = GameStatsManager::isItemUnlocked(v2, 12, 16);
if ( (result & 1) == 0 )
return sub_10044F9C4(a1);
if ( *(int *)(a1 + 712) >= 1 )
{
v4 = *(_DWORD *)(GameManager::sharedState() + 1144);
v5 = *(_DWORD *)(a1 + 712);
result = GameManager::sharedState();
if ( v4 == v5 )
*(_DWORD *)(result + 1144) = 0;
else
*(_DWORD *)(result + 1144) = *(_DWORD *)(a1 + 712);
}
return result;
}