{"type": "func", "start": 4299866432, "end": 4299866582, "name": "GManager::loadFromString", "pseudocode": "// \n// GManager::loadFromString from 0x1004ac140 to 0x1004ac1d6 (150 bytes)\n// \n// 1 xrefs:\n// > GManager::loadFromCompressedString @ 0x1004ac235\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\nvoid __fastcall GManager::loadFromString(__int64 a1, __int64 a2)\n{\n  DS_Dictionary *v2; // rbx\n  char RootSubDictFromString; // al\n  pugi::xml_node *begin; // rdi\n\n  v2 = (DS_Dictionary *)operator new(0xF0u);\n  sub_100179B00(v2);\n  RootSubDictFromString = DS_Dictionary::loadRootSubDictFromString((__int64)v2, (unsigned __int8 *)a2);\n  if ( (*(_BYTE *)a2 & 1) != 0 )\n  {\n    **(_BYTE **)(a2 + 16) = 0;\n    *(_QWORD *)(a2 + 8) = 0;\n    if ( !RootSubDictFromString )\n      goto LABEL_6;\n    goto LABEL_5;\n  }\n  *(_WORD *)a2 = 0;\n  if ( RootSubDictFromString )\nLABEL_5:\n    (*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a1 + 896LL))(a1, v2);\nLABEL_6:\n  begin = v2->dictTree.__begin_;\n  if ( begin )\n  {\n    v2->dictTree.__end_ = begin;\n    operator delete(begin);\n  }\n  pugi::xml_document::dxml_document(v2);\n  operator delete(v2);\n}", "assembly": "; \n; GManager::loadFromString from 0x1004ac140 to 0x1004ac1d6 (150 bytes)\n; \n; 1 xrefs:\n; > GManager::loadFromCompressedString @ 0x1004ac235\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, 0x1004ac140\nmov     rbp, rsp                                                       ; +0x1, 0x1004ac141\npush    r15                                                            ; +0x4, 0x1004ac144\npush    r14                                                            ; +0x6, 0x1004ac146\npush    rbx                                                            ; +0x8, 0x1004ac148\npush    rax                                                            ; +0x9, 0x1004ac149\nmov     r15, rsi                                                       ; +0xa, 0x1004ac14a\nmov     r14, rdi                                                       ; +0xd, 0x1004ac14d\nmov     edi, 0F0h; __sz                                                ; +0x10, 0x1004ac150\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x1004ac155\nmov     rbx, rax                                                       ; +0x1a, 0x1004ac15a\nmov     rdi, rax                                                       ; +0x1d, 0x1004ac15d\ncall    sub_100179B00                                                  ; +0x20, 0x1004ac160\nmov     rdi, rbx                                                       ; +0x25, 0x1004ac165\nmov     rsi, r15                                                       ; +0x28, 0x1004ac168\ncall    DS_Dictionary__loadRootSubDictFromString                       ; +0x2b, 0x1004ac16b\ntest    byte ptr [r15], 1                                              ; +0x30, 0x1004ac170\njnz     short loc_1004AC182                                            ; +0x34, 0x1004ac174\nmov     word ptr [r15], 0                                              ; +0x36, 0x1004ac176\ntest    al, al                                                         ; +0x3c, 0x1004ac17c\njnz     short loc_1004AC195                                            ; +0x3e, 0x1004ac17e\njmp     short loc_1004AC1A4                                            ; +0x40, 0x1004ac180\nmov     rcx, [r15+10h]                                                 ; +0x42, 0x1004ac182\nmov     byte ptr [rcx], 0                                              ; +0x46, 0x1004ac186\nmov     qword ptr [r15+8], 0                                           ; +0x49, 0x1004ac189\ntest    al, al                                                         ; +0x51, 0x1004ac191\njz      short loc_1004AC1A4                                            ; +0x53, 0x1004ac193\nmov     rax, [r14]                                                     ; +0x55, 0x1004ac195\nmov     rdi, r14                                                       ; +0x58, 0x1004ac198\nmov     rsi, rbx                                                       ; +0x5b, 0x1004ac19b\ncall    qword ptr [rax+380h]                                           ; +0x5e, 0x1004ac19e\nmov     rdi, [rbx+0D0h]; __p                                           ; +0x64, 0x1004ac1a4\ntest    rdi, rdi                                                       ; +0x6b, 0x1004ac1ab\njz      short loc_1004AC1BC                                            ; +0x6e, 0x1004ac1ae\nmov     [rbx+0D8h], rdi                                                ; +0x70, 0x1004ac1b0\ncall    __ZdlPv; operator delete(void *)                               ; +0x77, 0x1004ac1b7\nmov     rdi, rbx                                                       ; +0x7c, 0x1004ac1bc\ncall    pugi__xml_document__dxml_document                              ; +0x7f, 0x1004ac1bf\nmov     rdi, rbx; __p                                                  ; +0x84, 0x1004ac1c4\nadd     rsp, 8                                                         ; +0x87, 0x1004ac1c7\npop     rbx                                                            ; +0x8b, 0x1004ac1cb\npop     r14                                                            ; +0x8c, 0x1004ac1cc\npop     r15                                                            ; +0x8e, 0x1004ac1ce\npop     rbp                                                            ; +0x90, 0x1004ac1d0\njmp     __ZdlPv; operator delete(void *)                               ; +0x91, 0x1004ac1d1", "xrefs": ["GManager::loadFromCompressedString @ 0x1004ac235"], "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"}