//
// sub_1003CEFD0 from 0x1003cefd0 to 0x1003cf0a0 (208 bytes)
//
// 1 xrefs:
// > GameManager::recountUserStats @ 0x1003b70ac
//
// 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:04:10 +0000
//
void __fastcall sub_1003CEFD0(__int64 a1, __int64 a2)
{
__int64 v4; // x0
char *StarLevelKey; // x0
__int64 v6; // x21
__int64 v7; // x22
__int64 v8; // x0
char *v9; // x0
__int64 v10; // x20
__int64 v11; // x19
void *__p[2]; // [xsp+0h] [xbp-50h] BYREF
char v13; // [xsp+17h] [xbp-39h]
void *v14; // [xsp+18h] [xbp-38h] BYREF
char v15; // [xsp+2Fh] [xbp-21h]
sub_1003CE798(a1, a2);
v4 = cocos2d::CCDictionary::setObject(*(_QWORD *)(a1 + 608), *(_QWORD *)(a1 + 320), &v14);
StarLevelKey = (char *)GameStatsManager::getStarLevelKey(v4, a2);
v6 = *(_QWORD *)(a1 + 608);
v7 = *(_QWORD *)(a1 + 320);
sub_100009900(__p, StarLevelKey);
v8 = cocos2d::CCDictionary::setObject(v6, v7, __p);
if ( v13 < 0 )
operator delete(__p[0]);
v9 = (char *)sub_1003CE918(v8, a2);
v10 = *(_QWORD *)(a1 + 608);
v11 = *(_QWORD *)(a1 + 320);
sub_100009900(__p, v9);
cocos2d::CCDictionary::setObject(v10, v11, __p);
if ( v13 < 0 )
operator delete(__p[0]);
if ( v15 < 0 )
operator delete(v14);
}