//
// sub_1000C1F7C from 0x1000c1f7c to 0x1000c2074 (248 bytes)
//
// 3 xrefs:
// > sub_1003F0364 @ 0x1003f03a0
// > sub_1003F0364 @ 0x1003f03f4
// > sub_1003F0FF0 @ 0x1003f1094
//
// 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_1000C1F7C(__int64 a1, int a2, int a3)
{
int v6; // w24
char v7; // w8
int v8; // w27
char v9; // w26
char v10; // w23
__int64 v11; // x0
char *CString; // x0
char *v13; // x1
_BOOL4 v14; // w0
char *v15; // x1
void *__p[2]; // [xsp+28h] [xbp-68h] BYREF
char v17; // [xsp+3Fh] [xbp-51h]
v6 = 0;
v7 = 1;
do
{
v8 = 0;
v9 = v7;
v10 = 1;
while ( (v10 & 1) != 0 )
{
GameLevelManager::sharedState();
v11 = sub_1003065B0("comment_%i_%i_%i_%i", a2, v8, v6, a3);
CString = (char *)cocos2d::CCString::getCString(v11);
sub_100009900(__p, CString);
if ( v17 >= 0 )
v13 = (char *)__p;
else
v13 = (char *)__p[0];
v14 = sub_1000ADDDC(a1, v13);
v10 = v14;
if ( v14 )
{
if ( v17 >= 0 )
v15 = (char *)__p;
else
v15 = (char *)__p[0];
sub_1000ADE4C(a1, v15);
}
if ( v17 < 0 )
operator delete(__p[0]);
if ( ++v8 == 101 )
return;
}
v7 = 0;
v6 = 1;
}
while ( (v9 & 1) != 0 );
}