//
// bn_set_static_words from 0x10976b4 to 0x10976d4 (32 bytes)
//
// 3 xrefs:
// > sub_10150E8 @ 0x101528c
// > sub_10150E8 @ 0x10152b0
// > ??> @ 0xeca58
//
// 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:17:24 +0000
//
__int64 __fastcall bn_set_static_words(__int64 result, __int64 a2, int a3)
{
int v3; // w4
v3 = *(_DWORD *)(result + 20);
*(_QWORD *)result = a2;
*(_DWORD *)(result + 8) = a3;
*(_DWORD *)(result + 12) = a3;
*(_DWORD *)(result + 16) = 0;
*(_DWORD *)(result + 20) = v3 | 2;
return bn_correct_top(result);
}