// // sub_10544A8 from 0x10544a8 to 0x10545b8 (272 bytes) // // 2 xrefs: // > sub_10545B8 @ 0x10546ac // > sub_10545B8 @ 0x10546ec // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:16:40 +0000 // __int64 __fastcall sub_10544A8(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