//
// sub_1006DE640 from 0x1006de640 to 0x1006de68a (74 bytes)
//
// 1 xrefs:
// > PlatformToolbox::reportAchievementWithID @ 0x1004bce6f
//
// This function is hookable on this platform (idp: pc, 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 12:35:44 +0000
//
__int64 __fastcall sub_1006DE640(__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 + 48LL))(*v2, a2);
v3 = (_QWORD *)SteamInternal_ContextInit(&SteamUserStats(void)::s_CallbackCounterAndContext);
return (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*v3 + 72LL))(*v3);
}