// // sub_10201D8 from 0x10201d8 to 0x1020284 (172 bytes) // // 2 xrefs: // > @ 0x1401210 // > @ 0x1401268 // // 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:10 +0000 // __int64 __fastcall sub_10201D8(__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