//
// sub_140269450 from 0x140269450 to 0x1402694ea (154 bytes)
//
// 2 xrefs:
// > GJEffectManager::createKeyframeCommand @ 0x14025cecb
// > ??> @ 0x1406d06d4
//
// 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_140269450(_QWORD *a1, __int64 *a2)
{
_QWORD *v3; // rdi
__int64 v4; // rcx
if ( (unsigned __int64)*a2 > 0x92492492492492LL )
sub_140007AB0(
0x92492492492492LL,
(unsigned __int128)((__int64)(a1[1] - *a1) * (__int128)0x4924924924924925LL) >> 64,
a1[1] - *a1);
v3 = sub_14003AA10(448 * *a2);
try
{
sub_14026D1B0();
v4 = (__int64)a1;
}
catch ( ... )
{
sub_140257BE0(v4, v3, *a2);
throw;
}
return sub_14026AF90();
}