//
// ChallengeNode::updateTimeLabel from 0x5ff7b4 to 0x5ff7d0 (28 bytes)
//
// 1 xrefs:
// > ChallengesPage::updateTimers @ 0x60094e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:39 +0000
//
int __fastcall ChallengeNode::updateTimeLabel(int a1, unsigned __int8 *a2)
{
int result; // r0
int v3; // r2
result = *(_DWORD *)(a1 + 280);
if ( result )
{
v3 = *a2 << 31;
if ( (*a2 & 1) == 0 )
++a2;
if ( v3 < 0 )
a2 = *((unsigned __int8 **)a2 + 2);
return (*(int (__fastcall **)(int, unsigned __int8 *))(*(_DWORD *)result + 464))(result, a2);
}
return result;
}