// // sub_1022BE8 from 0x1022be8 to 0x1022c70 (136 bytes) // // 3 xrefs: // > @ 0x1401710 // > @ 0x1401978 // > @ 0x1401be0 // // 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:11 +0000 // __int64 __fastcall sub_1022BE8(__int64 a1, __int64 a2, __int64 a3, unsigned __int64 a4) { unsigned __int64 v8; // x21 __int64 cipher_data; // x22 unsigned __int64 v10; // x23 __int64 v11; // x19 __int64 v12; // x0 __int64 v13; // x1 v8 = (int)EVP_CIPHER_CTX_block_size(a1); cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1); if ( v8 <= a4 ) { v10 = a4 - v8; v11 = a3; do { v12 = v11; v13 = a2; v11 += v8; a2 += v8; (*(void (__fastcall **)(__int64, __int64, __int64))(cipher_data + 280))(v12, v13, cipher_data); } while ( v10 >= v11 - a3 ); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source