// // sub_864DD0 from 0x864dd0 to 0x864f6c (412 bytes) // // 2 xrefs: // > sub_865B5C @ 0x865ecc // > sub_865B5C @ 0x865f30 // // 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 // int __fastcall sub_864DD0(const char *a1, int a2, signed int *a3, _DWORD *a4) { signed int v8; // r0 char *v9; // r1 int result; // r0 _BYTE v11[4]; // [sp+8h] [bp-20h] BYREF char *v12; // [sp+Ch] [bp-1Ch] BYREF if ( !a1 ) return 0; v8 = strtoul(a1, &v12, 10); v9 = v12; if ( !v12 ) { if ( v8 >= 0 ) { *a3 = v8; goto LABEL_11; } goto LABEL_14; } if ( *v12 && v12 > &a1[a2] ) return 0; if ( v8 < 0 ) { LABEL_14: ERR_put_error(13, 182, 187, (int)"crypto/asn1/asn1_gen.c", 360); return 0; } *a3 = v8; if ( !(a1 - v9 + a2) ) { LABEL_11: result = 1; *a4 = 128; return result; } switch ( *v9 ) { case 'A': *a4 = 64; result = 1; break; case 'C': goto LABEL_11; case 'P': *a4 = 192; result = 1; break; case 'U': *a4 = 0; result = 1; break; default: v11[0] = *v9; v11[1] = 0; ERR_put_error(13, 182, 186, (int)"crypto/asn1/asn1_gen.c", 391); ERR_add_error_data(2, "Char=", v11); result = 0; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source