// // OBJ_txt2obj from 0x81cdf4 to 0x81cef4 (256 bytes) // // 16 xrefs: // > OBJ_txt2nid @ 0x81cf08 // > OBJ_create @ 0x81cf90 // > X509_ATTRIBUTE_create_by_txt @ 0x83e49c // > X509_NAME_ENTRY_create_by_txt @ 0x847c7c // > a2i_GENERAL_NAME @ 0x850f04 // > a2i_GENERAL_NAME @ 0x850fb0 // > sub_853810 @ 0x853834 // > sub_854B10 @ 0x854bcc // > sub_854B10 @ 0x854c98 // > sub_8570F8 @ 0x8571c8 // > sub_858480 @ 0x858758 // > sub_85962C @ 0x859674 // > sub_85962C @ 0x859684 // > sub_864F7C @ 0x8654c4 // > sub_8C446C @ 0x8c44a8 // > @ 0x642bc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // char **__fastcall OBJ_txt2obj(char *a1, int a2) { char *v3; // r0 int v4; // r5 void *v5; // r0 int v6; // r9 char *v7; // r0 char *v8; // r6 _DWORD *v9; // r4 int v11; // [sp+8h] [bp-Ch] BYREF char *v12; // [sp+Ch] [bp-8h] BYREF if ( !a2 ) { v3 = OBJ_sn2nid((int)a1); if ( v3 ) return OBJ_nid2obj((unsigned int)v3); v3 = OBJ_ln2nid((int)a1); if ( v3 ) return OBJ_nid2obj((unsigned int)v3); } v4 = a2d_ASN1_OBJECT(0, 0, a1, -1); if ( v4 <= 0 ) return nullptr; v5 = (void *)ASN1_object_size(0, v4, 6); v6 = (int)v5; if ( (int)v5 < 0 ) return nullptr; v7 = (char *)CRYPTO_malloc(v5, (int)"crypto/objects/obj_dat.c", 379); v8 = v7; if ( !v7 ) return nullptr; v11 = (int)v7; ASN1_put_object((_BYTE **)&v11, 0, v4, 6, 0); a2d_ASN1_OBJECT(v11, v4, a1, -1); v12 = v8; v9 = d2i_ASN1_OBJECT(nullptr, &v12, v6); CRYPTO_free(v8, (int)"crypto/objects/obj_dat.c", 390); return (char **)v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source