// // sub_DA82F4 from 0xda82f4 to 0xda83b4 (192 bytes) // // 6 xrefs: // > @ 0x1124d00 // > @ 0x1124d58 // > @ 0x1124db0 // > @ 0x1124e08 // > @ 0x1124e60 // > @ 0x1124eb8 // // 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_DA82F4(__int64 a1, int a2, int a3, _DWORD *a4) { _DWORD *cipher_data; // x20 if ( a2 == 2 ) { *a4 = *(_DWORD *)EVP_CIPHER_CTX_get_cipher_data(a1); return 1; } else if ( a2 == 3 ) { if ( a3 <= 0 ) return 0; *(_DWORD *)EVP_CIPHER_CTX_get_cipher_data(a1) = a3; return 1; } else { if ( a2 ) return (unsigned int)-1; cipher_data = (_DWORD *)EVP_CIPHER_CTX_get_cipher_data(a1); *cipher_data = 8 * EVP_CIPHER_CTX_key_length(a1); return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source