{"type": "func", "start": 10430424, "end": 10430468, "name": "DES_set_key", "pseudocode": "// \n// DES_set_key from 0x9f27d8 to 0x9f2804 (44 bytes)\n// \n// 7 xrefs:\n// > sub_84CD30 @ 0x84cdb2\n// > sub_84CD30 @ 0x84ce36\n// > sub_84CD30 @ 0x84ceba\n// > sub_84CED4 @ 0x84cf86\n// > sub_84CED4 @ 0x84d010\n// > DES_key_sched @ 0x9f2808\n// > <???> @ 0x6799c\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\nint __fastcall DES_set_key(unsigned __int8 *a1, int a2)\n{\n  if ( shadow_DES_check_key )\n    return DES_set_key_checked(a1, a2);\n  DES_set_key_unchecked(a1, a2);\n  return 0;\n}", "assembly": "; \n; DES_set_key from 0x9f27d8 to 0x9f2804 (44 bytes)\n; \n; 7 xrefs:\n; > sub_84CD30 @ 0x84cdb2\n; > sub_84CD30 @ 0x84ce36\n; > sub_84CD30 @ 0x84ceba\n; > sub_84CED4 @ 0x84cf86\n; > sub_84CED4 @ 0x84d010\n; > DES_key_sched @ 0x9f2808\n; > <???> @ 0x6799c\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, =(_shadow_DES_check_key_ptr - 0x9F27E8)            ; +0x0, 0x9f27d8\nPUSH            {R4,LR}                                                ; +0x4, 0x9f27dc\nLDR             R3, [PC,R3]; _shadow_DES_check_key                     ; +0x8, 0x9f27e0\nLDR             R4, [R3]                                               ; +0xc, 0x9f27e4\nCMP             R4, #0                                                 ; +0x10, 0x9f27e8\nBNE             loc_9F27FC                                             ; +0x14, 0x9f27ec\nBL              DES_set_key_unchecked                                  ; +0x18, 0x9f27f0\nMOV             R0, R4                                                 ; +0x1c, 0x9f27f4\nPOP             {R4,PC}                                                ; +0x20, 0x9f27f8\nPOP             {R4,LR}                                                ; +0x24, 0x9f27fc\nB               DES_set_key_checked                                    ; +0x28, 0x9f2800", "xrefs": ["sub_84CD30 @ 0x84cdb2", "sub_84CD30 @ 0x84ce36", "sub_84CD30 @ 0x84ceba", "sub_84CED4 @ 0x84cf86", "sub_84CED4 @ 0x84d010", "DES_key_sched @ 0x9f2808", "<???> @ 0x6799c"], "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"}