// // BN_BLINDING_convert_ex from 0xe15564 to 0xe15638 (212 bytes) // // 6 xrefs: // > sub_DD4EB0 @ 0xdd51f0 // > sub_DD4EB0 @ 0xdd5234 // > sub_DD535C @ 0xdd5600 // > sub_DD535C @ 0xdd563c // > BN_BLINDING_convert @ 0xe15648 // > @ 0x5fb68 // // 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 BN_BLINDING_convert_ex(__int64 a1, unsigned __int64 *a2, _QWORD *a3, __int64 a4) { __int64 result; // x0 _BOOL4 v9; // w20 if ( !*a3 || !a3[1] ) { ERR_put_error(3, 100, 107, (__int64)"crypto/bn/bn_blind.c", 137); return 0; } if ( *((_DWORD *)a3 + 10) == -1 ) { *((_DWORD *)a3 + 10) = 0; if ( a2 ) { LABEL_6: v9 = BN_copy(a2, a3[1]) != nullptr; return (unsigned int)BN_mod_mul(a1, a1, *a3, a3[3], a4) && v9; } } else { result = BN_BLINDING_update(a3, a4); if ( !(_DWORD)result ) return result; if ( a2 ) goto LABEL_6; } v9 = 1; return (unsigned int)BN_mod_mul(a1, a1, *a3, a3[3], a4) && v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source