//
// sub_1003D4738 from 0x1003d4738 to 0x1003d47b4 (124 bytes)
//
// 8 xrefs:
// > PlayLayer::toggleMusicInPractice @ 0x100147758
// > GameSettingsLayer::getValue @ 0x100166830
// > GameSettingsLayer::valueDidChange @ 0x100166958
// > PlayerObject::init @ 0x1002b4458
// > PlayerObject::init @ 0x1002b446c
// > PlayerObject::init @ 0x1002b4480
// > GJGarageLayer::setupSpecialPage @ 0x1003a21ec
// > sub_1003A2C94 @ 0x1003a2cf8
//
// 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:04:12 +0000
//
bool __fastcall sub_1003D4738(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // x0
_BOOL8 v7; // x19
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v10; // [xsp+1Fh] [xbp-21h]
if ( !(unsigned int)GameStatsManager::isItemUnlocked(a1, a2, a3) )
return 0;
sub_1003C9AA8(a3, a2, __p);
v6 = cocos2d::CCDictionary::valueForKey(*(_QWORD *)(a1 + 792), __p);
v7 = cocos2d::CCString::boolValue(v6);
if ( v10 < 0 )
operator delete(__p[0]);
return v7;
}