//
// sub_100606E50 from 0x100606e50 to 0x100606e9a (74 bytes)
//
// 1 xrefs:
// > PlatformToolbox::reportAchievementWithID @ 0x1004c3e2f
//
// 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
//
__int64 __fastcall sub_100606E50(__int64 a1, __int64 a2)
{
_QWORD *v2; // rax
_QWORD *v3; // rax
if ( *(_BYTE *)(a1 + 400) != 1 )
return 0;
v2 = (_QWORD *)SteamInternal_ContextInit(&SteamUserStats(void)::s_CallbackCounterAndContext);
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v2 + 56LL))(*v2, a2);
v3 = (_QWORD *)SteamInternal_ContextInit(&SteamUserStats(void)::s_CallbackCounterAndContext);
return (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*v3 + 80LL))(*v3);
}