//
// EnhancedGameObject::updateRotateAction from 0x1402a42a0 to 0x1402a4431 (401 bytes)
//
// 6 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x1403f686d
// > LevelEditorLayer::updatePreviewAnim @ 0x140400fc1
// > PlayLayer::updateVisibility @ 0x14050e8cb
// > ??> @ 0x1408afb44
// > ??> @ 0x1408afb54
// > ??> @ 0x14091da44
//
// 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:29:16 +0000
//
void __fastcall EnhancedGameObject::updateRotateAction(__int64 a1, float a2)
{
__int64 v3; // rax
unsigned int *v4; // rsi
__int64 v5; // rax
__int64 **v6; // rsi
__int64 **i; // rbp
__int64 *v8; // rdi
__int64 v9; // rbx
__int64 v10; // rcx
__int64 v11; // rax
unsigned int *v12; // rsi
__int64 v13; // rax
__int64 **v14; // rsi
__int64 **j; // rbp
__int64 *v16; // rdi
__int64 v17; // rbx
__int64 v18; // rcx
__int64 v19; // rax
unsigned int *v20; // rsi
__int64 v21; // rax
__int64 **v22; // rsi
__int64 **k; // rbp
__int64 *v24; // rdi
__int64 v25; // rbx
if ( !*(_BYTE *)(a1 + 1404) )
{
*(float *)(a1 + 1420) = a2 + *(float *)(a1 + 1420);
v3 = (*(__int64 (**)(void))(*(_QWORD *)a1 + 480LL))();
if ( v3 )
{
v4 = *(unsigned int **)(v3 + 56);
v5 = *v4;
if ( (_DWORD)v5 )
{
v6 = *((__int64 ***)v4 + 2);
for ( i = &v6[v5 - 1]; v6 <= i; ++v6 )
{
v8 = *v6;
if ( !*v6 )
break;
v9 = *v8;
(*(void (__fastcall **)(__int64 *))(*v8 + 56))(*v6);
(*(void (__fastcall **)(__int64 *))(v9 + 352))(v8);
}
}
}
v10 = *(_QWORD *)(a1 + 896);
if ( !*(_BYTE *)(a1 + 874) )
{
if ( v10 )
{
v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 480LL))(v10);
if ( v11 )
{
v12 = *(unsigned int **)(v11 + 56);
v13 = *v12;
if ( (_DWORD)v13 )
{
v14 = *((__int64 ***)v12 + 2);
for ( j = &v14[v13 - 1]; v14 <= j; ++v14 )
{
v16 = *v14;
if ( !*v14 )
break;
v17 = *v16;
(*(void (__fastcall **)(__int64 *))(*v16 + 56))(*v14);
(*(void (__fastcall **)(__int64 *))(v17 + 352))(v16);
}
}
}
}
}
v18 = *(_QWORD *)(a1 + 752);
if ( v18 )
{
v19 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v18 + 480LL))(v18);
if ( v19 )
{
v20 = *(unsigned int **)(v19 + 56);
v21 = *v20;
if ( (_DWORD)v21 )
{
v22 = *((__int64 ***)v20 + 2);
for ( k = &v22[v21 - 1]; v22 <= k; ++v22 )
{
v24 = *v22;
if ( !*v22 )
break;
v25 = *v24;
(*(void (__fastcall **)(__int64 *))(*v24 + 56))(*v22);
(*(void (__fastcall **)(__int64 *))(v25 + 352))(v24);
}
}
}
}
}
}