{"type": "func", "start": 8432692, "end": 8432774, "name": "DS_Dictionary::checkCompatibility", "pseudocode": "// \n// DS_Dictionary::checkCompatibility from 0x80ac34 to 0x80ac86 (82 bytes)\n// \n// 3 xrefs:\n// > DS_Dictionary::loadRootSubDictFromFile @ 0x80cd62\n// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x80cee2\n// > DS_Dictionary::loadRootSubDictFromString @ 0x80cfc4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:01:29 +0000\n// \n\nbool __fastcall DS_Dictionary::checkCompatibility(DS_Dictionary *this)\n{\n  _BOOL4 result; // r0\n  int v3; // [sp+4h] [bp-10h] BYREF\n  int v4; // [sp+8h] [bp-Ch] BYREF\n\n  v3 = pugi::xml_node::child(this, \"plist\");\n  v4 = pugi::xml_node::attribute((pugi::xml_node *)&v3, \"gjver\");\n  result = pugi::xml_attribute::as_int((pugi::xml_attribute *)&v4, 0) <= 1;\n  *((_BYTE *)this + 212) = result;\n  return result;\n}", "assembly": "; \n; DS_Dictionary::checkCompatibility from 0x80ac34 to 0x80ac86 (82 bytes)\n; \n; 3 xrefs:\n; > DS_Dictionary::loadRootSubDictFromFile @ 0x80cd62\n; > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x80cee2\n; > DS_Dictionary::loadRootSubDictFromString @ 0x80cfc4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:01:29 +0000\n; \nPUSH            {R4,R5,LR}                                             ; +0x0, 0x80ac34\nSUB             SP, SP, #0x14                                          ; +0x2, 0x80ac36\nLDR             R4, =(__stack_chk_guard_ptr - 0x80AC42)                ; +0x4, 0x80ac38\nMOV             R5, R0                                                 ; +0x6, 0x80ac3a\nLDR             R1, =(aPlist_0 - 0x80AC46); \"plist\"                    ; +0x8, 0x80ac3c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x80ac3e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x80ac40\nADD             R1, PC; \"plist\"                                        ; +0xe, 0x80ac42\nLDR             R3, [R4]                                               ; +0x10, 0x80ac44\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x12, 0x80ac46\nBL              _ZNK4pugi8xml_node5childEPKc; pugi::xml_node::child(char const*) ; +0x14, 0x80ac48\nADD             R3, SP, #0x14+var_4                                    ; +0x18, 0x80ac4c\nLDR             R1, =(aGjver - 0x80AC54); \"gjver\"                      ; +0x1a, 0x80ac4e\nADD             R1, PC; \"gjver\"                                        ; +0x1c, 0x80ac50\nSTR.W           R0, [R3,#-0xC]!                                        ; +0x1e, 0x80ac52\nMOV             R0, R3; this                                           ; +0x22, 0x80ac56\nBL              _ZNK4pugi8xml_node9attributeEPKc; pugi::xml_node::attribute(char const*) ; +0x24, 0x80ac58\nADD             R3, SP, #0x14+var_4                                    ; +0x28, 0x80ac5c\nMOVS            R1, #0; int                                            ; +0x2a, 0x80ac5e\nSTR.W           R0, [R3,#-8]!                                          ; +0x2c, 0x80ac60\nMOV             R0, R3; this                                           ; +0x30, 0x80ac64\nBL              _ZNK4pugi13xml_attribute6as_intEi; pugi::xml_attribute::as_int(int) ; +0x32, 0x80ac66\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x36, 0x80ac6a\nLDR             R3, [R4]                                               ; +0x38, 0x80ac6c\nCMP             R0, #1                                                 ; +0x3a, 0x80ac6e\nITE GT                                                                 ; +0x3c, 0x80ac70\nMOVGT           R0, #0                                                 ; +0x3e, 0x80ac72\nMOVLE           R0, #1                                                 ; +0x40, 0x80ac74\nCMP             R2, R3                                                 ; +0x42, 0x80ac76\nSTRB.W          R0, [R5,#0xD4]                                         ; +0x44, 0x80ac78\nBEQ             loc_80AC82                                             ; +0x48, 0x80ac7c\nBLX             __stack_chk_fail                                       ; +0x4a, 0x80ac7e\nADD             SP, SP, #0x14                                          ; +0x4e, 0x80ac82\nPOP             {R4,R5,PC}                                             ; +0x50, 0x80ac84", "xrefs": ["DS_Dictionary::loadRootSubDictFromFile @ 0x80cd62", "DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x80cee2", "DS_Dictionary::loadRootSubDictFromString @ 0x80cfc4"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}