// // ASN1_BIT_STRING_check from 0xa74b94 to 0xa74c0c (120 bytes) // // 1 xrefs: // > @ 0x832cc // // 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:08:43 +0000 // bool __fastcall ASN1_BIT_STRING_check(int *a1, int a2, int a3) { int v3; // r12 int v4; // r4 int v5; // r12 int v6; // r3 int v7; // r0 int v8; // lr int v9; // t1 _BOOL4 result; // r0 if ( !a1 ) return 1; v3 = a1[2]; if ( !v3 ) return 1; v4 = *a1; if ( *a1 <= 0 ) return 1; v5 = v3 - 1; v6 = 0; do { v7 = 255; if ( a3 > v6 ) v7 = *(unsigned __int8 *)(a2 + v6); v9 = *(unsigned __int8 *)++v5; v8 = v9; if ( a3 > v6 ) v7 = (unsigned __int8)~(_BYTE)v7; ++v6; result = (v7 & v8) == 0; } while ( v6 != v4 && result ); return result; }