{"type": "func", "start": 10429184, "end": 10429336, "name": "DES_check_key_parity", "pseudocode": "// \n// DES_check_key_parity from 0x9f2300 to 0x9f2398 (152 bytes)\n// \n// 2 xrefs:\n// > DES_set_key_checked @ 0x9f2798\n// > <???> @ 0x7a2ac\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:07:30 +0000\n// \n\nbool __fastcall DES_check_key_parity(unsigned __int8 *a1)\n{\n  return (unsigned __int8)byte_C52EDC[*a1] == *a1\n      && (unsigned __int8)byte_C52EDC[a1[1]] == a1[1]\n      && (unsigned __int8)byte_C52EDC[a1[2]] == a1[2]\n      && (unsigned __int8)byte_C52EDC[a1[3]] == a1[3]\n      && (unsigned __int8)byte_C52EDC[a1[4]] == a1[4]\n      && (unsigned __int8)byte_C52EDC[a1[5]] == a1[5]\n      && (unsigned __int8)byte_C52EDC[a1[6]] == a1[6]\n      && (unsigned __int8)byte_C52EDC[a1[7]] == a1[7];\n}", "assembly": "; \n; DES_check_key_parity from 0x9f2300 to 0x9f2398 (152 bytes)\n; \n; 2 xrefs:\n; > DES_set_key_checked @ 0x9f2798\n; > <???> @ 0x7a2ac\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:07:30 +0000\n; \nLDR             R3, =(byte_C52EDC - 0x9F2310)                          ; +0x0, 0x9f2300\nLDRB            R2, [R0]                                               ; +0x4, 0x9f2304\nADD             R3, PC, R3; byte_C52EDC                                ; +0x8, 0x9f2308\nLDRB            R1, [R3,R2]                                            ; +0xc, 0x9f230c\nCMP             R1, R2                                                 ; +0x10, 0x9f2310\nBNE             loc_9F2390                                             ; +0x14, 0x9f2314\nLDRB            R2, [R0,#1]                                            ; +0x18, 0x9f2318\nLDRB            R1, [R3,R2]                                            ; +0x1c, 0x9f231c\nCMP             R1, R2                                                 ; +0x20, 0x9f2320\nBNE             loc_9F2390                                             ; +0x24, 0x9f2324\nLDRB            R2, [R0,#2]                                            ; +0x28, 0x9f2328\nLDRB            R1, [R3,R2]                                            ; +0x2c, 0x9f232c\nCMP             R1, R2                                                 ; +0x30, 0x9f2330\nBNE             loc_9F2390                                             ; +0x34, 0x9f2334\nLDRB            R2, [R0,#3]                                            ; +0x38, 0x9f2338\nLDRB            R1, [R3,R2]                                            ; +0x3c, 0x9f233c\nCMP             R1, R2                                                 ; +0x40, 0x9f2340\nBNE             loc_9F2390                                             ; +0x44, 0x9f2344\nLDRB            R2, [R0,#4]                                            ; +0x48, 0x9f2348\nLDRB            R1, [R3,R2]                                            ; +0x4c, 0x9f234c\nCMP             R1, R2                                                 ; +0x50, 0x9f2350\nBNE             loc_9F2390                                             ; +0x54, 0x9f2354\nLDRB            R2, [R0,#5]                                            ; +0x58, 0x9f2358\nLDRB            R1, [R3,R2]                                            ; +0x5c, 0x9f235c\nCMP             R1, R2                                                 ; +0x60, 0x9f2360\nBNE             loc_9F2390                                             ; +0x64, 0x9f2364\nLDRB            R2, [R0,#6]                                            ; +0x68, 0x9f2368\nLDRB            R1, [R3,R2]                                            ; +0x6c, 0x9f236c\nCMP             R1, R2                                                 ; +0x70, 0x9f2370\nBNE             loc_9F2390                                             ; +0x74, 0x9f2374\nLDRB            R0, [R0,#7]                                            ; +0x78, 0x9f2378\nLDRB            R3, [R3,R0]                                            ; +0x7c, 0x9f237c\nRSB             R0, R0, R3                                             ; +0x80, 0x9f2380\nCLZ             R0, R0                                                 ; +0x84, 0x9f2384\nMOV             R0, R0,LSR#5                                           ; +0x88, 0x9f2388\nBX              LR                                                     ; +0x8c, 0x9f238c\nMOV             R0, #0                                                 ; +0x90, 0x9f2390\nBX              LR                                                     ; +0x94, 0x9f2394", "xrefs": ["DES_set_key_checked @ 0x9f2798", "<???> @ 0x7a2ac"], "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"}