//
// GameStatsManager::getCompletedDailyIDs from 0x519484 to 0x519528 (164 bytes)
//
// 1 xrefs:
// > GameLevelManager::getOnlineLevels @ 0x4c0e62
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:45 +0000
//
GameStatsManager *__fastcall GameStatsManager::getCompletedDailyIDs(GameStatsManager *this, int a2, int a3, int a4)
{
int v7; // r3
int v8; // r5
int v9; // r6
int v10; // r3
int v11; // r0
const char *v12; // r5
int v13; // r3
int v14; // r2
int v15; // r3
cocos2d::CCString *v16; // r0
char *CString; // r0
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
v7 = *(_DWORD *)(a2 + 412);
if ( v7 )
{
v8 = *(_DWORD *)(v7 + 52);
if ( v8 )
v9 = *(_DWORD *)(v8 + 272);
else
v9 = 0;
while ( v8 )
{
if ( !strncmp((const char *)v8, "dstar_", 6u) )
{
v11 = atoi((const char *)(v8 + 6));
v12 = (const char *)v11;
if ( v11 > a3 && v11 <= a4 )
{
v13 = *(unsigned __int8 *)this;
v14 = v13 << 31;
if ( (v13 & 1) != 0 )
v15 = *((_DWORD *)this + 1);
else
v15 = v13 >> 1;
if ( v15 )
std::string::append(this, ",");
v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v12, v14);
CString = (char *)cocos2d::CCString::getCString(v16);
std::string::append(this, CString);
}
}
if ( v9 )
v10 = *(_DWORD *)(v9 + 272);
else
v10 = 0;
v8 = v9;
v9 = v10;
}
}
return this;
}