//
// GameStatsManager::storeChallengeTime from 0x8cb898 to 0x8cb918 (128 bytes)
//
// 2 xrefs:
// > GameLevelManager::onGetGJChallengesCompleted @ 0x83b2e4
// > ??> @ 0xc0d48
//
// 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 12:56:36 +0000
//
double __fastcall GameStatsManager::storeChallengeTime(GameStatsManager *this, int a2)
{
double result; // d0
__int64 v5; // [xsp+38h] [xbp+38h] BYREF
__int64 v6; // [xsp+40h] [xbp+40h]
clock_gettime(0, (struct timespec *)&v5);
result = (double)a2 + (double)v5 + (double)v6 / 1000000000.0;
*((double *)this + 64) = result;
return result;
}