// // sub_10198C8 from 0x10198c8 to 0x10199d8 (272 bytes) // // 1 xrefs: // > @ 0x14008d8 // // 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:06 +0000 // __int64 __fastcall sub_10198C8(__int64 a1, __int64 a2) { __int64 v3; // x21 __int64 v4; // x0 unsigned int v5; // w19 if ( *(_QWORD *)(a2 + 32) ) { v3 = CRYPTO_memdup(*(_QWORD *)(a2 + 32), 32, "crypto/ec/ecx_meth.c", 102); if ( !v3 ) { v5 = 0; ERR_put_error(16, 268, 65, "crypto/ec/ecx_meth.c", 104); return v5; } v4 = OBJ_nid2obj(1034); if ( (unsigned int)X509_PUBKEY_set0_param(a1, v4, 0xFFFFFFFFLL, 0, v3, 32) ) return 1; CRYPTO_free(v3, "crypto/ec/ecx_meth.c", 110); ERR_put_error(16, 268, 65, "crypto/ec/ecx_meth.c", 111); return 0; } else { ERR_put_error(16, 268, 116, "crypto/ec/ecx_meth.c", 98); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source