{"type": "func", "start": 8410336, "end": 8410436, "name": "EVP_PKEY_get0_hmac", "pseudocode": "// \n// EVP_PKEY_get0_hmac from 0x8054e0 to 0x805544 (100 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x63aec\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_get0_hmac(_DWORD *a1, _DWORD *a2)\n{\n  int *v3; // r0\n  int v4; // r3\n  int result; // r0\n\n  if ( *a1 == 855 )\n  {\n    v3 = (int *)EVP_PKEY_get0((int)a1);\n    v4 = *v3;\n    result = v3[2];\n    *a2 = v4;\n  }\n  else\n  {\n    ERR_put_error(6, 183, 174, (int)\"crypto/evp/p_lib.c\", 244);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; EVP_PKEY_get0_hmac from 0x8054e0 to 0x805544 (100 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x63aec\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\nLDR             R3, =0x357                                             ; +0x0, 0x8054e0\nLDR             R2, [R0]                                               ; +0x4, 0x8054e4\nPUSH            {R4,LR}                                                ; +0x8, 0x8054e8\nCMP             R2, R3                                                 ; +0xc, 0x8054ec\nSUB             SP, SP, #8                                             ; +0x10, 0x8054f0\nBNE             loc_805518                                             ; +0x14, 0x8054f4\nMOV             R4, R1                                                 ; +0x18, 0x8054f8\nBL              EVP_PKEY_get0                                          ; +0x1c, 0x8054fc\nMOV             R3, R0                                                 ; +0x20, 0x805500\nLDR             R3, [R3]                                               ; +0x24, 0x805504\nLDR             R0, [R0,#8]                                            ; +0x28, 0x805508\nSTR             R3, [R4]                                               ; +0x2c, 0x80550c\nADD             SP, SP, #8                                             ; +0x30, 0x805510\nPOP             {R4,PC}                                                ; +0x34, 0x805514\nMOV             R3, #0xF4                                              ; +0x38, 0x805518\nSTR             R3, [SP,#8+var_8]                                      ; +0x3c, 0x80551c\nLDR             R3, =(aCryptoEvpPLibC - 0x805538); \"crypto/evp/p_lib.c\" ; +0x40, 0x805520\nMOV             R0, #6                                                 ; +0x44, 0x805524\nMOV             R1, #0xB7                                              ; +0x48, 0x805528\nMOV             R2, #0xAE                                              ; +0x4c, 0x80552c\nADD             R3, PC, R3; \"crypto/evp/p_lib.c\"                       ; +0x50, 0x805530\nBL              ERR_put_error                                          ; +0x54, 0x805534\nMOV             R0, #0                                                 ; +0x58, 0x805538\nADD             SP, SP, #8                                             ; +0x5c, 0x80553c\nPOP             {R4,PC}                                                ; +0x60, 0x805540", "xrefs": ["<???> @ 0x63aec"], "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"}