{"type": "func", "start": 14376660, "end": 14376792, "name": "DS_Dictionary::checkCompatibility", "pseudocode": "// \n// DS_Dictionary::checkCompatibility from 0xdb5ed4 to 0xdb5f58 (132 bytes)\n// \n// 4 xrefs:\n// > DS_Dictionary::loadRootSubDictFromFile @ 0xdba834\n// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0xdbab18\n// > DS_Dictionary::loadRootSubDictFromString @ 0xdbacbc\n// > <???> @ 0xcaa38\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 13:08:41 +0000\n// \n\nbool __fastcall DS_Dictionary::checkCompatibility(DS_Dictionary *this)\n{\n  _BOOL8 result; // x0\n  __int64 v3; // [xsp+28h] [xbp+28h] BYREF\n  __int64 v4; // [xsp+30h] [xbp+30h] BYREF\n\n  v3 = pugi::xml_node::child(this, \"plist\");\n  v4 = pugi::xml_node::attribute((pugi::xml_node *)&v3, \"gjver\");\n  result = (int)pugi::xml_attribute::as_int((pugi::xml_attribute *)&v4, 0) <= 1;\n  *((_BYTE *)this + 232) = result;\n  return result;\n}", "assembly": "; \n; DS_Dictionary::checkCompatibility from 0xdb5ed4 to 0xdb5f58 (132 bytes)\n; \n; 4 xrefs:\n; > DS_Dictionary::loadRootSubDictFromFile @ 0xdba834\n; > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0xdbab18\n; > DS_Dictionary::loadRootSubDictFromString @ 0xdbacbc\n; > <???> @ 0xcaa38\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 13:08:41 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xdb5ed4\nADRP            X1, #(aLevelcomplete0+0x10)@PAGE; \"plist\"              ; +0x4, 0xdb5ed8\nMOV             X29, SP                                                ; +0x8, 0xdb5edc\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0xdb5ee0\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0xdb5ee4\nADD             X1, X1, #(aLevelcomplete0+0x10)@PAGEOFF; char *        ; +0x14, 0xdb5ee8\nMOV             X20, X0                                                ; +0x18, 0xdb5eec\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xdb5ef0\nLDR             X2, [X19]                                              ; +0x20, 0xdb5ef4\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x24, 0xdb5ef8\nBL              _ZNK4pugi8xml_node5childEPKc; pugi::xml_node::child(char const*) ; +0x28, 0xdb5efc\nADD             X2, X29, #0x40+arg_0                                   ; +0x2c, 0xdb5f00\nADRL            X1, aGjver; \"gjver\"                                    ; +0x30, 0xdb5f04\nSTR             X0, [X2,#-0x18]!                                       ; +0x38, 0xdb5f0c\nMOV             X0, X2; this                                           ; +0x3c, 0xdb5f10\nBL              _ZNK4pugi8xml_node9attributeEPKc; pugi::xml_node::attribute(char const*) ; +0x40, 0xdb5f14\nADD             X2, X29, #0x40+arg_0                                   ; +0x44, 0xdb5f18\nMOV             W1, #0; int                                            ; +0x48, 0xdb5f1c\nSTR             X0, [X2,#-0x10]!                                       ; +0x4c, 0xdb5f20\nMOV             X0, X2; this                                           ; +0x50, 0xdb5f24\nBL              _ZNK4pugi13xml_attribute6as_intEi; pugi::xml_attribute::as_int(int) ; +0x54, 0xdb5f28\nCMP             W0, #1                                                 ; +0x58, 0xdb5f2c\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x5c, 0xdb5f30\nCSET            W0, LE                                                 ; +0x60, 0xdb5f34\nLDR             X1, [X19]                                              ; +0x64, 0xdb5f38\nSTRB            W0, [X20,#0xE8]                                        ; +0x68, 0xdb5f3c\nCMP             X2, X1                                                 ; +0x6c, 0xdb5f40\nB.NE            loc_DB5F54                                             ; +0x70, 0xdb5f44\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x74, 0xdb5f48\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x78, 0xdb5f4c\nRET                                                                    ; +0x7c, 0xdb5f50\nBL              .__stack_chk_fail                                      ; +0x80, 0xdb5f54", "xrefs": ["DS_Dictionary::loadRootSubDictFromFile @ 0xdba834", "DS_Dictionary::loadRootSubDictFromCompressedFile @ 0xdbab18", "DS_Dictionary::loadRootSubDictFromString @ 0xdbacbc", "<???> @ 0xcaa38"], "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"}