//
// sub_1005F1B4C from 0x1005f1b4c to 0x1005f1b70 (36 bytes)
//
// 1 xrefs:
// > sub_1005F1354 @ 0x1005f1754
//
// 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_1005F1B4C(__int16 a1, _BYTE **a2)
{
_BYTE *v2; // x8
v2 = *a2;
*v2 = HIBYTE(a1);
v2[1] = a1;
*a2 += 2;
return 1;
}