//
// sub_100670A28 from 0x100670a28 to 0x100670b40 (280 bytes)
//
// 3 xrefs:
// > sub_100670354 @ 0x1006706dc
// > sub_100670354 @ 0x1006706e8
// > sub_100670354 @ 0x1006706f4
//
// 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 11:11:07 +0000
//
char *__fastcall sub_100670A28(char *result, __int64 a2)
{
if ( a2 < 1 )
{
strcpy(result, "--:--:--");
}
else if ( a2 > 359999 )
{
if ( a2 > 86399999 )
return (char *)sub_1006889EC(result, 9, "%7ldd");
else
return (char *)sub_1006889EC(result, 9, "%3ldd %02ldh");
}
else
{
return (char *)sub_1006889EC(result, 9, "%2ld:%02ld:%02ld");
}
return result;
}