// // sub_A963E0 from 0xa963e0 to 0xa965f4 (532 bytes) // // 1 xrefs: // > @ 0xc81554 // // 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:09:00 +0000 // int __fastcall sub_A963E0(int a1, int a2, int a3, _DWORD *a4) { int *v4; // r5 v4 = *(int **)(a1 + 20); if ( a2 == 11 ) return 1; if ( a2 <= 11 ) { if ( a2 == 2 ) { ERR_put_error(10, 120, 150, (int)"crypto/dsa/dsa_pmeth.c", 167); return -2; } if ( a2 <= 2 ) { if ( a2 == 1 ) { if ( EVP_MD_type((int)a4) != 64 && EVP_MD_type((int)a4) != 116 && EVP_MD_type((int)a4) != 66 && EVP_MD_type((int)a4) != 675 && EVP_MD_type((int)a4) != 672 && EVP_MD_type((int)a4) != 673 && EVP_MD_type((int)a4) != 674 ) { ERR_put_error(10, 120, 106, (int)"crypto/dsa/dsa_pmeth.c", 150); return 0; } goto LABEL_31; } return -2; } if ( a2 != 5 && a2 != 7 ) return -2; return 1; } if ( a2 == 4097 ) { if ( a3 > 255 ) { *v4 = a3; return 1; } return -2; } if ( a2 > 4097 ) { if ( a2 == 4098 ) { if ( (a3 & 0xFFFFFFBF) == 0xA0 || (a3 & 0xFFFFFEFF) == 0 ) { v4[1] = a3; return 1; } } else if ( a2 == 4099 ) { if ( EVP_MD_type((int)a4) != 64 && EVP_MD_type((int)a4) != 675 && EVP_MD_type((int)a4) != 672 ) { ERR_put_error(10, 120, 106, (int)"crypto/dsa/dsa_pmeth.c", 136); return 0; } LABEL_31: v4[5] = (int)a4; return 1; } return -2; } if ( a2 != 13 ) return -2; *a4 = v4[5]; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source