//
// sub_1005F1B70 from 0x1005f1b70 to 0x1005f1ba4 (52 bytes)
//
// 1 xrefs:
// > sub_1005F1354 @ 0x1005f1764
//
// 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_1005F1B70(int a1, _BYTE **a2)
{
_BYTE *v2; // x8
v2 = *a2;
*v2 = HIBYTE(a1);
v2[1] = BYTE2(a1);
v2[2] = BYTE1(a1);
v2[3] = a1;
*a2 += 4;
return 1;
}