{"type": "func", "start": 14062828, "end": 14062932, "name": "ASN1_STRING_type_new", "pseudocode": "// \n// ASN1_STRING_type_new from 0xd694ec to 0xd69554 (104 bytes)\n// \n// 23 xrefs:\n// > ASN1_STRING_new @ 0xd69558\n// > sub_D6AECC @ 0xd6b7a0\n// > sub_D6F5E8 @ 0xd6f648\n// > ASN1_OCTET_STRING_new @ 0xd6ffe4\n// > ASN1_INTEGER_new @ 0xd70008\n// > ASN1_ENUMERATED_new @ 0xd7002c\n// > ASN1_BIT_STRING_new @ 0xd70050\n// > ASN1_UTF8STRING_new @ 0xd70074\n// > ASN1_PRINTABLESTRING_new @ 0xd70098\n// > ASN1_T61STRING_new @ 0xd700bc\n// > ASN1_IA5STRING_new @ 0xd700e0\n// > ASN1_GENERALSTRING_new @ 0xd70104\n// > ASN1_UTCTIME_new @ 0xd70128\n// > ASN1_GENERALIZEDTIME_new @ 0xd7014c\n// > ASN1_VISIBLESTRING_new @ 0xd70170\n// > ASN1_UNIVERSALSTRING_new @ 0xd70194\n// > ASN1_BMPSTRING_new @ 0xd701b8\n// > X509_ATTRIBUTE_set1_data @ 0xde5f44\n// > BN_to_ASN1_INTEGER @ 0xe0ac34\n// > BN_to_ASN1_ENUMERATED @ 0xe0b138\n// > ASN1_mbstring_ncopy @ 0xe0ba64\n// > sub_E0D194 @ 0xe0d340\n// > <???> @ 0x982f8\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 ASN1_STRING_type_new(int a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x20\n\n  v2 = CRYPTO_zalloc(24, \"crypto/asn1/asn1_lib.c\", 309);\n  v3 = v2;\n  if ( v2 )\n    *(_DWORD *)(v2 + 4) = a1;\n  else\n    ERR_put_error(13, 130, 65, \"crypto/asn1/asn1_lib.c\", 311);\n  return v3;\n}", "assembly": "; \n; ASN1_STRING_type_new from 0xd694ec to 0xd69554 (104 bytes)\n; \n; 23 xrefs:\n; > ASN1_STRING_new @ 0xd69558\n; > sub_D6AECC @ 0xd6b7a0\n; > sub_D6F5E8 @ 0xd6f648\n; > ASN1_OCTET_STRING_new @ 0xd6ffe4\n; > ASN1_INTEGER_new @ 0xd70008\n; > ASN1_ENUMERATED_new @ 0xd7002c\n; > ASN1_BIT_STRING_new @ 0xd70050\n; > ASN1_UTF8STRING_new @ 0xd70074\n; > ASN1_PRINTABLESTRING_new @ 0xd70098\n; > ASN1_T61STRING_new @ 0xd700bc\n; > ASN1_IA5STRING_new @ 0xd700e0\n; > ASN1_GENERALSTRING_new @ 0xd70104\n; > ASN1_UTCTIME_new @ 0xd70128\n; > ASN1_GENERALIZEDTIME_new @ 0xd7014c\n; > ASN1_VISIBLESTRING_new @ 0xd70170\n; > ASN1_UNIVERSALSTRING_new @ 0xd70194\n; > ASN1_BMPSTRING_new @ 0xd701b8\n; > X509_ATTRIBUTE_set1_data @ 0xde5f44\n; > BN_to_ASN1_INTEGER @ 0xe0ac34\n; > BN_to_ASN1_ENUMERATED @ 0xe0b138\n; > ASN1_mbstring_ncopy @ 0xe0ba64\n; > sub_E0D194 @ 0xe0d340\n; > <???> @ 0x982f8\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_30]!                                ; +0x0, 0xd694ec\nMOV             W2, #0x135                                             ; +0x4, 0xd694f0\nMOV             X29, SP                                                ; +0x8, 0xd694f4\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0xd694f8\nADRP            X19, #aCryptoAsn1Asn1@PAGE; \"crypto/asn1/asn1_lib.c\"   ; +0x10, 0xd694fc\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x14, 0xd69500\nADD             X19, X19, #aCryptoAsn1Asn1@PAGEOFF; \"crypto/asn1/asn1_lib.c\" ; +0x18, 0xd69504\nMOV             W21, W0                                                ; +0x1c, 0xd69508\nMOV             X1, X19                                                ; +0x20, 0xd6950c\nMOV             X0, #0x18                                              ; +0x24, 0xd69510\nBL              CRYPTO_zalloc                                          ; +0x28, 0xd69514\nMOV             X20, X0                                                ; +0x2c, 0xd69518\nCBZ             X0, loc_D69538                                         ; +0x30, 0xd6951c\nSTR             W21, [X0,#4]                                           ; +0x34, 0xd69520\nMOV             X0, X20                                                ; +0x38, 0xd69524\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x3c, 0xd69528\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x40, 0xd6952c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x44, 0xd69530\nRET                                                                    ; +0x48, 0xd69534\nMOV             W0, #0xD                                               ; +0x4c, 0xd69538\nMOV             W1, #0x82                                              ; +0x50, 0xd6953c\nMOV             W2, #0x41 ; 'A'                                        ; +0x54, 0xd69540\nMOV             X3, X19                                                ; +0x58, 0xd69544\nMOV             W4, #0x137                                             ; +0x5c, 0xd69548\nBL              ERR_put_error                                          ; +0x60, 0xd6954c\nB               loc_D69524                                             ; +0x64, 0xd69550", "xrefs": ["ASN1_STRING_new @ 0xd69558", "sub_D6AECC @ 0xd6b7a0", "sub_D6F5E8 @ 0xd6f648", "ASN1_OCTET_STRING_new @ 0xd6ffe4", "ASN1_INTEGER_new @ 0xd70008", "ASN1_ENUMERATED_new @ 0xd7002c", "ASN1_BIT_STRING_new @ 0xd70050", "ASN1_UTF8STRING_new @ 0xd70074", "ASN1_PRINTABLESTRING_new @ 0xd70098", "ASN1_T61STRING_new @ 0xd700bc", "ASN1_IA5STRING_new @ 0xd700e0", "ASN1_GENERALSTRING_new @ 0xd70104", "ASN1_UTCTIME_new @ 0xd70128", "ASN1_GENERALIZEDTIME_new @ 0xd7014c", "ASN1_VISIBLESTRING_new @ 0xd70170", "ASN1_UNIVERSALSTRING_new @ 0xd70194", "ASN1_BMPSTRING_new @ 0xd701b8", "X509_ATTRIBUTE_set1_data @ 0xde5f44", "BN_to_ASN1_INTEGER @ 0xe0ac34", "BN_to_ASN1_ENUMERATED @ 0xe0b138", "ASN1_mbstring_ncopy @ 0xe0ba64", "sub_E0D194 @ 0xe0d340", "<???> @ 0x982f8"], "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"}