{"type": "func", "start": 4298013128, "end": 4298013280, "name": "GManager::loadFromString", "pseudocode": "// \n// GManager::loadFromString from 0x1002e79c8 to 0x1002e7a60 (152 bytes)\n// \n// 1 xrefs:\n// > GManager::loadFromCompressedString @ 0x1002e7ac8\n// \n// This function is hookable on this platform (idp: arm, 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:02:51 +0000\n// \n\nvoid __fastcall GManager::loadFromString(__int64 a1, __int64 a2)\n{\n  _QWORD *v4; // x19\n  int RootSubDictFromString; // w0\n  void *v6; // x0\n  void *v7; // x0\n\n  v4 = operator new(0xF0u);\n  j_DS_Dictionary::DS_Dictionary((__int64)v4);\n  RootSubDictFromString = DS_Dictionary::loadRootSubDictFromString((__int64)v4, (__int64 *)a2);\n  if ( (*(char *)(a2 + 23) & 0x80000000) == 0 )\n  {\n    *(_BYTE *)a2 = 0;\n    *(_BYTE *)(a2 + 23) = 0;\n    if ( !RootSubDictFromString )\n      goto LABEL_4;\n    goto LABEL_3;\n  }\n  **(_BYTE **)a2 = 0;\n  *(_QWORD *)(a2 + 8) = 0;\n  if ( RootSubDictFromString )\nLABEL_3:\n    (*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 928LL))(a1, v4);\nLABEL_4:\n  v6 = (void *)v4[26];\n  if ( v6 )\n  {\n    v4[27] = v6;\n    operator delete(v6);\n  }\n  v7 = (void *)pugi::xml_document::dxml_document(v4);\n  operator delete(v7);\n}", "assembly": "; \n; GManager::loadFromString from 0x1002e79c8 to 0x1002e7a60 (152 bytes)\n; \n; 1 xrefs:\n; > GManager::loadFromCompressedString @ 0x1002e7ac8\n; \n; This function is hookable on this platform (idp: arm, 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:02:51 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1002e79c8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002e79cc\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002e79d0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002e79d4\nMOV             X21, X1                                                ; +0x10, 0x1002e79d8\nMOV             X20, X0                                                ; +0x14, 0x1002e79dc\nMOV             W0, #0xF0; __sz                                        ; +0x18, 0x1002e79e0\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x1002e79e4\nMOV             X19, X0                                                ; +0x20, 0x1002e79e8\nBL              j_DS_Dictionary__DS_Dictionary                         ; +0x24, 0x1002e79ec\nMOV             X0, X19                                                ; +0x28, 0x1002e79f0\nMOV             X1, X21                                                ; +0x2c, 0x1002e79f4\nBL              DS_Dictionary__loadRootSubDictFromString               ; +0x30, 0x1002e79f8\nLDRSB           W8, [X21,#0x17]                                        ; +0x34, 0x1002e79fc\nTBNZ            W8, #0x1F, loc_1002E7A4C                               ; +0x38, 0x1002e7a00\nSTRB            WZR, [X21]                                             ; +0x3c, 0x1002e7a04\nSTRB            WZR, [X21,#0x17]                                       ; +0x40, 0x1002e7a08\nCBZ             W0, loc_1002E7A24                                      ; +0x44, 0x1002e7a0c\nLDR             X8, [X20]                                              ; +0x48, 0x1002e7a10\nLDR             X8, [X8,#0x3A0]                                        ; +0x4c, 0x1002e7a14\nMOV             X0, X20                                                ; +0x50, 0x1002e7a18\nMOV             X1, X19                                                ; +0x54, 0x1002e7a1c\nBLR             X8                                                     ; +0x58, 0x1002e7a20\nLDR             X0, [X19,#0xD0]; __p                                   ; +0x5c, 0x1002e7a24\nCBZ             X0, loc_1002E7A34                                      ; +0x60, 0x1002e7a28\nSTR             X0, [X19,#0xD8]                                        ; +0x64, 0x1002e7a2c\nBL              __ZdlPv; operator delete(void *)                       ; +0x68, 0x1002e7a30\nMOV             X0, X19                                                ; +0x6c, 0x1002e7a34\nBL              pugi__xml_document__dxml_document                      ; +0x70, 0x1002e7a38\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x74, 0x1002e7a3c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x78, 0x1002e7a40\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x7c, 0x1002e7a44\nB               __ZdlPv; operator delete(void *)                       ; +0x80, 0x1002e7a48\nLDR             X8, [X21]                                              ; +0x84, 0x1002e7a4c\nSTRB            WZR, [X8]                                              ; +0x88, 0x1002e7a50\nSTR             XZR, [X21,#8]                                          ; +0x8c, 0x1002e7a54\nCBNZ            W0, loc_1002E7A10                                      ; +0x90, 0x1002e7a58\nB               loc_1002E7A24                                          ; +0x94, 0x1002e7a5c", "xrefs": ["GManager::loadFromCompressedString @ 0x1002e7ac8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}