{"type": "func", "start": 10429068, "end": 10429180, "name": "DES_set_odd_parity", "pseudocode": "// \n// DES_set_odd_parity from 0x9f228c to 0x9f22fc (112 bytes)\n// \n// 12 xrefs:\n// > sub_84CD30 @ 0x84cdaa\n// > sub_84CD30 @ 0x84ce2e\n// > sub_84CD30 @ 0x84ceb2\n// > sub_84CED4 @ 0x84cf7e\n// > sub_84CED4 @ 0x84d008\n// > sub_A145D0 @ 0xa145f8\n// > sub_A1548C @ 0xa154bc\n// > sub_A1548C @ 0xa154ec\n// > sub_A1548C @ 0xa15504\n// > sub_ACDBE8 @ 0xacdca4\n// > sub_ACDBE8 @ 0xacdcc8\n// > <???> @ 0x6798c\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\nunsigned __int8 *__fastcall DES_set_odd_parity(unsigned __int8 *result)\n{\n  unsigned __int8 v1; // r5\n  unsigned __int8 v2; // r4\n  unsigned __int8 v3; // lr\n  unsigned __int8 v4; // r12\n  unsigned __int8 v5; // r1\n  unsigned __int8 v6; // r2\n  unsigned __int8 v7; // r3\n\n  v1 = byte_C52EDC[result[1]];\n  v2 = byte_C52EDC[result[2]];\n  v3 = byte_C52EDC[result[3]];\n  v4 = byte_C52EDC[result[4]];\n  v5 = byte_C52EDC[result[5]];\n  v6 = byte_C52EDC[result[6]];\n  v7 = byte_C52EDC[result[7]];\n  *result = byte_C52EDC[*result];\n  result[1] = v1;\n  result[2] = v2;\n  result[3] = v3;\n  result[4] = v4;\n  result[5] = v5;\n  result[6] = v6;\n  result[7] = v7;\n  return result;\n}", "assembly": "; \n; DES_set_odd_parity from 0x9f228c to 0x9f22fc (112 bytes)\n; \n; 12 xrefs:\n; > sub_84CD30 @ 0x84cdaa\n; > sub_84CD30 @ 0x84ce2e\n; > sub_84CD30 @ 0x84ceb2\n; > sub_84CED4 @ 0x84cf7e\n; > sub_84CED4 @ 0x84d008\n; > sub_A145D0 @ 0xa145f8\n; > sub_A1548C @ 0xa154bc\n; > sub_A1548C @ 0xa154ec\n; > sub_A1548C @ 0xa15504\n; > sub_ACDBE8 @ 0xacdca4\n; > sub_ACDBE8 @ 0xacdcc8\n; > <???> @ 0x6798c\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 - 0x9F22BC)                          ; +0x0, 0x9f228c\nPUSH            {R4-R7,LR}                                             ; +0x4, 0x9f2290\nLDRB            R12, [R0,#4]                                           ; +0x8, 0x9f2294\nLDRB            R6, [R0]                                               ; +0xc, 0x9f2298\nLDRB            R5, [R0,#1]                                            ; +0x10, 0x9f229c\nLDRB            R4, [R0,#2]                                            ; +0x14, 0x9f22a0\nLDRB            LR, [R0,#3]                                            ; +0x18, 0x9f22a4\nLDRB            R1, [R0,#5]                                            ; +0x1c, 0x9f22a8\nLDRB            R2, [R0,#6]                                            ; +0x20, 0x9f22ac\nLDRB            R7, [R0,#7]                                            ; +0x24, 0x9f22b0\nADD             R3, PC, R3; byte_C52EDC                                ; +0x28, 0x9f22b4\nLDRB            R6, [R3,R6]                                            ; +0x2c, 0x9f22b8\nLDRB            R5, [R3,R5]                                            ; +0x30, 0x9f22bc\nLDRB            R4, [R3,R4]                                            ; +0x34, 0x9f22c0\nLDRB            LR, [R3,LR]                                            ; +0x38, 0x9f22c4\nLDRB            R12, [R3,R12]                                          ; +0x3c, 0x9f22c8\nLDRB            R1, [R3,R1]                                            ; +0x40, 0x9f22cc\nLDRB            R2, [R3,R2]                                            ; +0x44, 0x9f22d0\nLDRB            R3, [R3,R7]                                            ; +0x48, 0x9f22d4\nSTRB            R6, [R0]                                               ; +0x4c, 0x9f22d8\nSTRB            R5, [R0,#1]                                            ; +0x50, 0x9f22dc\nSTRB            R4, [R0,#2]                                            ; +0x54, 0x9f22e0\nSTRB            LR, [R0,#3]                                            ; +0x58, 0x9f22e4\nSTRB            R12, [R0,#4]                                           ; +0x5c, 0x9f22e8\nSTRB            R1, [R0,#5]                                            ; +0x60, 0x9f22ec\nSTRB            R2, [R0,#6]                                            ; +0x64, 0x9f22f0\nSTRB            R3, [R0,#7]                                            ; +0x68, 0x9f22f4\nPOP             {R4-R7,PC}                                             ; +0x6c, 0x9f22f8", "xrefs": ["sub_84CD30 @ 0x84cdaa", "sub_84CD30 @ 0x84ce2e", "sub_84CD30 @ 0x84ceb2", "sub_84CED4 @ 0x84cf7e", "sub_84CED4 @ 0x84d008", "sub_A145D0 @ 0xa145f8", "sub_A1548C @ 0xa154bc", "sub_A1548C @ 0xa154ec", "sub_A1548C @ 0xa15504", "sub_ACDBE8 @ 0xacdca4", "sub_ACDBE8 @ 0xacdcc8", "<???> @ 0x6798c"], "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"}