{"type": "func", "start": 10319892, "end": 10319984, "name": "ASN1_STRING_type_new", "pseudocode": "// \n// ASN1_STRING_type_new from 0x9d7814 to 0x9d7870 (92 bytes)\n// \n// 23 xrefs:\n// > ASN1_STRING_new @ 0x9d7880\n// > sub_9D92C4 @ 0x9d9c28\n// > sub_9DE060 @ 0x9de15c\n// > ASN1_OCTET_STRING_new @ 0x9deb70\n// > ASN1_INTEGER_new @ 0x9deb9c\n// > ASN1_ENUMERATED_new @ 0x9debc8\n// > ASN1_BIT_STRING_new @ 0x9debf4\n// > ASN1_UTF8STRING_new @ 0x9dec20\n// > ASN1_PRINTABLESTRING_new @ 0x9dec4c\n// > ASN1_T61STRING_new @ 0x9dec78\n// > ASN1_IA5STRING_new @ 0x9deca4\n// > ASN1_GENERALSTRING_new @ 0x9decd0\n// > ASN1_UTCTIME_new @ 0x9decfc\n// > ASN1_GENERALIZEDTIME_new @ 0x9ded28\n// > ASN1_VISIBLESTRING_new @ 0x9ded54\n// > ASN1_UNIVERSALSTRING_new @ 0x9ded80\n// > ASN1_BMPSTRING_new @ 0x9dedac\n// > X509_ATTRIBUTE_set1_data @ 0xa52cd8\n// > BN_to_ASN1_INTEGER @ 0xa772b0\n// > BN_to_ASN1_ENUMERATED @ 0xa7791c\n// > ASN1_mbstring_ncopy @ 0xa78250\n// > sub_A79B7C @ 0xa79d8c\n// > <???> @ 0x7820c\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 ASN1_STRING_type_new(int a1)\n{\n  int v2; // r0\n  int v3; // r4\n\n  v2 = CRYPTO_zalloc(16, \"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 0x9d7814 to 0x9d7870 (92 bytes)\n; \n; 23 xrefs:\n; > ASN1_STRING_new @ 0x9d7880\n; > sub_9D92C4 @ 0x9d9c28\n; > sub_9DE060 @ 0x9de15c\n; > ASN1_OCTET_STRING_new @ 0x9deb70\n; > ASN1_INTEGER_new @ 0x9deb9c\n; > ASN1_ENUMERATED_new @ 0x9debc8\n; > ASN1_BIT_STRING_new @ 0x9debf4\n; > ASN1_UTF8STRING_new @ 0x9dec20\n; > ASN1_PRINTABLESTRING_new @ 0x9dec4c\n; > ASN1_T61STRING_new @ 0x9dec78\n; > ASN1_IA5STRING_new @ 0x9deca4\n; > ASN1_GENERALSTRING_new @ 0x9decd0\n; > ASN1_UTCTIME_new @ 0x9decfc\n; > ASN1_GENERALIZEDTIME_new @ 0x9ded28\n; > ASN1_VISIBLESTRING_new @ 0x9ded54\n; > ASN1_UNIVERSALSTRING_new @ 0x9ded80\n; > ASN1_BMPSTRING_new @ 0x9dedac\n; > X509_ATTRIBUTE_set1_data @ 0xa52cd8\n; > BN_to_ASN1_INTEGER @ 0xa772b0\n; > BN_to_ASN1_ENUMERATED @ 0xa7791c\n; > ASN1_mbstring_ncopy @ 0xa78250\n; > sub_A79B7C @ 0xa79d8c\n; > <???> @ 0x7820c\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; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x9d7814\nLDR             R5, =(aCryptoAsn1Asn1 - 0x9D7828); \"crypto/asn1/asn1_lib.c\" ; +0x4, 0x9d7818\nMOV             R6, R0                                                 ; +0x8, 0x9d781c\nADD             R5, PC, R5; \"crypto/asn1/asn1_lib.c\"                   ; +0xc, 0x9d7820\nSUB             SP, SP, #8                                             ; +0x10, 0x9d7824\nMOV             R1, R5                                                 ; +0x14, 0x9d7828\nMOV             R0, #0x10                                              ; +0x18, 0x9d782c\nLDR             R2, =0x135                                             ; +0x1c, 0x9d7830\nBL              CRYPTO_zalloc                                          ; +0x20, 0x9d7834\nSUBS            R4, R0, #0                                             ; +0x24, 0x9d7838\nSTRNE           R6, [R4,#4]                                            ; +0x28, 0x9d783c\nBEQ             loc_9D7850                                             ; +0x2c, 0x9d7840\nMOV             R0, R4                                                 ; +0x30, 0x9d7844\nADD             SP, SP, #8                                             ; +0x34, 0x9d7848\nPOP             {R4-R6,PC}                                             ; +0x38, 0x9d784c\nLDR             R2, =0x137                                             ; +0x3c, 0x9d7850\nSTR             R2, [SP,#8+var_8]                                      ; +0x40, 0x9d7854\nMOV             R3, R5                                                 ; +0x44, 0x9d7858\nMOV             R0, #0xD                                               ; +0x48, 0x9d785c\nMOV             R1, #0x82                                              ; +0x4c, 0x9d7860\nMOV             R2, #0x41 ; 'A'                                        ; +0x50, 0x9d7864\nBL              ERR_put_error                                          ; +0x54, 0x9d7868\nB               loc_9D7844                                             ; +0x58, 0x9d786c", "xrefs": ["ASN1_STRING_new @ 0x9d7880", "sub_9D92C4 @ 0x9d9c28", "sub_9DE060 @ 0x9de15c", "ASN1_OCTET_STRING_new @ 0x9deb70", "ASN1_INTEGER_new @ 0x9deb9c", "ASN1_ENUMERATED_new @ 0x9debc8", "ASN1_BIT_STRING_new @ 0x9debf4", "ASN1_UTF8STRING_new @ 0x9dec20", "ASN1_PRINTABLESTRING_new @ 0x9dec4c", "ASN1_T61STRING_new @ 0x9dec78", "ASN1_IA5STRING_new @ 0x9deca4", "ASN1_GENERALSTRING_new @ 0x9decd0", "ASN1_UTCTIME_new @ 0x9decfc", "ASN1_GENERALIZEDTIME_new @ 0x9ded28", "ASN1_VISIBLESTRING_new @ 0x9ded54", "ASN1_UNIVERSALSTRING_new @ 0x9ded80", "ASN1_BMPSTRING_new @ 0x9dedac", "X509_ATTRIBUTE_set1_data @ 0xa52cd8", "BN_to_ASN1_INTEGER @ 0xa772b0", "BN_to_ASN1_ENUMERATED @ 0xa7791c", "ASN1_mbstring_ncopy @ 0xa78250", "sub_A79B7C @ 0xa79d8c", "<???> @ 0x7820c"], "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"}