// // sub_DA1E78 from 0xda1e78 to 0xda1f24 (172 bytes) // // 2 xrefs: // > @ 0x1123c80 // > @ 0x1123cd8 // // 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_DA1E78(__int64 a1, int a2, __int64 a3, __int64 a4) { __int64 v4; // x0 __int64 v5; // x19 __int64 result; // x0 __int64 cipher_data; // x0 __int64 v8; // x2 __int64 v9; // x1 __int64 v10; // x0 v4 = ((__int64 (*)(void))EVP_CIPHER_CTX_get_cipher_data)(); v5 = v4; if ( a2 == 8 ) { cipher_data = EVP_CIPHER_CTX_get_cipher_data(a4); v8 = cipher_data; v9 = *(_QWORD *)(v5 + 496); if ( v9 ) { if ( v9 != v5 ) return 0; *(_QWORD *)(cipher_data + 496) = cipher_data; } v10 = *(_QWORD *)(v5 + 504); if ( !v10 ) return 1; if ( v10 == v5 + 248 ) { *(_QWORD *)(v8 + 504) = v8 + 248; return 1; } return 0; } if ( a2 ) return 0xFFFFFFFFLL; *(_QWORD *)(v4 + 496) = 0; result = 1; *(_QWORD *)(v5 + 504) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source