{"type": "func", "start": 8247040, "end": 8247192, "name": "DES_check_key_parity", "pseudocode": "// \n// DES_check_key_parity from 0x7dd700 to 0x7dd798 (152 bytes)\n// \n// 2 xrefs:\n// > DES_set_key_checked @ 0x7ddb98\n// > <???> @ 0x6082c\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\nbool __fastcall DES_check_key_parity(unsigned __int8 *a1)\n{\n  return (unsigned __int8)byte_A0E20C[*a1] == *a1\n      && (unsigned __int8)byte_A0E20C[a1[1]] == a1[1]\n      && (unsigned __int8)byte_A0E20C[a1[2]] == a1[2]\n      && (unsigned __int8)byte_A0E20C[a1[3]] == a1[3]\n      && (unsigned __int8)byte_A0E20C[a1[4]] == a1[4]\n      && (unsigned __int8)byte_A0E20C[a1[5]] == a1[5]\n      && (unsigned __int8)byte_A0E20C[a1[6]] == a1[6]\n      && (unsigned __int8)byte_A0E20C[a1[7]] == a1[7];\n}", "assembly": "; \n; DES_check_key_parity from 0x7dd700 to 0x7dd798 (152 bytes)\n; \n; 2 xrefs:\n; > DES_set_key_checked @ 0x7ddb98\n; > <???> @ 0x6082c\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\nLDR             R3, =(byte_A0E20C - 0x7DD710)                          ; +0x0, 0x7dd700\nLDRB            R2, [R0]                                               ; +0x4, 0x7dd704\nADD             R3, PC, R3; byte_A0E20C                                ; +0x8, 0x7dd708\nLDRB            R1, [R3,R2]                                            ; +0xc, 0x7dd70c\nCMP             R1, R2                                                 ; +0x10, 0x7dd710\nBNE             loc_7DD790                                             ; +0x14, 0x7dd714\nLDRB            R2, [R0,#1]                                            ; +0x18, 0x7dd718\nLDRB            R1, [R3,R2]                                            ; +0x1c, 0x7dd71c\nCMP             R1, R2                                                 ; +0x20, 0x7dd720\nBNE             loc_7DD790                                             ; +0x24, 0x7dd724\nLDRB            R2, [R0,#2]                                            ; +0x28, 0x7dd728\nLDRB            R1, [R3,R2]                                            ; +0x2c, 0x7dd72c\nCMP             R1, R2                                                 ; +0x30, 0x7dd730\nBNE             loc_7DD790                                             ; +0x34, 0x7dd734\nLDRB            R2, [R0,#3]                                            ; +0x38, 0x7dd738\nLDRB            R1, [R3,R2]                                            ; +0x3c, 0x7dd73c\nCMP             R1, R2                                                 ; +0x40, 0x7dd740\nBNE             loc_7DD790                                             ; +0x44, 0x7dd744\nLDRB            R2, [R0,#4]                                            ; +0x48, 0x7dd748\nLDRB            R1, [R3,R2]                                            ; +0x4c, 0x7dd74c\nCMP             R1, R2                                                 ; +0x50, 0x7dd750\nBNE             loc_7DD790                                             ; +0x54, 0x7dd754\nLDRB            R2, [R0,#5]                                            ; +0x58, 0x7dd758\nLDRB            R1, [R3,R2]                                            ; +0x5c, 0x7dd75c\nCMP             R1, R2                                                 ; +0x60, 0x7dd760\nBNE             loc_7DD790                                             ; +0x64, 0x7dd764\nLDRB            R2, [R0,#6]                                            ; +0x68, 0x7dd768\nLDRB            R1, [R3,R2]                                            ; +0x6c, 0x7dd76c\nCMP             R1, R2                                                 ; +0x70, 0x7dd770\nBNE             loc_7DD790                                             ; +0x74, 0x7dd774\nLDRB            R0, [R0,#7]                                            ; +0x78, 0x7dd778\nLDRB            R3, [R3,R0]                                            ; +0x7c, 0x7dd77c\nRSB             R0, R0, R3                                             ; +0x80, 0x7dd780\nCLZ             R0, R0                                                 ; +0x84, 0x7dd784\nMOV             R0, R0,LSR#5                                           ; +0x88, 0x7dd788\nBX              LR                                                     ; +0x8c, 0x7dd78c\nMOV             R0, #0                                                 ; +0x90, 0x7dd790\nBX              LR                                                     ; +0x94, 0x7dd794", "xrefs": ["DES_set_key_checked @ 0x7ddb98", "<???> @ 0x6082c"], "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"}