{"type": "func", "start": 4295661800, "end": 4295661908, "name": "GameLevelManager::saveLevelList", "pseudocode": "// \n// GameLevelManager::saveLevelList from 0x1000a98e8 to 0x1000a9954 (108 bytes)\n// \n// 1 xrefs:\n// > LevelListLayer::onFavorite @ 0x1002e1ed4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:58:35 +0000\n// \n\nvoid __fastcall GameLevelManager::saveLevelList(__int64 a1, __int64 a2)\n{\n  __int64 v3; // x20\n  __int64 v4; // x0\n  char *CString; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  v3 = *(_QWORD *)(a1 + 784);\n  v4 = sub_1003065B0(\"%i\", *(_DWORD *)(a2 + 344));\n  CString = (char *)cocos2d::CCString::getCString(v4);\n  sub_100009900(__p, CString);\n  cocos2d::CCDictionary::setObject(v3, a2, __p);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GameLevelManager::saveLevelList from 0x1000a98e8 to 0x1000a9954 (108 bytes)\n; \n; 1 xrefs:\n; > LevelListLayer::onFavorite @ 0x1002e1ed4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:58:35 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1000a98e8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000a98ec\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000a98f0\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000a98f4\nMOV             X19, X1                                                ; +0x10, 0x1000a98f8\nLDR             X20, [X0,#0x310]                                       ; +0x14, 0x1000a98fc\nLDR             W8, [X1,#0x158]                                        ; +0x18, 0x1000a9900\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x1c, 0x1000a9904\nADRL            X0, aI; \"%i\"                                           ; +0x20, 0x1000a9908\nBL              sub_1003065B0                                          ; +0x28, 0x1000a9910\nBL              cocos2d__CCString__getCString                          ; +0x2c, 0x1000a9914\nMOV             X1, X0; __s                                            ; +0x30, 0x1000a9918\nADD             X0, SP, #0x30+__p; int                                 ; +0x34, 0x1000a991c\nBL              sub_100009900                                          ; +0x38, 0x1000a9920\nADD             X2, SP, #0x30+__p                                      ; +0x3c, 0x1000a9924\nMOV             X0, X20                                                ; +0x40, 0x1000a9928\nMOV             X1, X19                                                ; +0x44, 0x1000a992c\nBL              cocos2d__CCDictionary__setObject                       ; +0x48, 0x1000a9930\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x4c, 0x1000a9934\nTBZ             W8, #0x1F, loc_1000A9944                               ; +0x50, 0x1000a9938\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x54, 0x1000a993c\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x1000a9940\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x5c, 0x1000a9944\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x60, 0x1000a9948\nADD             SP, SP, #0x40 ; '@'                                    ; +0x64, 0x1000a994c\nRET                                                                    ; +0x68, 0x1000a9950", "xrefs": ["LevelListLayer::onFavorite @ 0x1002e1ed4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}