{"type": "func", "start": 4295619632, "end": 4295619740, "name": "GameLevelManager::saveGauntlet", "pseudocode": "// \n// GameLevelManager::saveGauntlet from 0x10009f430 to 0x10009f49c (108 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::onGetGauntletsCompleted @ 0x100090d6c\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 GameLevelManager::saveGauntlet(GameLevelManager *a1, GJMapPack *a2)\n{\n  cocos2d::CCDictionary *m_savedGauntlets; // x20\n  cocos2d::CCString *v4; // x0\n  char *CString; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  m_savedGauntlets = a1->m_savedGauntlets;\n  v4 = (cocos2d::CCString *)sub_100268F4C(\"%i\", a2->m_packID);\n  CString = (char *)cocos2d::CCString::getCString(v4);\n  sub_100009900(__p, CString);\n  cocos2d::CCDictionary::setObject_1(m_savedGauntlets, a2, __p);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GameLevelManager::saveGauntlet from 0x10009f430 to 0x10009f49c (108 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::onGetGauntletsCompleted @ 0x100090d6c\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, 0x10009f430\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10009f434\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10009f438\nADD             X29, SP, #0x30                                         ; +0xc, 0x10009f43c\nMOV             X19, X1                                                ; +0x10, 0x10009f440\nLDR             X20, [X0,#0x250]                                       ; +0x14, 0x10009f444\nLDR             W8, [X1,#0x148]                                        ; +0x18, 0x10009f448\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x1c, 0x10009f44c\nADRL            X0, aI; \"%i\"                                           ; +0x20, 0x10009f450\nBL              sub_100268F4C                                          ; +0x28, 0x10009f458\nBL              cocos2d__CCString__getCString                          ; +0x2c, 0x10009f45c\nMOV             X1, X0; __s                                            ; +0x30, 0x10009f460\nADD             X0, SP, #0x30+__p; int                                 ; +0x34, 0x10009f464\nBL              sub_100009900                                          ; +0x38, 0x10009f468\nADD             X2, SP, #0x30+__p                                      ; +0x3c, 0x10009f46c\nMOV             X0, X20                                                ; +0x40, 0x10009f470\nMOV             X1, X19                                                ; +0x44, 0x10009f474\nBL              cocos2d__CCDictionary__setObject_1                     ; +0x48, 0x10009f478\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x4c, 0x10009f47c\nTBZ             W8, #0x1F, loc_10009F48C                               ; +0x50, 0x10009f480\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x54, 0x10009f484\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x10009f488\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x5c, 0x10009f48c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x60, 0x10009f490\nADD             SP, SP, #0x40 ; '@'                                    ; +0x64, 0x10009f494\nRET                                                                    ; +0x68, 0x10009f498", "xrefs": ["GameLevelManager::onGetGauntletsCompleted @ 0x100090d6c"], "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"}