{"type": "func", "start": 8116704, "end": 8116880, "name": "ASN1_OBJECT_free", "pseudocode": "// \n// ASN1_OBJECT_free from 0x7bd9e0 to 0x7bda90 (176 bytes)\n// \n// 54 xrefs:\n// > c2i_ASN1_OBJECT @ 0x7bdc58\n// > c2i_ASN1_OBJECT @ 0x7bdcd8\n// > sub_7C2E4C @ 0x7c2fd0\n// > asn1_primitive_free @ 0x7c86c0\n// > X509_ALGOR_set0 @ 0x7ca854\n// > X509_ALGOR_set0 @ 0x7ca880\n// > sub_7E4E64 @ 0x7e4f4c\n// > EC_GROUP_get_ecparameters @ 0x7e5cd4\n// > EC_GROUP_get_ecpkparameters @ 0x7e6784\n// > EVP_CIPHER_type @ 0x8039c4\n// > sub_81BEE4 @ 0x81bf04\n// > OBJ_txt2nid @ 0x81cf1c\n// > OBJ_create @ 0x81cfcc\n// > OBJ_dup @ 0x81d270\n// > OCSP_cert_id_new @ 0x81e8dc\n// > X509_ATTRIBUTE_set1_object @ 0x83e088\n// > X509_ATTRIBUTE_create_by_NID @ 0x83e3f4\n// > X509_ATTRIBUTE_create_by_txt @ 0x83e4cc\n// > X509_EXTENSION_set_object @ 0x841a1c\n// > X509_EXTENSION_create_by_NID @ 0x841be8\n// > X509_VERIFY_PARAM_set1_policies @ 0x846a28\n// > X509_NAME_ENTRY_set_object @ 0x8479e0\n// > X509_NAME_ENTRY_create_by_txt @ 0x847cac\n// > X509_NAME_ENTRY_create_by_NID @ 0x847d9c\n// > X509_add1_trust_object @ 0x84b378\n// > X509_add1_reject_object @ 0x84b418\n// > policy_data_free @ 0x84b8c8\n// > policy_data_new @ 0x84ba00\n// > sub_853810 @ 0x853894\n// > sub_854B10 @ 0x8553b0\n// > sub_858D9C @ 0x858e94\n// > sub_85962C @ 0x85973c\n// > sub_85962C @ 0x859744\n// > ASN1_sign @ 0x863aa0\n// > ASN1_sign @ 0x863cc4\n// > ASN1_sign @ 0x863d44\n// > CMS_EnvelopedData_create @ 0x872f38\n// > CMS_set1_eContentType @ 0x8754b0\n// > CMS_SignedData_init @ 0x8769ac\n// > CMS_add1_signer @ 0x8783b4\n// > sub_87F890 @ 0x87f9b0\n// > sub_87FA90 @ 0x87fabc\n// > PKCS7_simple_smimecap @ 0x8bbe58\n// > <???> @ 0x5e1fc\n// > OCSP_accept_responses_new @ 0x81e6f8\n// > X509_VERIFY_PARAM_free @ 0x8466e0\n// > X509_VERIFY_PARAM_new @ 0x8467dc\n// > X509_VERIFY_PARAM_set1_policies @ 0x84698c\n// > X509_trust_clear @ 0x84b450\n// > X509_reject_clear @ 0x84b488\n// > policy_data_free @ 0x84b8e0\n// > sub_85AB54 @ 0x85adb0\n// > sub_8C446C @ 0x8c44e8\n// > <???> @ 0xab867c\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_DWORD *__fastcall ASN1_OBJECT_free(_DWORD *result)\n{\n  int v1; // r3\n  _DWORD *v2; // r4\n  int v3; // r3\n\n  if ( result )\n  {\n    v1 = result[5];\n    v2 = result;\n    if ( (v1 & 4) != 0 )\n    {\n      CRYPTO_free(*result, \"crypto/asn1/a_object.c\", 343);\n      result = (_DWORD *)CRYPTO_free(v2[1], \"crypto/asn1/a_object.c\", 344);\n      v1 = v2[5];\n      v2[1] = 0;\n      *v2 = 0;\n    }\n    if ( (v1 & 8) == 0 )\n    {\n      if ( (v1 & 1) == 0 )\n        return result;\n      return (_DWORD *)CRYPTO_free(v2, \"crypto/asn1/a_object.c\", 354);\n    }\n    result = (_DWORD *)CRYPTO_free(v2[4], \"crypto/asn1/a_object.c\", 349);\n    v3 = v2[5];\n    v2[4] = 0;\n    v2[3] = 0;\n    if ( (v3 & 1) != 0 )\n      return (_DWORD *)CRYPTO_free(v2, \"crypto/asn1/a_object.c\", 354);\n  }\n  return result;\n}", "assembly": "; \n; ASN1_OBJECT_free from 0x7bd9e0 to 0x7bda90 (176 bytes)\n; \n; 54 xrefs:\n; > c2i_ASN1_OBJECT @ 0x7bdc58\n; > c2i_ASN1_OBJECT @ 0x7bdcd8\n; > sub_7C2E4C @ 0x7c2fd0\n; > asn1_primitive_free @ 0x7c86c0\n; > X509_ALGOR_set0 @ 0x7ca854\n; > X509_ALGOR_set0 @ 0x7ca880\n; > sub_7E4E64 @ 0x7e4f4c\n; > EC_GROUP_get_ecparameters @ 0x7e5cd4\n; > EC_GROUP_get_ecpkparameters @ 0x7e6784\n; > EVP_CIPHER_type @ 0x8039c4\n; > sub_81BEE4 @ 0x81bf04\n; > OBJ_txt2nid @ 0x81cf1c\n; > OBJ_create @ 0x81cfcc\n; > OBJ_dup @ 0x81d270\n; > OCSP_cert_id_new @ 0x81e8dc\n; > X509_ATTRIBUTE_set1_object @ 0x83e088\n; > X509_ATTRIBUTE_create_by_NID @ 0x83e3f4\n; > X509_ATTRIBUTE_create_by_txt @ 0x83e4cc\n; > X509_EXTENSION_set_object @ 0x841a1c\n; > X509_EXTENSION_create_by_NID @ 0x841be8\n; > X509_VERIFY_PARAM_set1_policies @ 0x846a28\n; > X509_NAME_ENTRY_set_object @ 0x8479e0\n; > X509_NAME_ENTRY_create_by_txt @ 0x847cac\n; > X509_NAME_ENTRY_create_by_NID @ 0x847d9c\n; > X509_add1_trust_object @ 0x84b378\n; > X509_add1_reject_object @ 0x84b418\n; > policy_data_free @ 0x84b8c8\n; > policy_data_new @ 0x84ba00\n; > sub_853810 @ 0x853894\n; > sub_854B10 @ 0x8553b0\n; > sub_858D9C @ 0x858e94\n; > sub_85962C @ 0x85973c\n; > sub_85962C @ 0x859744\n; > ASN1_sign @ 0x863aa0\n; > ASN1_sign @ 0x863cc4\n; > ASN1_sign @ 0x863d44\n; > CMS_EnvelopedData_create @ 0x872f38\n; > CMS_set1_eContentType @ 0x8754b0\n; > CMS_SignedData_init @ 0x8769ac\n; > CMS_add1_signer @ 0x8783b4\n; > sub_87F890 @ 0x87f9b0\n; > sub_87FA90 @ 0x87fabc\n; > PKCS7_simple_smimecap @ 0x8bbe58\n; > <???> @ 0x5e1fc\n; > OCSP_accept_responses_new @ 0x81e6f8\n; > X509_VERIFY_PARAM_free @ 0x8466e0\n; > X509_VERIFY_PARAM_new @ 0x8467dc\n; > X509_VERIFY_PARAM_set1_policies @ 0x84698c\n; > X509_trust_clear @ 0x84b450\n; > X509_reject_clear @ 0x84b488\n; > policy_data_free @ 0x84b8e0\n; > sub_85AB54 @ 0x85adb0\n; > sub_8C446C @ 0x8c44e8\n; > <???> @ 0xab867c\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, 0x7bd9e0\nBXEQ            LR                                                     ; +0x4, 0x7bd9e4\nPUSH            {R3-R5,LR}                                             ; +0x8, 0x7bd9e8\nLDR             R3, [R0,#0x14]                                         ; +0xc, 0x7bd9ec\nMOV             R4, R0                                                 ; +0x10, 0x7bd9f0\nTST             R3, #4                                                 ; +0x14, 0x7bd9f4\nBNE             loc_7BDA54                                             ; +0x18, 0x7bd9f8\nTST             R3, #8                                                 ; +0x1c, 0x7bd9fc\nBNE             loc_7BDA24                                             ; +0x20, 0x7bda00\nTST             R3, #1                                                 ; +0x24, 0x7bda04\nPOPEQ           {R3-R5,PC}                                             ; +0x28, 0x7bda08\nLDR             R1, =(aCryptoAsn1AObj - 0x7BDA1C); \"crypto/asn1/a_object.c\" ; +0x2c, 0x7bda0c\nMOV             R0, R4                                                 ; +0x30, 0x7bda10\nADD             R1, PC, R1; \"crypto/asn1/a_object.c\"                   ; +0x34, 0x7bda14\nLDR             R2, =0x162                                             ; +0x38, 0x7bda18\nPOP             {R3-R5,LR}                                             ; +0x3c, 0x7bda1c\nB               CRYPTO_free                                            ; +0x40, 0x7bda20\nLDR             R1, =(aCryptoAsn1AObj - 0x7BDA38); \"crypto/asn1/a_object.c\" ; +0x44, 0x7bda24\nLDR             R2, =0x15D                                             ; +0x48, 0x7bda28\nLDR             R0, [R4,#0x10]                                         ; +0x4c, 0x7bda2c\nADD             R1, PC, R1; \"crypto/asn1/a_object.c\"                   ; +0x50, 0x7bda30\nBL              CRYPTO_free                                            ; +0x54, 0x7bda34\nLDR             R3, [R4,#0x14]                                         ; +0x58, 0x7bda38\nMOV             R2, #0                                                 ; +0x5c, 0x7bda3c\nTST             R3, #1                                                 ; +0x60, 0x7bda40\nSTR             R2, [R4,#0x10]                                         ; +0x64, 0x7bda44\nSTR             R2, [R4,#0xC]                                          ; +0x68, 0x7bda48\nPOPEQ           {R3-R5,PC}                                             ; +0x6c, 0x7bda4c\nB               loc_7BDA0C                                             ; +0x70, 0x7bda50\nLDR             R5, =(aCryptoAsn1AObj - 0x7BDA64); \"crypto/asn1/a_object.c\" ; +0x74, 0x7bda54\nLDR             R0, [R0]                                               ; +0x78, 0x7bda58\nADD             R5, PC, R5; \"crypto/asn1/a_object.c\"                   ; +0x7c, 0x7bda5c\nMOV             R1, R5                                                 ; +0x80, 0x7bda60\nLDR             R2, =0x157                                             ; +0x84, 0x7bda64\nBL              CRYPTO_free                                            ; +0x88, 0x7bda68\nMOV             R2, #0x158                                             ; +0x8c, 0x7bda6c\nMOV             R1, R5                                                 ; +0x90, 0x7bda70\nLDR             R0, [R4,#4]                                            ; +0x94, 0x7bda74\nBL              CRYPTO_free                                            ; +0x98, 0x7bda78\nMOV             R2, #0                                                 ; +0x9c, 0x7bda7c\nLDR             R3, [R4,#0x14]                                         ; +0xa0, 0x7bda80\nSTR             R2, [R4,#4]                                            ; +0xa4, 0x7bda84\nSTR             R2, [R4]                                               ; +0xa8, 0x7bda88\nB               loc_7BD9FC                                             ; +0xac, 0x7bda8c", "xrefs": ["c2i_ASN1_OBJECT @ 0x7bdc58", "c2i_ASN1_OBJECT @ 0x7bdcd8", "sub_7C2E4C @ 0x7c2fd0", "asn1_primitive_free @ 0x7c86c0", "X509_ALGOR_set0 @ 0x7ca854", "X509_ALGOR_set0 @ 0x7ca880", "sub_7E4E64 @ 0x7e4f4c", "EC_GROUP_get_ecparameters @ 0x7e5cd4", "EC_GROUP_get_ecpkparameters @ 0x7e6784", "EVP_CIPHER_type @ 0x8039c4", "sub_81BEE4 @ 0x81bf04", "OBJ_txt2nid @ 0x81cf1c", "OBJ_create @ 0x81cfcc", "OBJ_dup @ 0x81d270", "OCSP_cert_id_new @ 0x81e8dc", "X509_ATTRIBUTE_set1_object @ 0x83e088", "X509_ATTRIBUTE_create_by_NID @ 0x83e3f4", "X509_ATTRIBUTE_create_by_txt @ 0x83e4cc", "X509_EXTENSION_set_object @ 0x841a1c", "X509_EXTENSION_create_by_NID @ 0x841be8", "X509_VERIFY_PARAM_set1_policies @ 0x846a28", "X509_NAME_ENTRY_set_object @ 0x8479e0", "X509_NAME_ENTRY_create_by_txt @ 0x847cac", "X509_NAME_ENTRY_create_by_NID @ 0x847d9c", "X509_add1_trust_object @ 0x84b378", "X509_add1_reject_object @ 0x84b418", "policy_data_free @ 0x84b8c8", "policy_data_new @ 0x84ba00", "sub_853810 @ 0x853894", "sub_854B10 @ 0x8553b0", "sub_858D9C @ 0x858e94", "sub_85962C @ 0x85973c", "sub_85962C @ 0x859744", "ASN1_sign @ 0x863aa0", "ASN1_sign @ 0x863cc4", "ASN1_sign @ 0x863d44", "CMS_EnvelopedData_create @ 0x872f38", "CMS_set1_eContentType @ 0x8754b0", "CMS_SignedData_init @ 0x8769ac", "CMS_add1_signer @ 0x8783b4", "sub_87F890 @ 0x87f9b0", "sub_87FA90 @ 0x87fabc", "PKCS7_simple_smimecap @ 0x8bbe58", "<???> @ 0x5e1fc", "OCSP_accept_responses_new @ 0x81e6f8", "X509_VERIFY_PARAM_free @ 0x8466e0", "X509_VERIFY_PARAM_new @ 0x8467dc", "X509_VERIFY_PARAM_set1_policies @ 0x84698c", "X509_trust_clear @ 0x84b450", "X509_reject_clear @ 0x84b488", "policy_data_free @ 0x84b8e0", "sub_85AB54 @ 0x85adb0", "sub_8C446C @ 0x8c44e8", "<???> @ 0xab867c"], "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"}