//
// sub_1000C0FDC from 0x1000c0fdc to 0x1000c1094 (184 bytes)
//
// 1 xrefs:
// > sub_10022ADF4 @ 0x10022ae80
//
// 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:47 +0000
//
void __fastcall sub_1000C0FDC(__int64 a1, int a2)
{
int v4; // w22
bool v5; // w24
__int64 v6; // x0
char *CString; // x0
char *v8; // x1
__int64 StoredOnlineLevels; // x0
void *__p[2]; // [xsp+18h] [xbp-48h] BYREF
char v11; // [xsp+2Fh] [xbp-31h]
v4 = 0;
v5 = 1;
do
{
if ( !v5 )
break;
v6 = sub_1003065B0("a_%i_%i", a2, v4);
CString = (char *)cocos2d::CCString::getCString(v6);
sub_100009900(__p, CString);
if ( v11 >= 0 )
v8 = (char *)__p;
else
v8 = (char *)__p[0];
StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(a1, v8);
v5 = StoredOnlineLevels != 0;
if ( StoredOnlineLevels )
cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1040), (char *)__p);
if ( v11 < 0 )
operator delete(__p[0]);
++v4;
}
while ( v4 != 101 );
}