// // sub_DD6148 from 0xdd6148 to 0xdd6258 (272 bytes) // // 2 xrefs: // > sub_DD6258 @ 0xdd634c // > sub_DD6258 @ 0xdd638c // // 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 // __int64 __fastcall sub_DD6148(unsigned int *a1, int a2) { __int64 v3; // x0 if ( !a1 ) return 1; v3 = EVP_MD_type(a1); if ( a2 == 3 ) { ERR_put_error(4, 140, 141, (__int64)"crypto/rsa/rsa_pmeth.c", 335); return 0; } else { if ( a2 != 5 ) { if ( (_DWORD)v3 != 114 ) { if ( (int)v3 <= 114 ) { if ( (_DWORD)v3 != 64 ) { if ( (int)v3 > 64 ) { if ( (_DWORD)v3 != 95 ) goto LABEL_9; } else if ( (unsigned int)(v3 - 3) > 1 ) { goto LABEL_9; } } } else if ( (_DWORD)v3 != 257 ) { if ( (int)v3 > 257 ) { if ( (unsigned int)(v3 - 672) > 3 ) goto LABEL_9; } else if ( (_DWORD)v3 != 117 ) { LABEL_9: ERR_put_error(4, 140, 157, (__int64)"crypto/rsa/rsa_pmeth.c", 361); return 0; } } } return 1; } if ( (unsigned int)RSA_X931_hash_id(v3) != -1 ) return 1; ERR_put_error(4, 140, 142, (__int64)"crypto/rsa/rsa_pmeth.c", 341); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source