//
// sub_100526CA4 from 0x100526ca4 to 0x100526cd0 (44 bytes)
//
// 4 xrefs:
// > ??> @ 0x10085b6c8
// > ??> @ 0x10085b7b8
// > ??> @ 0x10085b840
// > ??> @ 0x10085b8c8
//
// 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_100526CA4(__int64 result, char a2, int a3)
{
_BYTE *v3; // x8
v3 = *(_BYTE **)(*(_QWORD *)(result + 80) + 8LL);
*v3 = a2;
v3[1] = BYTE2(a3);
v3[2] = BYTE1(a3);
v3[3] = a3;
*(_QWORD *)(result + 96) = (unsigned int)(a3 + 4);
return result;
}