//
// LevelEditorLayer::resetMovingObjects from 0x1000c47f0 to 0x1000c4884 (148 bytes)
//
// 0 xrefs:
//
// 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 12:20:35 +0000
//
__int64 __fastcall LevelEditorLayer::resetMovingObjects(_QWORD *a1)
{
__int64 v1; // rax
__int64 v2; // r14
__int64 result; // rax
unsigned int v4; // r15d
__int64 v5; // r13
_QWORD v6[6]; // [rsp+0h] [rbp-30h] BYREF
v6[0] = v1;
v2 = a1[410];
result = sub_1007FEF90(v2);
if ( (_DWORD)result )
{
v4 = 0;
do
{
v5 = sub_1007FEFE0(v2, v4);
GameObject::resetMoveOffset(v5);
(*(void (__fastcall **)(_QWORD *, __int64))(*(_QWORD *)v5 + 1360LL))(v6, v5);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v5 + 184LL))(v5, v6);
(*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 1368LL))(a1, v5);
++v4;
result = sub_1007FEF90(v2);
}
while ( v4 < (unsigned int)result );
}
return result;
}