{"type": "func", "start": 8411296, "end": 8411416, "name": "EVP_PKEY_print_public", "pseudocode": "// \n// EVP_PKEY_print_public from 0x8058a0 to 0x805918 (120 bytes)\n// \n// 2 xrefs:\n// > X509_print_ex @ 0x83dc34\n// > <???> @ 0x63b8c\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_public(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 + 32);\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\", \"Public Key\", v8);\n  return 1;\n}", "assembly": "; \n; EVP_PKEY_print_public from 0x8058a0 to 0x805918 (120 bytes)\n; \n; 2 xrefs:\n; > X509_print_ex @ 0x83dc34\n; > <???> @ 0x63b8c\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, 0x8058a0\nLDR             LR, [R1,#0xC]                                          ; +0x4, 0x8058a4\nMOV             R12, R1                                                ; +0x8, 0x8058a8\nCMP             LR, #0                                                 ; +0xc, 0x8058ac\nMOV             R4, R0                                                 ; +0x10, 0x8058b0\nMOV             R5, R2                                                 ; +0x14, 0x8058b4\nBEQ             loc_8058D4                                             ; +0x18, 0x8058b8\nLDR             LR, [LR,#0x20]                                         ; +0x1c, 0x8058bc\nCMP             LR, #0                                                 ; +0x20, 0x8058c0\nBEQ             loc_8058D4                                             ; +0x24, 0x8058c4\nMOV             R12, LR                                                ; +0x28, 0x8058c8\nPOP             {R4-R6,LR}                                             ; +0x2c, 0x8058cc\nBX              R12                                                    ; +0x30, 0x8058d0\nMOV             R1, R5                                                 ; +0x34, 0x8058d4\nMOV             R5, R4                                                 ; +0x38, 0x8058d8\nMOV             R2, #0x80                                              ; +0x3c, 0x8058dc\nMOV             R4, R12                                                ; +0x40, 0x8058e0\nMOV             R0, R5                                                 ; +0x44, 0x8058e4\nBL              BIO_indent                                             ; +0x48, 0x8058e8\nLDR             R0, [R4]                                               ; +0x4c, 0x8058ec\nBL              OBJ_nid2ln                                             ; +0x50, 0x8058f0\nLDR             R1, =(aSAlgorithmSUns - 0x805904); \"%s algorithm \\\"%s\\\" unsupported\\n\" ; +0x54, 0x8058f4\nLDR             R2, =(aPublicKey_1 - 0x805908); \"Public Key\"           ; +0x58, 0x8058f8\nADD             R1, PC, R1; \"%s algorithm \\\"%s\\\" unsupported\\n\"        ; +0x5c, 0x8058fc\nADD             R2, PC, R2; \"Public Key\"                               ; +0x60, 0x805900\nMOV             R3, R0                                                 ; +0x64, 0x805904\nMOV             R0, R5                                                 ; +0x68, 0x805908\nBL              BIO_printf                                             ; +0x6c, 0x80590c\nMOV             R0, #1                                                 ; +0x70, 0x805910\nPOP             {R4-R6,PC}                                             ; +0x74, 0x805914", "xrefs": ["X509_print_ex @ 0x83dc34", "<???> @ 0x63b8c"], "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"}