{"type": "func", "start": 4299866176, "end": 4299866293, "name": "GManager::getSaveString", "pseudocode": "// \n// GManager::getSaveString from 0x1004ac040 to 0x1004ac0b5 (117 bytes)\n// \n// 1 xrefs:\n// > GManager::getCompressedSaveString @ 0x1004ac0e5\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__int64 __fastcall GManager::getSaveString(__int64 a1, __int64 a2)\n{\n  DS_Dictionary *v3; // r14\n  pugi::xml_node *begin; // rdi\n\n  v3 = (DS_Dictionary *)operator new(0xF0u);\n  sub_100179B00(v3);\n  (*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a2 + 888LL))(a2, v3);\n  DS_Dictionary::saveRootSubDictToString(a1, (__int64)v3);\n  begin = v3->dictTree.__begin_;\n  if ( begin )\n  {\n    v3->dictTree.__end_ = begin;\n    operator delete(begin);\n  }\n  pugi::xml_document::dxml_document(v3);\n  operator delete(v3);\n  return a1;\n}", "assembly": "; \n; GManager::getSaveString from 0x1004ac040 to 0x1004ac0b5 (117 bytes)\n; \n; 1 xrefs:\n; > GManager::getCompressedSaveString @ 0x1004ac0e5\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\npush    rbp                                                            ; +0x0, 0x1004ac040\nmov     rbp, rsp                                                       ; +0x1, 0x1004ac041\npush    r15                                                            ; +0x4, 0x1004ac044\npush    r14                                                            ; +0x6, 0x1004ac046\npush    rbx                                                            ; +0x8, 0x1004ac048\npush    rax                                                            ; +0x9, 0x1004ac049\nmov     r15, rsi                                                       ; +0xa, 0x1004ac04a\nmov     rbx, rdi                                                       ; +0xd, 0x1004ac04d\nmov     edi, 0F0h; __sz                                                ; +0x10, 0x1004ac050\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x1004ac055\nmov     r14, rax                                                       ; +0x1a, 0x1004ac05a\nmov     rdi, rax                                                       ; +0x1d, 0x1004ac05d\ncall    sub_100179B00                                                  ; +0x20, 0x1004ac060\nmov     rax, [r15]                                                     ; +0x25, 0x1004ac065\nmov     rdi, r15                                                       ; +0x28, 0x1004ac068\nmov     rsi, r14                                                       ; +0x2b, 0x1004ac06b\ncall    qword ptr [rax+378h]                                           ; +0x2e, 0x1004ac06e\nmov     rdi, rbx                                                       ; +0x34, 0x1004ac074\nmov     rsi, r14                                                       ; +0x37, 0x1004ac077\ncall    DS_Dictionary__saveRootSubDictToString                         ; +0x3a, 0x1004ac07a\nmov     rdi, [r14+0D0h]; __p                                           ; +0x3f, 0x1004ac07f\ntest    rdi, rdi                                                       ; +0x46, 0x1004ac086\njz      short loc_1004AC097                                            ; +0x49, 0x1004ac089\nmov     [r14+0D8h], rdi                                                ; +0x4b, 0x1004ac08b\ncall    __ZdlPv; operator delete(void *)                               ; +0x52, 0x1004ac092\nmov     rdi, r14                                                       ; +0x57, 0x1004ac097\ncall    pugi__xml_document__dxml_document                              ; +0x5a, 0x1004ac09a\nmov     rdi, r14; __p                                                  ; +0x5f, 0x1004ac09f\ncall    __ZdlPv; operator delete(void *)                               ; +0x62, 0x1004ac0a2\nmov     rax, rbx                                                       ; +0x67, 0x1004ac0a7\nadd     rsp, 8                                                         ; +0x6a, 0x1004ac0aa\npop     rbx                                                            ; +0x6e, 0x1004ac0ae\npop     r14                                                            ; +0x6f, 0x1004ac0af\npop     r15                                                            ; +0x71, 0x1004ac0b1\npop     rbp                                                            ; +0x73, 0x1004ac0b3\nretn                                                                   ; +0x74, 0x1004ac0b4", "xrefs": ["GManager::getCompressedSaveString @ 0x1004ac0e5"], "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"}