// // sub_E3479C from 0xe3479c to 0xe348e8 (332 bytes) // // 1 xrefs: // > @ 0x1132f20 // // 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_E3479C(__int64 a1, __int64 a2, unsigned __int64 *a3, __int64 a4, unsigned int a5) { __int64 v6; // x25 __int64 v8; // x20 unsigned __int64 v11; // x22 unsigned int *v12; // x0 __int64 v13; // x0 __int64 result; // x0 unsigned int v15; // [xsp+5Ch] [xbp+5Ch] BYREF v6 = *(_QWORD *)(a1 + 40); v8 = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 32LL); if ( a2 ) { v11 = *a3; if ( v11 < (int)ECDSA_size(v8) ) { ERR_put_error(16, 218, 100, (__int64)"crypto/ec/ec_pmeth.c", 110); return 0; } else { v12 = *(unsigned int **)(v6 + 8); if ( v12 ) { v13 = EVP_MD_type(v12); LODWORD(result) = ECDSA_sign(v13, a4, a5, a2, (__int64)&v15, v8); if ( (int)result > 0 ) { LABEL_5: *a3 = v15; return 1; } } else { LODWORD(result) = ECDSA_sign(64, a4, a5, a2, (__int64)&v15, v8); if ( (int)result > 0 ) goto LABEL_5; } return (unsigned int)result; } } else { *a3 = (int)ECDSA_size(v8); return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source