//
// ChallengeNode::updateTimeLabel from 0xa62728 to 0xa62764 (60 bytes)
//
// 2 xrefs:
// > ChallengesPage::updateTimers @ 0xa628a8
// > ??> @ 0xc4540
//
// 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 13:00:15 +0000
//
__int64 __fastcall ChallengeNode::updateTimeLabel(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v3; // x2
result = *(_QWORD *)(a1 + 344);
if ( result )
{
v3 = a2 + 1;
if ( (*(_BYTE *)a2 & 1) != 0 )
v3 = *(_QWORD *)(a2 + 16);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 928LL))(result, v3);
}
return result;
}