{"type": "func", "start": 14337092, "end": 14337184, "name": "EVP_PKEY_get0_hmac", "pseudocode": "// \n// EVP_PKEY_get0_hmac from 0xdac444 to 0xdac4a0 (92 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x8a3d8\n// > <???> @ 0xe53034\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\n__int64 __fastcall EVP_PKEY_get0_hmac(_DWORD *a1, _QWORD *a2)\n{\n  int *v2; // x0\n  __int64 v3; // x2\n  __int64 result; // x0\n\n  if ( *a1 == 855 )\n  {\n    v2 = (int *)EVP_PKEY_get0((__int64)a1);\n    v3 = *v2;\n    result = *((_QWORD *)v2 + 1);\n    *a2 = v3;\n  }\n  else\n  {\n    ERR_put_error(6, 183, 174, (__int64)\"crypto/evp/p_lib.c\", 244);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; EVP_PKEY_get0_hmac from 0xdac444 to 0xdac4a0 (92 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x8a3d8\n; > <???> @ 0xe53034\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xdac444\nMOV             X29, SP                                                ; +0x4, 0xdac448\nLDR             W2, [X0]                                               ; +0x8, 0xdac44c\nCMP             W2, #0x357                                             ; +0xc, 0xdac450\nB.NE            loc_DAC478                                             ; +0x10, 0xdac454\nSTR             X1, [X29,#0x20+var_8]                                  ; +0x14, 0xdac458\nBL              EVP_PKEY_get0                                          ; +0x18, 0xdac45c\nLDR             X1, [X29,#0x20+var_8]                                  ; +0x1c, 0xdac460\nLDRSW           X2, [X0]                                               ; +0x20, 0xdac464\nLDR             X0, [X0,#8]                                            ; +0x24, 0xdac468\nSTR             X2, [X1]                                               ; +0x28, 0xdac46c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0xdac470\nRET                                                                    ; +0x30, 0xdac474\nADRP            X3, #aCryptoEvpPLibC@PAGE; \"crypto/evp/p_lib.c\"        ; +0x34, 0xdac478\nMOV             W0, #6                                                 ; +0x38, 0xdac47c\nMOV             W1, #0xB7                                              ; +0x3c, 0xdac480\nMOV             W2, #0xAE                                              ; +0x40, 0xdac484\nADD             X3, X3, #aCryptoEvpPLibC@PAGEOFF; \"crypto/evp/p_lib.c\" ; +0x44, 0xdac488\nMOV             W4, #0xF4                                              ; +0x48, 0xdac48c\nBL              ERR_put_error                                          ; +0x4c, 0xdac490\nMOV             X0, #0                                                 ; +0x50, 0xdac494\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0xdac498\nRET                                                                    ; +0x58, 0xdac49c", "xrefs": ["<???> @ 0x8a3d8", "<???> @ 0xe53034"], "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"}