{"type": "func", "start": 8135736, "end": 8135824, "name": "EVP_PKEY_asn1_free", "pseudocode": "// \n// EVP_PKEY_asn1_free from 0x7c2438 to 0x7c2490 (88 bytes)\n// \n// 4 xrefs:\n// > EVP_PKEY_asn1_new @ 0x7c2538\n// > EVP_PKEY_asn1_add_alias @ 0x7c2594\n// > engine_pkey_asn1_meths_free @ 0x7f88b0\n// > <???> @ 0x5e62c\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_asn1_free(int result)\n{\n  int v1; // r4\n\n  if ( result )\n  {\n    if ( (*(_DWORD *)(result + 8) & 2) != 0 )\n    {\n      v1 = result;\n      CRYPTO_free(*(_DWORD *)(result + 12), \"crypto/asn1/ameth_lib.c\", 298);\n      CRYPTO_free(*(_DWORD *)(v1 + 16), \"crypto/asn1/ameth_lib.c\", 299);\n      return CRYPTO_free(v1, \"crypto/asn1/ameth_lib.c\", 300);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EVP_PKEY_asn1_free from 0x7c2438 to 0x7c2490 (88 bytes)\n; \n; 4 xrefs:\n; > EVP_PKEY_asn1_new @ 0x7c2538\n; > EVP_PKEY_asn1_add_alias @ 0x7c2594\n; > engine_pkey_asn1_meths_free @ 0x7f88b0\n; > <???> @ 0x5e62c\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\nCMP             R0, #0                                                 ; +0x0, 0x7c2438\nBXEQ            LR                                                     ; +0x4, 0x7c243c\nPUSH            {R3-R5,LR}                                             ; +0x8, 0x7c2440\nLDR             R3, [R0,#8]                                            ; +0xc, 0x7c2444\nTST             R3, #2                                                 ; +0x10, 0x7c2448\nPOPEQ           {R3-R5,PC}                                             ; +0x14, 0x7c244c\nLDR             R5, =(aCryptoAsn1Amet - 0x7C2460); \"crypto/asn1/ameth_lib.c\" ; +0x18, 0x7c2450\nMOV             R4, R0                                                 ; +0x1c, 0x7c2454\nADD             R5, PC, R5; \"crypto/asn1/ameth_lib.c\"                  ; +0x20, 0x7c2458\nMOV             R1, R5                                                 ; +0x24, 0x7c245c\nLDR             R0, [R0,#0xC]                                          ; +0x28, 0x7c2460\nLDR             R2, =0x12A                                             ; +0x2c, 0x7c2464\nBL              CRYPTO_free                                            ; +0x30, 0x7c2468\nMOV             R1, R5                                                 ; +0x34, 0x7c246c\nLDR             R0, [R4,#0x10]                                         ; +0x38, 0x7c2470\nLDR             R2, =0x12B                                             ; +0x3c, 0x7c2474\nBL              CRYPTO_free                                            ; +0x40, 0x7c2478\nMOV             R0, R4                                                 ; +0x44, 0x7c247c\nMOV             R1, R5                                                 ; +0x48, 0x7c2480\nMOV             R2, #0x12C                                             ; +0x4c, 0x7c2484\nPOP             {R3-R5,LR}                                             ; +0x50, 0x7c2488\nB               CRYPTO_free                                            ; +0x54, 0x7c248c", "xrefs": ["EVP_PKEY_asn1_new @ 0x7c2538", "EVP_PKEY_asn1_add_alias @ 0x7c2594", "engine_pkey_asn1_meths_free @ 0x7f88b0", "<???> @ 0x5e62c"], "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"}