// // sub_1026154 from 0x1026154 to 0x10261f8 (164 bytes) // // 6 xrefs: // > @ 0x1402280 // > @ 0x14022d8 // > @ 0x1402330 // > @ 0x1402388 // > @ 0x14023e0 // > @ 0x1402438 // // 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:13 +0000 // __int64 __fastcall sub_1026154(__int64 a1, __int64 a2) { __int64 v4; // x20 __int64 v5; // x0 __int64 v7; // [xsp+38h] [xbp+38h] int v8; // [xsp+4Ch] [xbp+4Ch] BYREF if ( !a2 ) return 0; v4 = 58; EVP_CIPHER_CTX_ctrl(a1, 2, 0, &v8); if ( v8 != 128 ) { v4 = 120; if ( v8 != 64 ) { v4 = 160; if ( v8 != 40 ) v4 = 0; } } v7 = (unsigned int)EVP_CIPHER_CTX_iv_length(a1); v5 = EVP_CIPHER_CTX_original_iv(a1); return ASN1_TYPE_set_int_octetstring(a2, v4, v5, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source