{"type": "func", "start": 5369197648, "end": 5369197872, "name": "GManager::loadFromCompressedString", "pseudocode": "// \n// GManager::loadFromCompressedString from 0x140077450 to 0x140077530 (224 bytes)\n// \n// 3 xrefs:\n// > GJAccountManager::onSyncAccountCompleted @ 0x140308c5c\n// > GJAccountManager::onSyncAccountCompleted @ 0x140308c6d\n// > <???> @ 0x140911ba0\n// \n// This function is hookable on this platform (idp: pc, 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 11:25:51 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall GManager::loadFromCompressedString(__int64 a1, _QWORD *a2)\n{\n  _QWORD *v2; // rbx\n  DS_Dictionary *v4; // rbx\n  char RootSubDictFromString; // al\n  _BYTE *v6; // rdx\n  DS_Dictionary *v7; // [rsp+20h] [rbp-38h]\n  _QWORD v8[4]; // [rsp+28h] [rbp-30h] BYREF\n\n  v2 = a2;\n  cocos2d::ZipUtils::decompressString(v8, a2, 0, 11);\n  v2[2] = 0;\n  if ( v2[3] > 0xFu )\n    v2 = (_QWORD *)*v2;\n  *(_BYTE *)v2 = 0;\n  v7 = (DS_Dictionary *)operator new(0xF0u);\n  v4 = DS_Dictionary::DS_Dictionary(v7);\n  RootSubDictFromString = DS_Dictionary::loadRootSubDictFromString(v4, v8);\n  v8[2] = 0;\n  v6 = v8;\n  if ( v8[3] > 0xFu )\n    v6 = (_BYTE *)v8[0];\n  *v6 = 0;\n  if ( RootSubDictFromString )\n    (*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a1 + 920LL))(a1, v4);\n  if ( v4 )\n  {\n    DS_Dictionary::~DS_Dictionary(v4);\n    j_j_free(v4);\n  }\n  sub_14003D310((__int64)v8);\n}", "assembly": "; \n; GManager::loadFromCompressedString from 0x140077450 to 0x140077530 (224 bytes)\n; \n; 3 xrefs:\n; > GJAccountManager::onSyncAccountCompleted @ 0x140308c5c\n; > GJAccountManager::onSyncAccountCompleted @ 0x140308c6d\n; > <???> @ 0x140911ba0\n; \n; This function is hookable on this platform (idp: pc, 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 11:25:51 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140077450\npush    rdi                                                            ; +0x5, 0x140077455\nsub     rsp, 50h                                                       ; +0x6, 0x140077456\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x14007745a\nxor     rax, rsp                                                       ; +0x11, 0x140077461\nmov     [rsp+58h+var_10], rax                                          ; +0x14, 0x140077464\nmov     rbx, rdx                                                       ; +0x19, 0x140077469\nmov     rdi, rcx                                                       ; +0x1c, 0x14007746c\nmov     r9d, 0Bh                                                       ; +0x1f, 0x14007746f\nxor     r8d, r8d                                                       ; +0x25, 0x140077475\nlea     rcx, [rsp+58h+var_30]                                          ; +0x28, 0x140077478\ncall    cs:?decompressString@ZipUtils@cocos2d@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@_NH@Z; cocos2d::ZipUtils::decompressString(std::string const &,bool,int) ; +0x2d, 0x14007747d\nnop                                                                    ; +0x33, 0x140077483\nmov     qword ptr [rbx+10h], 0                                         ; +0x34, 0x140077484\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x3c, 0x14007748c\njbe     short loc_140077496                                            ; +0x41, 0x140077491\nmov     rbx, [rbx]                                                     ; +0x43, 0x140077493\nmov     byte ptr [rbx], 0                                              ; +0x46, 0x140077496\nmov     ecx, 0F0h; Size                                                ; +0x49, 0x140077499\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4e, 0x14007749e\nmov     [rsp+58h+var_38], rax                                          ; +0x53, 0x1400774a3\nmov     rcx, rax                                                       ; +0x58, 0x1400774a8\ncall    cs:??0DS_Dictionary@@QEAA@XZ; DS_Dictionary::DS_Dictionary(void) ; +0x5b, 0x1400774ab\nmov     rbx, rax                                                       ; +0x61, 0x1400774b1\nlea     rdx, [rsp+58h+var_30]                                          ; +0x64, 0x1400774b4\nmov     rcx, rax                                                       ; +0x69, 0x1400774b9\ncall    cs:?loadRootSubDictFromString@DS_Dictionary@@QEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; DS_Dictionary::loadRootSubDictFromString(std::string const &) ; +0x6c, 0x1400774bc\nmov     [rsp+58h+var_20], 0                                            ; +0x72, 0x1400774c2\nlea     rdx, [rsp+58h+var_30]                                          ; +0x7b, 0x1400774cb\ncmp     [rsp+58h+var_18], 0Fh                                          ; +0x80, 0x1400774d0\ncmova   rdx, [rsp+58h+var_30]                                          ; +0x86, 0x1400774d6\nmov     byte ptr [rdx], 0                                              ; +0x8c, 0x1400774dc\ntest    al, al                                                         ; +0x8f, 0x1400774df\njz      short loc_1400774F2                                            ; +0x91, 0x1400774e1\nmov     rax, [rdi]                                                     ; +0x93, 0x1400774e3\nmov     rdx, rbx                                                       ; +0x96, 0x1400774e6\nmov     rcx, rdi                                                       ; +0x99, 0x1400774e9\ncall    qword ptr [rax+398h]                                           ; +0x9c, 0x1400774ec\ntest    rbx, rbx                                                       ; +0xa2, 0x1400774f2\njz      short loc_14007750E                                            ; +0xa5, 0x1400774f5\nmov     rcx, rbx                                                       ; +0xa7, 0x1400774f7\ncall    cs:??1DS_Dictionary@@QEAA@XZ; DS_Dictionary::~DS_Dictionary(void) ; +0xaa, 0x1400774fa\nmov     edx, 0F0h                                                      ; +0xb0, 0x140077500\nmov     rcx, rbx; Block                                                ; +0xb5, 0x140077505\ncall    j_j_free                                                       ; +0xb8, 0x140077508\nnop                                                                    ; +0xbd, 0x14007750d\nlea     rcx, [rsp+58h+var_30]                                          ; +0xbe, 0x14007750e\ncall    sub_14003D310                                                  ; +0xc3, 0x140077513\nmov     rcx, [rsp+58h+var_10]                                          ; +0xc8, 0x140077518\nxor     rcx, rsp; StackCookie                                          ; +0xcd, 0x14007751d\ncall    __security_check_cookie                                        ; +0xd0, 0x140077520\nmov     rbx, [rsp+58h+arg_10]                                          ; +0xd5, 0x140077525\nadd     rsp, 50h                                                       ; +0xda, 0x14007752a\npop     rdi                                                            ; +0xde, 0x14007752e\nretn                                                                   ; +0xdf, 0x14007752f", "xrefs": ["GJAccountManager::onSyncAccountCompleted @ 0x140308c5c", "GJAccountManager::onSyncAccountCompleted @ 0x140308c6d", "<???> @ 0x140911ba0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}