//
// sub_140375FE0 from 0x140375fe0 to 0x14037604c (108 bytes)
//
// 6 xrefs:
// > GJEffectManager::createKeyframeCommand @ 0x140367208
// > sub_140374630 @ 0x140374737
// > sub_140379610 @ 0x1403799d8
// > sub_14054FE40 @ 0x14054ff8a
// > ??> @ 0x14092210c
// > ??> @ 0x140922118
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:31:01 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall sub_140375FE0(__int64 a1, __int64 a2, _QWORD *a3, __int64 a4)
{
_QWORD *v4; // rdi
__int64 v6; // rbx
_QWORD *v8; // [rsp+20h] [rbp-28h] BYREF
_QWORD *v9; // [rsp+28h] [rbp-20h]
__int64 v10; // [rsp+30h] [rbp-18h]
v4 = a3;
v6 = a1;
v8 = a3;
v9 = a3;
v10 = a4;
if ( a1 != a2 )
{
do
{
sub_140377CF0(&v8, v6);
v6 += 448;
}
while ( v6 != a2 );
v4 = v9;
}
sub_140361FF0(v4, v4);
return v4;
}