{"type": "func", "start": 4299837408, "end": 4299837558, "name": "GManager::loadFromString", "pseudocode": "// \n// GManager::loadFromString from 0x1004a4fe0 to 0x1004a5076 (150 bytes)\n// \n// 1 xrefs:\n// > GManager::loadFromCompressedString @ 0x1004a50d5\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 12:30:54 +0000\n// \n\nvoid __fastcall GManager::loadFromString(__int64 a1, __int64 a2)\n{\n  _QWORD *v2; // rbx\n  char RootSubDictFromString; // al\n  void *v4; // rdi\n\n  v2 = operator new(0xF0u);\n  sub_100158EB0((__int64)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, _QWORD *))(*(_QWORD *)a1 + 928LL))(a1, v2);\nLABEL_6:\n  v4 = (void *)v2[26];\n  if ( v4 )\n  {\n    v2[27] = v4;\n    operator delete(v4);\n  }\n  pugi::xml_document::dxml_document(v2);\n  operator delete(v2);\n}", "assembly": "; \n; GManager::loadFromString from 0x1004a4fe0 to 0x1004a5076 (150 bytes)\n; \n; 1 xrefs:\n; > GManager::loadFromCompressedString @ 0x1004a50d5\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 12:30:54 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004a4fe0\nmov     rbp, rsp                                                       ; +0x1, 0x1004a4fe1\npush    r15                                                            ; +0x4, 0x1004a4fe4\npush    r14                                                            ; +0x6, 0x1004a4fe6\npush    rbx                                                            ; +0x8, 0x1004a4fe8\npush    rax                                                            ; +0x9, 0x1004a4fe9\nmov     r15, rsi                                                       ; +0xa, 0x1004a4fea\nmov     r14, rdi                                                       ; +0xd, 0x1004a4fed\nmov     edi, 0F0h; __sz                                                ; +0x10, 0x1004a4ff0\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x1004a4ff5\nmov     rbx, rax                                                       ; +0x1a, 0x1004a4ffa\nmov     rdi, rax                                                       ; +0x1d, 0x1004a4ffd\ncall    sub_100158EB0                                                  ; +0x20, 0x1004a5000\nmov     rdi, rbx                                                       ; +0x25, 0x1004a5005\nmov     rsi, r15                                                       ; +0x28, 0x1004a5008\ncall    DS_Dictionary__loadRootSubDictFromString                       ; +0x2b, 0x1004a500b\ntest    byte ptr [r15], 1                                              ; +0x30, 0x1004a5010\njnz     short loc_1004A5022                                            ; +0x34, 0x1004a5014\nmov     word ptr [r15], 0                                              ; +0x36, 0x1004a5016\ntest    al, al                                                         ; +0x3c, 0x1004a501c\njnz     short loc_1004A5035                                            ; +0x3e, 0x1004a501e\njmp     short loc_1004A5044                                            ; +0x40, 0x1004a5020\nmov     rcx, [r15+10h]                                                 ; +0x42, 0x1004a5022\nmov     byte ptr [rcx], 0                                              ; +0x46, 0x1004a5026\nmov     qword ptr [r15+8], 0                                           ; +0x49, 0x1004a5029\ntest    al, al                                                         ; +0x51, 0x1004a5031\njz      short loc_1004A5044                                            ; +0x53, 0x1004a5033\nmov     rax, [r14]                                                     ; +0x55, 0x1004a5035\nmov     rdi, r14                                                       ; +0x58, 0x1004a5038\nmov     rsi, rbx                                                       ; +0x5b, 0x1004a503b\ncall    qword ptr [rax+3A0h]                                           ; +0x5e, 0x1004a503e\nmov     rdi, [rbx+0D0h]; __p                                           ; +0x64, 0x1004a5044\ntest    rdi, rdi                                                       ; +0x6b, 0x1004a504b\njz      short loc_1004A505C                                            ; +0x6e, 0x1004a504e\nmov     [rbx+0D8h], rdi                                                ; +0x70, 0x1004a5050\ncall    __ZdlPv; operator delete(void *)                               ; +0x77, 0x1004a5057\nmov     rdi, rbx                                                       ; +0x7c, 0x1004a505c\ncall    pugi__xml_document__dxml_document                              ; +0x7f, 0x1004a505f\nmov     rdi, rbx; __p                                                  ; +0x84, 0x1004a5064\nadd     rsp, 8                                                         ; +0x87, 0x1004a5067\npop     rbx                                                            ; +0x8b, 0x1004a506b\npop     r14                                                            ; +0x8c, 0x1004a506c\npop     r15                                                            ; +0x8e, 0x1004a506e\npop     rbp                                                            ; +0x90, 0x1004a5070\njmp     __ZdlPv; operator delete(void *)                               ; +0x91, 0x1004a5071", "xrefs": ["GManager::loadFromCompressedString @ 0x1004a50d5"], "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"}