{"type": "func", "start": 6276964, "end": 6277046, "name": "DS_Dictionary::checkCompatibility", "pseudocode": "// \n// DS_Dictionary::checkCompatibility from 0x5fc764 to 0x5fc7b6 (82 bytes)\n// \n// 3 xrefs:\n// > DS_Dictionary::loadRootSubDictFromFile @ 0x5fed3a\n// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x5fee70\n// > DS_Dictionary::loadRootSubDictFromString @ 0x5fef18\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; // [sp+4h] [bp-10h] BYREF\n  pugi::xml_attribute v3; // [sp+8h] [bp-Ch] 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 = pugi::xml_attribute::as_int(&v3, 0) <= 1;\n}", "assembly": "; \n; DS_Dictionary::checkCompatibility from 0x5fc764 to 0x5fc7b6 (82 bytes)\n; \n; 3 xrefs:\n; > DS_Dictionary::loadRootSubDictFromFile @ 0x5fed3a\n; > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x5fee70\n; > DS_Dictionary::loadRootSubDictFromString @ 0x5fef18\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            {R4,R5,LR}                                             ; +0x0, 0x5fc764\nSUB             SP, SP, #0x14                                          ; +0x2, 0x5fc766\nLDR             R4, =(__stack_chk_guard_ptr - 0x5FC772)                ; +0x4, 0x5fc768\nMOV             R5, R0                                                 ; +0x6, 0x5fc76a\nLDR             R1, =(aPlist_0 - 0x5FC776); \"plist\"                    ; +0x8, 0x5fc76c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x5fc76e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x5fc770\nADD             R1, PC; \"plist\"                                        ; +0xe, 0x5fc772\nLDR             R3, [R4]                                               ; +0x10, 0x5fc774\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x12, 0x5fc776\nBL              _ZNK4pugi8xml_node5childEPKc; pugi::xml_node::child(char const*) ; +0x14, 0x5fc778\nADD             R3, SP, #0x14+var_4                                    ; +0x18, 0x5fc77c\nLDR             R1, =(aGjver - 0x5FC784); \"gjver\"                      ; +0x1a, 0x5fc77e\nADD             R1, PC; \"gjver\"                                        ; +0x1c, 0x5fc780\nSTR.W           R0, [R3,#-0xC]!                                        ; +0x1e, 0x5fc782\nMOV             R0, R3; this                                           ; +0x22, 0x5fc786\nBL              _ZNK4pugi8xml_node9attributeEPKc; pugi::xml_node::attribute(char const*) ; +0x24, 0x5fc788\nADD             R3, SP, #0x14+var_4                                    ; +0x28, 0x5fc78c\nMOVS            R1, #0; int                                            ; +0x2a, 0x5fc78e\nSTR.W           R0, [R3,#-8]!                                          ; +0x2c, 0x5fc790\nMOV             R0, R3; this                                           ; +0x30, 0x5fc794\nBL              _ZNK4pugi13xml_attribute6as_intEi; pugi::xml_attribute::as_int(int) ; +0x32, 0x5fc796\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x36, 0x5fc79a\nLDR             R3, [R4]                                               ; +0x38, 0x5fc79c\nCMP             R0, #1                                                 ; +0x3a, 0x5fc79e\nITE GT                                                                 ; +0x3c, 0x5fc7a0\nMOVGT           R0, #0                                                 ; +0x3e, 0x5fc7a2\nMOVLE           R0, #1                                                 ; +0x40, 0x5fc7a4\nCMP             R2, R3                                                 ; +0x42, 0x5fc7a6\nSTRB.W          R0, [R5,#0xD4]                                         ; +0x44, 0x5fc7a8\nBEQ             loc_5FC7B2                                             ; +0x48, 0x5fc7ac\nBLX             __stack_chk_fail                                       ; +0x4a, 0x5fc7ae\nADD             SP, SP, #0x14                                          ; +0x4e, 0x5fc7b2\nPOP             {R4,R5,PC}                                             ; +0x50, 0x5fc7b4", "xrefs": ["DS_Dictionary::loadRootSubDictFromFile @ 0x5fed3a", "DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x5fee70", "DS_Dictionary::loadRootSubDictFromString @ 0x5fef18"], "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"}