{"type": "func", "start": 5369145376, "end": 5369145569, "name": "GManager::getCompressedSaveString", "pseudocode": "// \n// GManager::getCompressedSaveString from 0x14006a820 to 0x14006a8e1 (193 bytes)\n// \n// 3 xrefs:\n// > GJAccountManager::backupAccount @ 0x140201b81\n// > GJAccountManager::backupAccount @ 0x140201bec\n// > <???> @ 0x1406c5f4c\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\n// Hidden C++ exception states: #wind=2\n__int64 __fastcall GManager::getCompressedSaveString(__int64 a1, __int64 a2)\n{\n  DS_Dictionary *v4; // rdi\n  DS_Dictionary *v6; // [rsp+28h] [rbp-40h]\n  _BYTE v7[32]; // [rsp+30h] [rbp-38h] BYREF\n\n  v6 = (DS_Dictionary *)operator new(0xF0u);\n  v4 = DS_Dictionary::DS_Dictionary(v6);\n  (*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a1 + 880LL))(a1, v4);\n  DS_Dictionary::saveRootSubDictToString(v4, v7);\n  if ( v4 )\n  {\n    DS_Dictionary::~DS_Dictionary(v4);\n    j_j_free(v4);\n  }\n  cocos2d::ZipUtils::compressString(a2, v7, 0, 11);\n  sub_14003A830((__int64)v7);\n  return a2;\n}", "assembly": "; \n; GManager::getCompressedSaveString from 0x14006a820 to 0x14006a8e1 (193 bytes)\n; \n; 3 xrefs:\n; > GJAccountManager::backupAccount @ 0x140201b81\n; > GJAccountManager::backupAccount @ 0x140201bec\n; > <???> @ 0x1406c5f4c\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x14006a820\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x14006a825\npush    rdi                                                            ; +0xa, 0x14006a82a\nsub     rsp, 60h                                                       ; +0xb, 0x14006a82b\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x14006a82f\nxor     rax, rsp                                                       ; +0x16, 0x14006a836\nmov     [rsp+68h+var_18], rax                                          ; +0x19, 0x14006a839\nmov     rsi, rdx                                                       ; +0x1e, 0x14006a83e\nmov     rbx, rcx                                                       ; +0x21, 0x14006a841\nmov     [rsp+68h+var_40], rdx                                          ; +0x24, 0x14006a844\nmov     ecx, 0F0h; Size                                                ; +0x29, 0x14006a849\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2e, 0x14006a84e\nmov     [rsp+68h+var_40], rax                                          ; +0x33, 0x14006a853\nmov     rcx, rax                                                       ; +0x38, 0x14006a858\ncall    cs:??0DS_Dictionary@@QEAA@XZ; DS_Dictionary::DS_Dictionary(void) ; +0x3b, 0x14006a85b\nmov     rdi, rax                                                       ; +0x41, 0x14006a861\nmov     rax, [rbx]                                                     ; +0x44, 0x14006a864\nmov     rdx, rdi                                                       ; +0x47, 0x14006a867\nmov     rcx, rbx                                                       ; +0x4a, 0x14006a86a\ncall    qword ptr [rax+370h]                                           ; +0x4d, 0x14006a86d\nlea     rdx, [rsp+68h+var_38]                                          ; +0x53, 0x14006a873\nmov     rcx, rdi                                                       ; +0x58, 0x14006a878\ncall    cs:?saveRootSubDictToString@DS_Dictionary@@QEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ; DS_Dictionary::saveRootSubDictToString(void) ; +0x5b, 0x14006a87b\ntest    rdi, rdi                                                       ; +0x61, 0x14006a881\njz      short loc_14006A89D                                            ; +0x64, 0x14006a884\nmov     rcx, rdi                                                       ; +0x66, 0x14006a886\ncall    cs:??1DS_Dictionary@@QEAA@XZ; DS_Dictionary::~DS_Dictionary(void) ; +0x69, 0x14006a889\nmov     edx, 0F0h                                                      ; +0x6f, 0x14006a88f\nmov     rcx, rdi; Block                                                ; +0x74, 0x14006a894\ncall    j_j_free                                                       ; +0x77, 0x14006a897\nnop                                                                    ; +0x7c, 0x14006a89c\nmov     r9d, 0Bh                                                       ; +0x7d, 0x14006a89d\nxor     r8d, r8d                                                       ; +0x83, 0x14006a8a3\nlea     rdx, [rsp+68h+var_38]                                          ; +0x86, 0x14006a8a6\nmov     rcx, rsi                                                       ; +0x8b, 0x14006a8ab\ncall    cs:?compressString@ZipUtils@cocos2d@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@_NH@Z; cocos2d::ZipUtils::compressString(std::string const &,bool,int) ; +0x8e, 0x14006a8ae\nnop                                                                    ; +0x94, 0x14006a8b4\nlea     rcx, [rsp+68h+var_38]                                          ; +0x95, 0x14006a8b5\ncall    sub_14003A830                                                  ; +0x9a, 0x14006a8ba\nmov     rax, rsi                                                       ; +0x9f, 0x14006a8bf\nmov     rcx, [rsp+68h+var_18]                                          ; +0xa2, 0x14006a8c2\nxor     rcx, rsp; StackCookie                                          ; +0xa7, 0x14006a8c7\ncall    __security_check_cookie                                        ; +0xaa, 0x14006a8ca\nlea     r11, [rsp+68h+var_8]                                           ; +0xaf, 0x14006a8cf\nmov     rbx, [r11+20h]                                                 ; +0xb4, 0x14006a8d4\nmov     rsi, [r11+28h]                                                 ; +0xb8, 0x14006a8d8\nmov     rsp, r11                                                       ; +0xbc, 0x14006a8dc\npop     rdi                                                            ; +0xbf, 0x14006a8df\nretn                                                                   ; +0xc0, 0x14006a8e0", "xrefs": ["GJAccountManager::backupAccount @ 0x140201b81", "GJAccountManager::backupAccount @ 0x140201bec", "<???> @ 0x1406c5f4c"], "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"}