// // OPENSSL_buf2hexstr from 0x103eb20 to 0x103ec1c (252 bytes) // // 4 xrefs: // > i2s_ASN1_OCTET_STRING @ 0x1080060 // > sub_10EDC74 @ 0x10edc98 // > sub_10EDC74 @ 0x10edcf0 // > @ 0xadc20 // // 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:16:28 +0000 // char *__fastcall OPENSSL_buf2hexstr(unsigned __int8 *a1, __int64 a2) { __int64 v4; // x22 char *v5; // x0 char *v6; // x21 unsigned __int8 *v7; // x1 char *v8; // x2 char v9; // t1 char *v10; // x22 if ( !a2 ) return (char *)CRYPTO_zalloc((char *)dword_0 + 1, (__int64)"crypto/o_str.c", 203); v4 = 3 * a2; v5 = (char *)CRYPTO_malloc((void *)(3 * a2), (__int64)"crypto/o_str.c", 206); v6 = v5; if ( v5 ) { if ( a2 <= 0 ) { v10 = v5; } else { v7 = &a1[a2]; v8 = v5; do { v8 += 3; *(v8 - 3) = byte_1201820[(*a1 >> 4) + 64]; v9 = *a1++; *(v8 - 1) = 58; *(v8 - 2) = byte_1201820[(v9 & 0xF) + 64]; } while ( a1 != v7 ); v10 = &v5[v4]; } *(v10 - 1) = 0; } else { ERR_put_error(15, 117, 65, (__int64)"crypto/o_str.c", 207); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source