//
// sub_1000179B0 from 0x1000179b0 to 0x1000179e8 (56 bytes)
//
// 4 xrefs:
// > sub_100017888 @ 0x100017904
// > sub_100017EB4 @ 0x100017ed8
// > sub_10005D678 @ 0x10005d6a0
// > sub_100077098 @ 0x100077114
//
// 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_1000179B0(__int64 *a1, unsigned __int64 a2)
{
__int64 result; // x0
__int64 v4; // x1
if ( a2 >> 62 )
sub_10000A5F8();
result = sub_1000179E8(a1, a2);
*a1 = result;
a1[1] = result;
a1[2] = result + 4 * v4;
return result;
}