//
// GameStatsManager::removeQueuedSecondaryChallenge from 0x100333c4c to 0x100333cb0 (100 bytes)
//
// 1 xrefs:
// > GameStatsManager::processChallengeQueue @ 0x1003340d0
//
// 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::removeQueuedSecondaryChallenge(GameStatsManager *a1, int a2)
{
cocos2d::CCDictionary *m_upcomingChallenges; // x19
cocos2d::CCString *v3; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
m_upcomingChallenges = a1->m_upcomingChallenges;
v3 = (cocos2d::CCString *)sub_100268F4C("%i", a2 + 100);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_100009900(__p, CString);
cocos2d::CCDictionary::removeObjectForKey_1((int)m_upcomingChallenges, (char *)__p);
if ( v6 < 0 )
operator delete(__p[0]);
}