{"type": "func", "start": 16791972, "end": 16792032, "name": "DES_set_key", "pseudocode": "// \n// DES_set_key from 0x10039a4 to 0x10039e0 (60 bytes)\n// \n// 7 xrefs:\n// > sub_E23AF4 @ 0xe23bac\n// > sub_E23AF4 @ 0xe23c44\n// > sub_E23AF4 @ 0xe23cdc\n// > sub_E23D1C @ 0xe23e1c\n// > sub_E23D1C @ 0xe23eb4\n// > DES_key_sched @ 0x10039e0\n// > <???> @ 0x7b538\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:15:55 +0000\n// \n\n__int64 __fastcall DES_set_key(void *a1, _DWORD *a2)\n{\n  if ( shadow_DES_check_key )\n    return DES_set_key_checked(a1, a2);\n  DES_set_key_unchecked((unsigned __int64)a1, a2);\n  return 0;\n}", "assembly": "; \n; DES_set_key from 0x10039a4 to 0x10039e0 (60 bytes)\n; \n; 7 xrefs:\n; > sub_E23AF4 @ 0xe23bac\n; > sub_E23AF4 @ 0xe23c44\n; > sub_E23AF4 @ 0xe23cdc\n; > sub_E23D1C @ 0xe23e1c\n; > sub_E23D1C @ 0xe23eb4\n; > DES_key_sched @ 0x10039e0\n; > <???> @ 0x7b538\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:15:55 +0000\n; \nADRP            X2, #_shadow_DES_check_key_ptr@PAGE                    ; +0x0, 0x10039a4\nSTP             X29, X30, [SP,#var_20]!                                ; +0x4, 0x10039a8\nMOV             X29, SP                                                ; +0x8, 0x10039ac\nLDR             X2, [X2,#_shadow_DES_check_key_ptr@PAGEOFF]; _shadow_DES_check_key ; +0xc, 0x10039b0\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x10, 0x10039b4\nLDR             W19, [X2]                                              ; +0x14, 0x10039b8\nCBNZ            W19, loc_10039D4                                       ; +0x18, 0x10039bc\nBL              DES_set_key_unchecked                                  ; +0x1c, 0x10039c0\nMOV             W0, W19                                                ; +0x20, 0x10039c4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x24, 0x10039c8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x28, 0x10039cc\nRET                                                                    ; +0x2c, 0x10039d0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x30, 0x10039d4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x34, 0x10039d8\nB               DES_set_key_checked                                    ; +0x38, 0x10039dc", "xrefs": ["sub_E23AF4 @ 0xe23bac", "sub_E23AF4 @ 0xe23c44", "sub_E23AF4 @ 0xe23cdc", "sub_E23D1C @ 0xe23e1c", "sub_E23D1C @ 0xe23eb4", "DES_key_sched @ 0x10039e0", "<???> @ 0x7b538"], "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"}