{"type": "func", "start": 4296973664, "end": 4296973892, "name": "DS_Dictionary::loadRootSubDictFromString", "pseudocode": "// \n// DS_Dictionary::loadRootSubDictFromString from 0x1001e9d60 to 0x1001e9e44 (228 bytes)\n// \n// 4 xrefs:\n// > sub_1000AF258 @ 0x1000af2ec\n// > sub_1000D47B4 @ 0x1000d47f4\n// > GManager::loadFromString @ 0x1002e79f8\n// > GManager::tryLoadData @ 0x1002e80a4\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:00:35 +0000\n// \n\n__int64 __fastcall DS_Dictionary::loadRootSubDictFromString(__int64 a1, __int64 *a2)\n{\n  __int64 v2; // x8\n  __int64 v5; // x21\n  int v6; // w9\n  __int64 *v7; // x1\n  __int64 v8; // x2\n  __int64 v9; // x20\n  __int64 v11; // [xsp+0h] [xbp-40h] BYREF\n  _QWORD v12[3]; // [xsp+8h] [xbp-38h] BYREF\n\n  v2 = *((unsigned __int8 *)a2 + 23);\n  if ( (v2 & 0x80u) != 0LL )\n    v2 = a2[1];\n  if ( !v2 )\n    return 0;\n  v5 = a1 + 208;\n  *(_QWORD *)(a1 + 216) = *(_QWORD *)(a1 + 208);\n  pugi::xml_node::xml_node(v12);\n  sub_100011A50(v5, v12);\n  v6 = *((char *)a2 + 23);\n  if ( v6 >= 0 )\n    v7 = a2;\n  else\n    v7 = (__int64 *)*a2;\n  if ( v6 >= 0 )\n    v8 = *((unsigned __int8 *)a2 + 23);\n  else\n    v8 = a2[1];\n  sub_100453D54(v12, a1, v7, v8, 116, 0);\n  v9 = sub_100453BC8(v12);\n  if ( (_DWORD)v9 )\n  {\n    v11 = sub_10045242C(a1, \"plist\");\n    *(_QWORD *)(*(_QWORD *)(a1 + 216) - 8LL) = sub_10045242C((int)&v11, \"dict\");\n    DS_Dictionary::checkCompatibility(a1);\n  }\n  return v9;\n}", "assembly": "; \n; DS_Dictionary::loadRootSubDictFromString from 0x1001e9d60 to 0x1001e9e44 (228 bytes)\n; \n; 4 xrefs:\n; > sub_1000AF258 @ 0x1000af2ec\n; > sub_1000D47B4 @ 0x1000d47f4\n; > GManager::loadFromString @ 0x1002e79f8\n; > GManager::tryLoadData @ 0x1002e80a4\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:00:35 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x1001e9d60\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x1001e9d64\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x1001e9d68\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x1001e9d6c\nADD             X29, SP, #0x40                                         ; +0x10, 0x1001e9d70\nLDRB            W8, [X1,#0x17]                                         ; +0x14, 0x1001e9d74\nSXTB            W9, W8                                                 ; +0x18, 0x1001e9d78\nLDR             X10, [X1,#8]                                           ; +0x1c, 0x1001e9d7c\nCMP             W9, #0                                                 ; +0x20, 0x1001e9d80\nCSEL            X8, X10, X8, LT                                        ; +0x24, 0x1001e9d84\nCBZ             X8, loc_1001E9E28                                      ; +0x28, 0x1001e9d88\nMOV             X20, X1                                                ; +0x2c, 0x1001e9d8c\nMOV             X19, X0                                                ; +0x30, 0x1001e9d90\nMOV             X21, X0                                                ; +0x34, 0x1001e9d94\nLDR             X8, [X21,#0xD0]!                                       ; +0x38, 0x1001e9d98\nSTR             X8, [X0,#0xD8]                                         ; +0x3c, 0x1001e9d9c\nADD             X0, SP, #0x40+var_38                                   ; +0x40, 0x1001e9da0\nBL              pugi__xml_node__xml_node                               ; +0x44, 0x1001e9da4\nADD             X1, SP, #0x40+var_38                                   ; +0x48, 0x1001e9da8\nMOV             X0, X21                                                ; +0x4c, 0x1001e9dac\nBL              sub_100011A50                                          ; +0x50, 0x1001e9db0\nLDRB            W8, [X20,#0x17]                                        ; +0x54, 0x1001e9db4\nSXTB            W9, W8                                                 ; +0x58, 0x1001e9db8\nLDP             X10, X11, [X20]                                        ; +0x5c, 0x1001e9dbc\nCMP             W9, #0                                                 ; +0x60, 0x1001e9dc0\nCSEL            X1, X10, X20, LT                                       ; +0x64, 0x1001e9dc4\nCSEL            X2, X11, X8, LT                                        ; +0x68, 0x1001e9dc8\nADD             X8, SP, #0x40+var_38                                   ; +0x6c, 0x1001e9dcc\nMOV             X0, X19                                                ; +0x70, 0x1001e9dd0\nMOV             W3, #0x74 ; 't'                                        ; +0x74, 0x1001e9dd4\nMOV             W4, #0                                                 ; +0x78, 0x1001e9dd8\nBL              sub_100453D54                                          ; +0x7c, 0x1001e9ddc\nADD             X0, SP, #0x40+var_38                                   ; +0x80, 0x1001e9de0\nBL              sub_100453BC8                                          ; +0x84, 0x1001e9de4\nMOV             X20, X0                                                ; +0x88, 0x1001e9de8\nCBZ             W0, loc_1001E9E2C                                      ; +0x8c, 0x1001e9dec\nADRL            X1, aPlist_0; \"plist\"                                  ; +0x90, 0x1001e9df0\nMOV             X0, X19; int                                           ; +0x98, 0x1001e9df8\nBL              sub_10045242C                                          ; +0x9c, 0x1001e9dfc\nSTR             X0, [SP,#0x40+var_40]                                  ; +0xa0, 0x1001e9e00\nADRL            X1, aDict; \"dict\"                                      ; +0xa4, 0x1001e9e04\nMOV             X0, SP; int                                            ; +0xac, 0x1001e9e0c\nBL              sub_10045242C                                          ; +0xb0, 0x1001e9e10\nLDR             X8, [X19,#0xD8]                                        ; +0xb4, 0x1001e9e14\nSTUR            X0, [X8,#-8]                                           ; +0xb8, 0x1001e9e18\nMOV             X0, X19                                                ; +0xbc, 0x1001e9e1c\nBL              DS_Dictionary__checkCompatibility                      ; +0xc0, 0x1001e9e20\nB               loc_1001E9E2C                                          ; +0xc4, 0x1001e9e24\nMOV             W20, #0                                                ; +0xc8, 0x1001e9e28\nMOV             X0, X20                                                ; +0xcc, 0x1001e9e2c\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xd0, 0x1001e9e30\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xd4, 0x1001e9e34\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xd8, 0x1001e9e38\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xdc, 0x1001e9e3c\nRET                                                                    ; +0xe0, 0x1001e9e40", "xrefs": ["sub_1000AF258 @ 0x1000af2ec", "sub_1000D47B4 @ 0x1000d47f4", "GManager::loadFromString @ 0x1002e79f8", "GManager::tryLoadData @ 0x1002e80a4"], "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"}