{"type": "func", "start": 6442574368, "end": 6442574487, "name": "DS_Dictionary::saveRootSubDictToString", "pseudocode": "// \n// DS_Dictionary::saveRootSubDictToString from 0x18001e220 to 0x18001e297 (119 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801aebfc\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 DS_Dictionary::saveRootSubDictToString(__int64 a1, __int64 a2)\n{\n  int v3; // ebx\n  __int64 v4; // rax\n  __int64 v5; // rax\n  char v7; // [rsp+50h] [rbp+8h] BYREF\n  __int64 v8; // [rsp+58h] [rbp+10h] BYREF\n\n  v8 = a2;\n  v3 = a1;\n  v4 = sub_18007FB10(a1, &v8, \"plist\");\n  v5 = sub_18007F750(v4, &v7, \"gjver\");\n  sub_18007F4A0(v5, \"2.0\");\n  pugi::xml_document::save_string(v3, a2, (unsigned int)\"\\t\", 4, 0);\n  return a2;\n}", "assembly": "; \n; DS_Dictionary::saveRootSubDictToString from 0x18001e220 to 0x18001e297 (119 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801aebfc\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, 0x18001e220\nmov     [rsp+arg_8], rdx                                               ; +0x5, 0x18001e225\npush    rdi                                                            ; +0xa, 0x18001e22a\nsub     rsp, 40h                                                       ; +0xb, 0x18001e22b\nmov     rdi, rdx                                                       ; +0xf, 0x18001e22f\nlea     r8, aPlist; \"plist\"                                            ; +0x12, 0x18001e232\nlea     rdx, [rsp+48h+arg_8]                                           ; +0x19, 0x18001e239\nmov     rbx, rcx                                                       ; +0x1e, 0x18001e23e\ncall    sub_18007FB10                                                  ; +0x21, 0x18001e241\nmov     rcx, rax                                                       ; +0x26, 0x18001e246\nlea     r8, aGjver; \"gjver\"                                            ; +0x29, 0x18001e249\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x30, 0x18001e250\ncall    sub_18007F750                                                  ; +0x35, 0x18001e255\nmov     rcx, rax                                                       ; +0x3a, 0x18001e25a\nlea     rdx, a20; \"2.0\"                                                ; +0x3d, 0x18001e25d\ncall    sub_18007F4A0                                                  ; +0x44, 0x18001e264\nmov     r9d, 4                                                         ; +0x49, 0x18001e269\nmov     [rsp+48h+var_28], 0                                            ; +0x4f, 0x18001e26f\nlea     r8, asc_1800E64A8; \"\\t\"                                        ; +0x57, 0x18001e277\nmov     rdx, rdi                                                       ; +0x5e, 0x18001e27e\nmov     rcx, rbx                                                       ; +0x61, 0x18001e281\ncall    ?save_string@xml_document@pugi@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDIW4xml_encoding@2@@Z; pugi::xml_document::save_string(char const *,uint,pugi::xml_encoding) ; +0x64, 0x18001e284\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x69, 0x18001e289\nmov     rax, rdi                                                       ; +0x6e, 0x18001e28e\nadd     rsp, 40h                                                       ; +0x71, 0x18001e291\npop     rdi                                                            ; +0x75, 0x18001e295\nretn                                                                   ; +0x76, 0x18001e296", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801aebfc"], "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"}