// // a2i_IPADDRESS_NC from 0x1082d70 to 0x1082ea4 (308 bytes) // // 2 xrefs: // > a2i_GENERAL_NAME @ 0x10767c4 // > @ 0xb6818 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:17:11 +0000 // __int64 __fastcall a2i_IPADDRESS_NC(const char *a1) { char *v2; // x20 char *v3; // x19 signed __int64 v4; // x20 char *v5; // x21 int v6; // w0 int v7; // w20 int v8; // w21 __int64 v9; // x0 __int64 v10; // x23 char v12[32]; // [xsp+40h] [xbp+40h] BYREF v2 = strchr(a1, 47); if ( !v2 ) return 0; v3 = (char *)CRYPTO_strdup(a1, (__int64)"crypto/x509v3/v3_utl.c", 950); if ( !v3 ) return 0; v4 = v2 - a1; v5 = &v3[v4 + 1]; v3[v4] = 0; v6 = a2i_ipadd(v12, v3); v7 = v6; if ( v6 ) { v8 = a2i_ipadd(&v12[v6], v5); CRYPTO_free(v3, (__int64)"crypto/x509v3/v3_utl.c", 963); if ( v7 != v8 || !v8 || (v9 = ASN1_OCTET_STRING_new(), (v10 = v9) == 0) ) { CRYPTO_free(nullptr, (__int64)"crypto/x509v3/v3_utl.c", 978); ASN1_OCTET_STRING_free(0); return 0; } v3 = nullptr; if ( (unsigned int)ASN1_OCTET_STRING_set(v9, v12, (unsigned int)(v7 + v8)) ) return v10; } else { v10 = 0; } CRYPTO_free(v3, (__int64)"crypto/x509v3/v3_utl.c", 978); ASN1_OCTET_STRING_free(v10); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source