//
// sub_1000114D4 from 0x1000114d4 to 0x1000115a4 (208 bytes)
//
// 1 xrefs:
// > GJEffectManager::createKeyframeCommand @ 0x100010c94
//
// 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_1000114D4(__int64 *result, unsigned __int64 a2)
{
__int64 *v2; // x19
__int64 v3; // x20
__int64 v4; // x0
__int64 v5; // x21
__int64 v6; // x1
__int64 v7; // x22
__int64 v8; // x20
__int64 v9; // x8
__int64 v10; // x9
__int64 v11; // [xsp+8h] [xbp-48h] BYREF
__int64 v12; // [xsp+10h] [xbp-40h]
__int64 v13; // [xsp+18h] [xbp-38h]
__int64 v14; // [xsp+20h] [xbp-30h]
__int64 *v15; // [xsp+28h] [xbp-28h]
if ( 0x6DB6DB6DB6DB6DB7LL * ((result[2] - *result) >> 6) < a2 )
{
if ( a2 >= 0x92492492492493LL )
sub_10000A5F8();
v2 = result;
v3 = result[1] - *result;
v15 = result;
v4 = sub_1000197A0();
v5 = v4 + v3;
v11 = v4;
v12 = v4 + v3;
v7 = v4 + 448 * v6;
v13 = v4 + v3;
v14 = v7;
v8 = v4 + v3 + *v2 - v2[1];
sub_100019C14(v2);
v9 = *v2;
*v2 = v8;
v2[1] = v5;
v10 = v2[2];
v2[2] = v7;
v13 = v9;
v14 = v10;
v11 = v9;
v12 = v9;
return (__int64 *)sub_100019CBC(&v11);
}
return result;
}