// // sub_801714 from 0x801714 to 0x8017bc (168 bytes) // // 6 xrefs: // > @ 0xa31ed8 // > @ 0xa31f0c // > @ 0xa31f40 // > @ 0xa31f74 // > @ 0xa31fa8 // > @ 0xa31fdc // // 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_801714(int a1, int a2, int a3, _DWORD *a4) { _DWORD *cipher_data; // r4 switch ( a2 ) { case 2: *a4 = *(_DWORD *)EVP_CIPHER_CTX_get_cipher_data(a1); return 1; case 3: if ( a3 <= 0 ) return 0; *(_DWORD *)EVP_CIPHER_CTX_get_cipher_data(a1) = a3; return 1; case 0: cipher_data = (_DWORD *)EVP_CIPHER_CTX_get_cipher_data(a1); *cipher_data = 8 * EVP_CIPHER_CTX_key_length(a1); return 1; default: return -1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source