//
// GJAccountManager::removeDLFromActive from 0x1003a0340 to 0x1003a0388 (72 bytes)
//
// 7 xrefs:
// > GJAccountManager::onRegisterAccountCompleted @ 0x10039f21c
// > GJAccountManager::onLoginAccountCompleted @ 0x10039f2d4
// > GJAccountManager::onBackupAccountCompleted @ 0x10039f4bc
// > GJAccountManager::onSyncAccountCompleted @ 0x10039f6a0
// > GJAccountManager::onUpdateAccountSettingsCompleted @ 0x10039fe4c
// > GJAccountManager::onGetAccountBackupURLCompleted @ 0x10039fedc
// > GJAccountManager::onGetAccountSyncURLCompleted @ 0x1003a0050
//
// 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 GJAccountManager::removeDLFromActive(GJAccountManager *a1, const char *a2)
{
cocos2d::CCDictionary *m_activeDownloads; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v4; // [xsp+1Fh] [xbp-11h]
m_activeDownloads = a1->m_activeDownloads;
sub_100009900(__p, (char *)a2);
cocos2d::CCDictionary::removeObjectForKey_1((int)m_activeDownloads, (char *)__p);
if ( v4 < 0 )
operator delete(__p[0]);
}