//
// sub_1000AD8CC from 0x1000ad8cc to 0x1000ad964 (152 bytes)
//
// 22 xrefs:
// > sub_1000AD7B0 @ 0x1000ad7e0
// > sub_1000B9B2C @ 0x1000ba370
// > sub_1000B9B2C @ 0x1000ba5f4
// > sub_1000BF548 @ 0x1000bf574
// > sub_1000C150C @ 0x1000c1674
// > sub_1000C9A84 @ 0x1000c9bac
// > sub_10022ADF4 @ 0x10022ae40
// > TopArtistsLayer::init @ 0x100239c50
// > sub_10023A2F8 @ 0x10023a464
// > sub_10024C320 @ 0x10024c36c
// > sub_100264A48 @ 0x100264a90
// > sub_100272654 @ 0x10027269c
// > sub_1002ED634 @ 0x1002ed690
// > sub_1002ED778 @ 0x1002ed850
// > sub_1003F0FF0 @ 0x1003f1040
// > GJAccountManager::onBackupAccountCompleted @ 0x100445c24
// > GJAccountManager::onSyncAccountCompleted @ 0x100445e24
// > sub_1004F540C @ 0x1004f54d8
// > sub_1004F95D0 @ 0x1004f9698
// > sub_1004FAD8C @ 0x1004fae10
// > sub_1004FB1D8 @ 0x1004fb248
// > sub_10053B608 @ 0x10053b650
//
// 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 10:58:37 +0000
//
void __fastcall sub_1000AD8CC(__int64 a1, char *a2)
{
__int64 v3; // x20
unsigned __int64 v4; // d1
__int64 v5; // x21
timeb v6; // [xsp+8h] [xbp-38h] BYREF
char v7; // [xsp+1Fh] [xbp-21h]
v3 = *(_QWORD *)(a1 + 968);
ftime(&v6);
LOWORD(v4) = v6.millitm;
v5 = sub_1003065B0("%f", (double)v4 / 1000.0 + (double)v6.time);
sub_100009900(&v6, a2);
cocos2d::CCDictionary::setObject(v3, v5, &v6);
if ( v7 < 0 )
operator delete((void *)v6.time);
}