//
// sub_8300A4 from 0x8300a4 to 0x83018c (232 bytes)
//
// 2 xrefs:
// > GameLevelManager::appendModReason @ 0x830200
// > GameLevelManager::reportContent @ 0x8324b8
//
// 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 12:55:08 +0000
//
_QWORD *__usercall sub_8300A4@(__int64 *a1@, _QWORD *a2@)
{
__int64 v4; // x1
__int64 v5; // x19
cocos2d::CCString *i; // x0
size_t v7; // x0
char *CString; // [xsp+48h] [xbp+48h]
*a2 = 0;
a2[1] = 0;
a2[2] = 0;
v4 = *a1;
if ( (a1[1] - *a1) >> 2 )
{
v5 = 0;
LABEL_3:
for ( i = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)*(unsigned int *)(v4 + 4 * v5));
;
i = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)*(unsigned int *)(*a1 + 4 * v5)) )
{
CString = (char *)cocos2d::CCString::getCString(i);
v7 = strlen(CString);
std::string::append((__int64)a2, CString, v7);
v4 = *a1;
if ( ++v5 >= (unsigned __int64)((a1[1] - *a1) >> 2) )
break;
if ( !v5 )
goto LABEL_3;
std::string::append((__int64)a2, &byte_1169BE0);
}
}
return a2;
}