{"type": "func", "start": 8413180, "end": 8413336, "name": "EVP_PKEY_verify", "pseudocode": "// \n// EVP_PKEY_verify from 0x805ffc to 0x806098 (156 bytes)\n// \n// 4 xrefs:\n// > EVP_DigestVerifyFinal @ 0x804b30\n// > EVP_VerifyFinal @ 0x805d5c\n// > CMS_SignerInfo_verify_content @ 0x877ac8\n// > <???> @ 0x639dc\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_verify(_DWORD *a1)\n{\n  int (*v1)(void); // r12\n\n  if ( a1 && *a1 && (v1 = *(int (**)(void))(*a1 + 48)) != nullptr )\n  {\n    if ( a1[4] == 16 )\n    {\n      return v1();\n    }\n    else\n    {\n      ERR_put_error(6, 142, 151, (int)\"crypto/evp/pmeth_fn.c\", 94);\n      return -1;\n    }\n  }\n  else\n  {\n    ERR_put_error(6, 142, 150, (int)\"crypto/evp/pmeth_fn.c\", 90);\n    return -2;\n  }\n}", "assembly": "; \n; EVP_PKEY_verify from 0x805ffc to 0x806098 (156 bytes)\n; \n; 4 xrefs:\n; > EVP_DigestVerifyFinal @ 0x804b30\n; > EVP_VerifyFinal @ 0x805d5c\n; > CMS_SignerInfo_verify_content @ 0x877ac8\n; > <???> @ 0x639dc\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,LR}                                                ; +0x0, 0x805ffc\nSUBS            LR, R0, #0                                             ; +0x4, 0x806000\nSUB             SP, SP, #8                                             ; +0x8, 0x806004\nLDR             R4, [SP,#8+arg_0]                                      ; +0xc, 0x806008\nBEQ             loc_806070                                             ; +0x10, 0x80600c\nLDR             R12, [LR]                                              ; +0x14, 0x806010\nCMP             R12, #0                                                ; +0x18, 0x806014\nBEQ             loc_806070                                             ; +0x1c, 0x806018\nLDR             R12, [R12,#0x30]                                       ; +0x20, 0x80601c\nCMP             R12, #0                                                ; +0x24, 0x806020\nBEQ             loc_806070                                             ; +0x28, 0x806024\nLDR             LR, [LR,#0x10]                                         ; +0x2c, 0x806028\nCMP             LR, #0x10                                              ; +0x30, 0x80602c\nBNE             loc_806044                                             ; +0x34, 0x806030\nSTR             R4, [SP,#8+arg_0]                                      ; +0x38, 0x806034\nADD             SP, SP, #8                                             ; +0x3c, 0x806038\nPOP             {R4,LR}                                                ; +0x40, 0x80603c\nBX              R12                                                    ; +0x44, 0x806040\nMOV             R3, #0x5E ; '^'                                        ; +0x48, 0x806044\nSTR             R3, [SP,#8+var_8]                                      ; +0x4c, 0x806048\nLDR             R3, =(aCryptoEvpPmeth - 0x806064); \"crypto/evp/pmeth_fn.c\" ; +0x50, 0x80604c\nMOV             R0, #6                                                 ; +0x54, 0x806050\nMOV             R1, #0x8E                                              ; +0x58, 0x806054\nMOV             R2, #0x97                                              ; +0x5c, 0x806058\nADD             R3, PC, R3; \"crypto/evp/pmeth_fn.c\"                    ; +0x60, 0x80605c\nBL              ERR_put_error                                          ; +0x64, 0x806060\nMOV             R0, #0xFFFFFFFF                                        ; +0x68, 0x806064\nADD             SP, SP, #8                                             ; +0x6c, 0x806068\nPOP             {R4,PC}                                                ; +0x70, 0x80606c\nMOV             R3, #0x5A ; 'Z'                                        ; +0x74, 0x806070\nSTR             R3, [SP,#8+var_8]                                      ; +0x78, 0x806074\nLDR             R3, =(aCryptoEvpPmeth - 0x806090); \"crypto/evp/pmeth_fn.c\" ; +0x7c, 0x806078\nMOV             R0, #6                                                 ; +0x80, 0x80607c\nMOV             R1, #0x8E                                              ; +0x84, 0x806080\nMOV             R2, #0x96                                              ; +0x88, 0x806084\nADD             R3, PC, R3; \"crypto/evp/pmeth_fn.c\"                    ; +0x8c, 0x806088\nBL              ERR_put_error                                          ; +0x90, 0x80608c\nMOV             R0, #0xFFFFFFFE                                        ; +0x94, 0x806090\nB               loc_806068                                             ; +0x98, 0x806094", "xrefs": ["EVP_DigestVerifyFinal @ 0x804b30", "EVP_VerifyFinal @ 0x805d5c", "CMS_SignerInfo_verify_content @ 0x877ac8", "<???> @ 0x639dc"], "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"}