//
// GameStatsManager::storeSecondaryQueuedChallenge from 0x100333bc0 to 0x100333c30 (112 bytes)
//
// 1 xrefs:
// > GameLevelManager::onGetGJChallengesCompleted @ 0x10008fd7c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GameStatsManager::storeSecondaryQueuedChallenge(GameStatsManager *a1, int a2, GJChallengeItem *a3)
{
cocos2d::CCDictionary *m_upcomingChallenges; // x20
cocos2d::CCString *v5; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v8; // [xsp+1Fh] [xbp-11h]
a3->m_position = a2;
m_upcomingChallenges = a1->m_upcomingChallenges;
v5 = (cocos2d::CCString *)sub_100268F4C("%i", a2 + 100);
CString = (char *)cocos2d::CCString::getCString(v5);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject_1(m_upcomingChallenges, a3, __p);
if ( v8 < 0 )
operator delete(__p[0]);
}