//
// GameLevelManager::saveLevelList from 0x1000a98e8 to 0x1000a9954 (108 bytes)
//
// 1 xrefs:
// > LevelListLayer::onFavorite @ 0x1002e1ed4
//
// 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:35 +0000
//
void __fastcall GameLevelManager::saveLevelList(__int64 a1, __int64 a2)
{
__int64 v3; // x20
__int64 v4; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v3 = *(_QWORD *)(a1 + 784);
v4 = sub_1003065B0("%i", *(_DWORD *)(a2 + 344));
CString = (char *)cocos2d::CCString::getCString(v4);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject(v3, a2, __p);
if ( v7 < 0 )
operator delete(__p[0]);
}