// // ASN1_INTEGER_set_uint64 from 0xe0aa70 to 0xe0aaf4 (132 bytes) // // 4 xrefs: // > PKCS5_pbe2_set_scrypt @ 0xe72f64 // > PKCS5_pbe2_set_scrypt @ 0xe72f74 // > PKCS5_pbe2_set_scrypt @ 0xe72f84 // > @ 0x448c8 // // 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 ASN1_INTEGER_set_uint64(__int64 a1, unsigned __int64 a2) { __int64 v2; // x2 unsigned __int64 v4; // x4 __int64 i; // x3 char *v6; // x3 char v7[8]; // [xsp+18h] [xbp+18h] BYREF *(_DWORD *)(a1 + 4) = 2; if ( a2 <= 0xFF ) { LODWORD(v2) = 1; v7[0] = a2; return (unsigned int)ASN1_STRING_set(a1, v7, v2); } v4 = a2; for ( i = 0; ; ++i ) { v4 >>= 8; v2 = i + 1; if ( !v4 ) break; } v6 = &v7[i]; do { *v6-- = a2; a2 >>= 8; } while ( v6 >= v7 ); if ( v2 ) return (unsigned int)ASN1_STRING_set(a1, v7, v2); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source