//
// sub_1402411E0 from 0x1402411e0 to 0x1402412ac (204 bytes)
//
// 3 xrefs:
// > GameLevelManager::appendModReason @ 0x1402418f6
// > GameLevelManager::reportContent @ 0x140261154
// > ??> @ 0x14091c1c0
//
// This function is hookable on this platform (idp: pc, 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:28:36 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall sub_1402411E0(_QWORD *Src, _QWORD *a2)
{
unsigned __int64 v4; // rbx
cocos2d::CCString *v5; // rax
char *CString; // rax
size_t v7; // r8
v4 = 0;
*(_OWORD *)Src = 0;
Src[2] = 0;
Src[3] = 15;
for ( *(_BYTE *)Src = 0; v4 < (__int64)(a2[1] - *a2) >> 2; ++v4 )
{
if ( v4 )
sub_140044D80(Src, byte_14070ECF8, 1u);
v5 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *(unsigned int *)(*a2 + 4 * v4));
CString = (char *)cocos2d::CCString::getCString(v5);
v7 = -1;
do
++v7;
while ( CString[v7] );
sub_140044D80(Src, CString, v7);
}
return Src;
}