{"type": "func", "start": 10317880, "end": 10317968, "name": "EVP_PKEY_asn1_free", "pseudocode": "// \n// EVP_PKEY_asn1_free from 0x9d7038 to 0x9d7090 (88 bytes)\n// \n// 4 xrefs:\n// > EVP_PKEY_asn1_new @ 0x9d7138\n// > EVP_PKEY_asn1_add_alias @ 0x9d7194\n// > engine_pkey_asn1_meths_free @ 0xa0d4b0\n// > <???> @ 0x780ac\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:07:15 +0000\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 0x9d7038 to 0x9d7090 (88 bytes)\n; \n; 4 xrefs:\n; > EVP_PKEY_asn1_new @ 0x9d7138\n; > EVP_PKEY_asn1_add_alias @ 0x9d7194\n; > engine_pkey_asn1_meths_free @ 0xa0d4b0\n; > <???> @ 0x780ac\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:07:15 +0000\n; \nCMP             R0, #0                                                 ; +0x0, 0x9d7038\nBXEQ            LR                                                     ; +0x4, 0x9d703c\nPUSH            {R3-R5,LR}                                             ; +0x8, 0x9d7040\nLDR             R3, [R0,#8]                                            ; +0xc, 0x9d7044\nTST             R3, #2                                                 ; +0x10, 0x9d7048\nPOPEQ           {R3-R5,PC}                                             ; +0x14, 0x9d704c\nLDR             R5, =(aCryptoAsn1Amet - 0x9D7060); \"crypto/asn1/ameth_lib.c\" ; +0x18, 0x9d7050\nMOV             R4, R0                                                 ; +0x1c, 0x9d7054\nADD             R5, PC, R5; \"crypto/asn1/ameth_lib.c\"                  ; +0x20, 0x9d7058\nMOV             R1, R5                                                 ; +0x24, 0x9d705c\nLDR             R0, [R0,#0xC]                                          ; +0x28, 0x9d7060\nLDR             R2, =0x12A                                             ; +0x2c, 0x9d7064\nBL              CRYPTO_free                                            ; +0x30, 0x9d7068\nMOV             R1, R5                                                 ; +0x34, 0x9d706c\nLDR             R0, [R4,#0x10]                                         ; +0x38, 0x9d7070\nLDR             R2, =0x12B                                             ; +0x3c, 0x9d7074\nBL              CRYPTO_free                                            ; +0x40, 0x9d7078\nMOV             R0, R4                                                 ; +0x44, 0x9d707c\nMOV             R1, R5                                                 ; +0x48, 0x9d7080\nMOV             R2, #0x12C                                             ; +0x4c, 0x9d7084\nPOP             {R3-R5,LR}                                             ; +0x50, 0x9d7088\nB               CRYPTO_free                                            ; +0x54, 0x9d708c", "xrefs": ["EVP_PKEY_asn1_new @ 0x9d7138", "EVP_PKEY_asn1_add_alias @ 0x9d7194", "engine_pkey_asn1_meths_free @ 0xa0d4b0", "<???> @ 0x780ac"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}