{"type": "func", "start": 8411424, "end": 8411544, "name": "EVP_PKEY_print_private", "pseudocode": "// \n// EVP_PKEY_print_private from 0x805920 to 0x805998 (120 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x63b9c\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\nint __fastcall EVP_PKEY_print_private(int a1, _DWORD *a2, int a3)\n{\n  int v3; // lr\n  int (*v4)(void); // lr\n  const char *v8; // r0\n\n  v3 = a2[3];\n  if ( v3 )\n  {\n    v4 = *(int (**)(void))(v3 + 44);\n    if ( v4 )\n      return v4();\n  }\n  BIO_indent(a1, a3, 128);\n  v8 = (const char *)OBJ_nid2ln(*a2);\n  BIO_printf(a1, \"%s algorithm \\\"%s\\\" unsupported\\n\", \"Private Key\", v8);\n  return 1;\n}", "assembly": "; \n; EVP_PKEY_print_private from 0x805920 to 0x805998 (120 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x63b9c\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x805920\nLDR             LR, [R1,#0xC]                                          ; +0x4, 0x805924\nMOV             R12, R1                                                ; +0x8, 0x805928\nCMP             LR, #0                                                 ; +0xc, 0x80592c\nMOV             R4, R0                                                 ; +0x10, 0x805930\nMOV             R5, R2                                                 ; +0x14, 0x805934\nBEQ             loc_805954                                             ; +0x18, 0x805938\nLDR             LR, [LR,#0x2C]                                         ; +0x1c, 0x80593c\nCMP             LR, #0                                                 ; +0x20, 0x805940\nBEQ             loc_805954                                             ; +0x24, 0x805944\nMOV             R12, LR                                                ; +0x28, 0x805948\nPOP             {R4-R6,LR}                                             ; +0x2c, 0x80594c\nBX              R12                                                    ; +0x30, 0x805950\nMOV             R1, R5                                                 ; +0x34, 0x805954\nMOV             R5, R4                                                 ; +0x38, 0x805958\nMOV             R2, #0x80                                              ; +0x3c, 0x80595c\nMOV             R4, R12                                                ; +0x40, 0x805960\nMOV             R0, R5                                                 ; +0x44, 0x805964\nBL              BIO_indent                                             ; +0x48, 0x805968\nLDR             R0, [R4]                                               ; +0x4c, 0x80596c\nBL              OBJ_nid2ln                                             ; +0x50, 0x805970\nLDR             R1, =(aSAlgorithmSUns - 0x805984); \"%s algorithm \\\"%s\\\" unsupported\\n\" ; +0x54, 0x805974\nLDR             R2, =(aPrivateKey_1 - 0x805988); \"Private Key\"         ; +0x58, 0x805978\nADD             R1, PC, R1; \"%s algorithm \\\"%s\\\" unsupported\\n\"        ; +0x5c, 0x80597c\nADD             R2, PC, R2; \"Private Key\"                              ; +0x60, 0x805980\nMOV             R3, R0                                                 ; +0x64, 0x805984\nMOV             R0, R5                                                 ; +0x68, 0x805988\nBL              BIO_printf                                             ; +0x6c, 0x80598c\nMOV             R0, #1                                                 ; +0x70, 0x805990\nPOP             {R4-R6,PC}                                             ; +0x74, 0x805994", "xrefs": ["<???> @ 0x63b9c"], "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"}