{"type": "func", "start": 4298325068, "end": 4298325168, "name": "GameStatsManager::removeQueuedSecondaryChallenge", "pseudocode": "// \n// GameStatsManager::removeQueuedSecondaryChallenge from 0x100333c4c to 0x100333cb0 (100 bytes)\n// \n// 1 xrefs:\n// > GameStatsManager::processChallengeQueue @ 0x1003340d0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GameStatsManager::removeQueuedSecondaryChallenge(GameStatsManager *a1, int a2)\n{\n  cocos2d::CCDictionary *m_upcomingChallenges; // x19\n  cocos2d::CCString *v3; // x0\n  char *CString; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  m_upcomingChallenges = a1->m_upcomingChallenges;\n  v3 = (cocos2d::CCString *)sub_100268F4C(\"%i\", a2 + 100);\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  sub_100009900(__p, CString);\n  cocos2d::CCDictionary::removeObjectForKey_1((int)m_upcomingChallenges, (char *)__p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GameStatsManager::removeQueuedSecondaryChallenge from 0x100333c4c to 0x100333cb0 (100 bytes)\n; \n; 1 xrefs:\n; > GameStatsManager::processChallengeQueue @ 0x1003340d0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x40                                          ; +0x0, 0x100333c4c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100333c50\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100333c54\nADD             X29, SP, #0x30                                         ; +0xc, 0x100333c58\nLDR             X19, [X0,#0x1F8]                                       ; +0x10, 0x100333c5c\nADD             W8, W1, #0x64 ; 'd'                                    ; +0x14, 0x100333c60\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x18, 0x100333c64\nADRL            X0, aI; \"%i\"                                           ; +0x1c, 0x100333c68\nBL              sub_100268F4C                                          ; +0x24, 0x100333c70\nBL              cocos2d__CCString__getCString                          ; +0x28, 0x100333c74\nMOV             X1, X0; __s                                            ; +0x2c, 0x100333c78\nADD             X0, SP, #0x30+__p; int                                 ; +0x30, 0x100333c7c\nBL              sub_100009900                                          ; +0x34, 0x100333c80\nADD             X1, SP, #0x30+__p; __s                                 ; +0x38, 0x100333c84\nMOV             X0, X19; int                                           ; +0x3c, 0x100333c88\nBL              cocos2d__CCDictionary__removeObjectForKey_1            ; +0x40, 0x100333c8c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x44, 0x100333c90\nTBZ             W8, #0x1F, loc_100333CA0                               ; +0x48, 0x100333c94\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x4c, 0x100333c98\nBL              __ZdlPv; operator delete(void *)                       ; +0x50, 0x100333c9c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x54, 0x100333ca0\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x58, 0x100333ca4\nADD             SP, SP, #0x40 ; '@'                                    ; +0x5c, 0x100333ca8\nRET                                                                    ; +0x60, 0x100333cac", "xrefs": ["GameStatsManager::processChallengeQueue @ 0x1003340d0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}