// // ASN1_STRING_print from 0x9d2b94 to 0x9d2c98 (260 bytes) // // 5 xrefs: // > sub_85239C @ 0x8527f6 // > X509V3_extensions_print @ 0xa6ea64 // > sub_A70304 @ 0xa703b8 // > sub_ACEA58 @ 0xaceaa0 // > @ 0x67d2c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:07:12 +0000 // bool __fastcall ASN1_STRING_print(int a1, int *a2) { int v2; // r2 int v5; // r5 int v6; // r0 int v7; // r4 unsigned int v8; // r3 unsigned int v9; // t1 bool v10; // r1 _BYTE *v12; // r12 int v13; // r0 _BYTE v15[104]; // [sp+0h] [bp-68h] BYREF if ( !a2 ) return 0; if ( *a2 <= 0 ) return 1; v2 = 0; v5 = a2[2] - 1; v6 = *a2; v7 = 0; do { while ( 1 ) { v9 = *(unsigned __int8 *)++v5; v8 = v9; if ( v9 <= 0x7E ) { v10 = v8 != 10; if ( v8 > 0x1F ) v10 = 0; if ( v8 != 13 && v10 ) v8 = 46; } else { v8 = 46; } v12 = &v15[v2++ + 80]; ++v7; *(v12 - 80) = v8; if ( v2 > 79 ) break; if ( v7 >= v6 ) goto LABEL_17; } v13 = BIO_write(a1, v15, v2, v8); v2 = 0; if ( v13 <= 0 ) return 0; v6 = *a2; } while ( v7 < *a2 ); LABEL_17: if ( !v2 ) return 1; return BIO_write(a1, v15, v2, v8) > 0; }