// // sub_85A18C from 0x85a18c to 0x85a280 (244 bytes) // // 1 xrefs: // > @ 0xac1200 // // 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_85A18C(int a1, _DWORD *a2, int a3) { int result; // r0 int v4; // r3 int v5; // r12 int ext; // r0 if ( a3 ) { v5 = a2[28]; if ( (v5 & 2) == 0 || (result = a2[29] & 4) != 0 ) { if ( (v5 & 1) != 0 ) { return (a2[28] & 0x10) != 0; } else if ( (a2[28] & 0x2040) == 0x2040 ) { return 3; } else if ( (v5 & 2) != 0 ) { return 4; } else { if ( (v5 & 8) == 0 ) return 0; result = a2[31] & 7; if ( result ) return 5; } } } else { if ( (a2[28] & 2) != 0 ) { v4 = a2[29]; if ( (v4 & 0xFFFFFF3F) != 0 || (v4 & 0xC0) == 0 ) return 0; } result = a2[28] & 4; if ( result ) { if ( a2[30] == 64 ) { if ( X509_get_ext_by_NID((int)a2) < 0 ) { return 1; } else { ext = X509_get_ext((int)a2); return X509_EXTENSION_get_critical(ext); } } else { return 0; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source