//
// ecp_nistz256_scatter_w7 from 0x8b1ca0 to 0x8b1cd8 (56 bytes)
//
// 2 xrefs:
// > sub_7F1BA0 @ 0x7f2014
// > ??> @ 0x6208c
//
// 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
//
_BYTE *__fastcall ecp_nistz256_scatter_w7(int a1, int *a2, int a3)
{
_BYTE *result; // r0
int v4; // r2
int v5; // t1
result = (_BYTE *)(a1 + a3);
v4 = 16;
do
{
v5 = *a2++;
--v4;
*(result - 1) = v5;
result[63] = BYTE1(v5);
result[127] = BYTE2(v5);
result[191] = HIBYTE(v5);
result += 256;
}
while ( v4 );
return result;
}