// // sub_DA6E74 from 0xda6e74 to 0xda6f34 (192 bytes) // // 2 xrefs: // > @ 0x11249c0 // > @ 0x1124b20 // // 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_DA6E74(__int64 a1, __int64 a2, __int64 a3, unsigned __int64 a4) { unsigned __int64 v8; // x22 unsigned __int64 v9; // x26 __int64 v10; // x20 __int64 cipher_data; // x25 __int64 v12; // x24 __int64 v13; // x23 __int64 v14; // x5 __int64 v15; // x1 __int64 v16; // x0 v8 = *(int *)(EVP_CIPHER_CTX_cipher(a1) + 4); if ( v8 <= a4 ) { v9 = a4 - v8; v10 = a3; do { cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1); v12 = EVP_CIPHER_CTX_get_cipher_data(a1); v13 = EVP_CIPHER_CTX_get_cipher_data(a1); v14 = (unsigned int)EVP_CIPHER_CTX_encrypting(a1); v15 = a2; v16 = v10; v10 += v8; a2 += v8; DES_ecb3_encrypt(v16, v15, cipher_data, v12 + 128, v13 + 256, v14); } while ( v9 >= v10 - a3 ); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source