{"type": "func", "start": 11803436, "end": 11803568, "name": "DS_Dictionary::checkCompatibility", "pseudocode": "// \n// DS_Dictionary::checkCompatibility from 0xb41b2c to 0xb41bb0 (132 bytes)\n// \n// 4 xrefs:\n// > DS_Dictionary::loadRootSubDictFromFile @ 0xb47bf8\n// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0xb47f44\n// > DS_Dictionary::loadRootSubDictFromString @ 0xb481b0\n// > <???> @ 0x998d0\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 DS_Dictionary::checkCompatibility(DS_Dictionary *a1)\n{\n  pugi::xml_node v2; // [xsp+28h] [xbp+28h] BYREF\n  pugi::xml_attribute v3; // [xsp+30h] [xbp+30h] BYREF\n\n  v2._root = (pugi::xml_node_struct *)pugi::xml_node::child(&a1->doc, \"plist\");\n  v3._attr = (pugi::xml_attribute_struct *)pugi::xml_node::attribute(&v2, \"gjver\");\n  a1->compatible = (int)pugi::xml_attribute::as_int(&v3, 0) <= 1;\n}", "assembly": "; \n; DS_Dictionary::checkCompatibility from 0xb41b2c to 0xb41bb0 (132 bytes)\n; \n; 4 xrefs:\n; > DS_Dictionary::loadRootSubDictFromFile @ 0xb47bf8\n; > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0xb47f44\n; > DS_Dictionary::loadRootSubDictFromString @ 0xb481b0\n; > <???> @ 0x998d0\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\nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xb41b2c\nADRP            X1, #(aLevelcomplete0+0x10)@PAGE; \"plist\"              ; +0x4, 0xb41b30\nMOV             X29, SP                                                ; +0x8, 0xb41b34\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0xb41b38\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0xb41b3c\nADD             X1, X1, #(aLevelcomplete0+0x10)@PAGEOFF; char *        ; +0x14, 0xb41b40\nMOV             X20, X0                                                ; +0x18, 0xb41b44\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xb41b48\nLDR             X2, [X19]                                              ; +0x20, 0xb41b4c\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x24, 0xb41b50\nBL              _ZNK4pugi8xml_node5childEPKc; pugi::xml_node::child(char const*) ; +0x28, 0xb41b54\nADD             X2, X29, #0x40+arg_0                                   ; +0x2c, 0xb41b58\nADRL            X1, aGjver; \"gjver\"                                    ; +0x30, 0xb41b5c\nSTR             X0, [X2,#-0x18]!                                       ; +0x38, 0xb41b64\nMOV             X0, X2; this                                           ; +0x3c, 0xb41b68\nBL              _ZNK4pugi8xml_node9attributeEPKc; pugi::xml_node::attribute(char const*) ; +0x40, 0xb41b6c\nADD             X2, X29, #0x40+arg_0                                   ; +0x44, 0xb41b70\nMOV             W1, #0; int                                            ; +0x48, 0xb41b74\nSTR             X0, [X2,#-0x10]!                                       ; +0x4c, 0xb41b78\nMOV             X0, X2; this                                           ; +0x50, 0xb41b7c\nBL              _ZNK4pugi13xml_attribute6as_intEi; pugi::xml_attribute::as_int(int) ; +0x54, 0xb41b80\nCMP             W0, #1                                                 ; +0x58, 0xb41b84\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x5c, 0xb41b88\nCSET            W0, LE                                                 ; +0x60, 0xb41b8c\nLDR             X1, [X19]                                              ; +0x64, 0xb41b90\nSTRB            W0, [X20,#0xE8]                                        ; +0x68, 0xb41b94\nCMP             X2, X1                                                 ; +0x6c, 0xb41b98\nB.NE            loc_B41BAC                                             ; +0x70, 0xb41b9c\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x74, 0xb41ba0\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x78, 0xb41ba4\nRET                                                                    ; +0x7c, 0xb41ba8\nBL              .__stack_chk_fail                                      ; +0x80, 0xb41bac", "xrefs": ["DS_Dictionary::loadRootSubDictFromFile @ 0xb47bf8", "DS_Dictionary::loadRootSubDictFromCompressedFile @ 0xb47f44", "DS_Dictionary::loadRootSubDictFromString @ 0xb481b0", "<???> @ 0x998d0"], "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"}