//
// sub_1001247A4 from 0x1001247a4 to 0x1001247ec (72 bytes)
//
// 2 xrefs:
// > sub_1001245FC @ 0x10012469c
// > sub_100124C94 @ 0x100124cc4
//
// 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_1001247A4(__int64 *a1, unsigned __int64 a2)
{
__int64 result; // x0
__int64 v4; // x1
if ( a2 >= 0x666666666666667LL )
sub_10000A5F8();
result = sub_1001249EC();
*a1 = result;
a1[1] = result;
a1[2] = result + 40 * v4;
return result;
}