// // EnhancedGameObject::updateRotateAction from 0x100264d94 to 0x100264e80 (236 bytes) // // 3 xrefs: // > PlayLayer::updateVisibility @ 0x10011c9ec // > LevelEditorLayer::updateVisibility @ 0x10035ea6c // > LevelEditorLayer::updatePreviewAnim @ 0x10036412c // // 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 // void __fastcall EnhancedGameObject::updateRotateAction(EnhancedGameObject *a1, float a2) { int v3; // w21 float v4; // s0 float v5; // s8 EnhancedGameObject *m_colorSprite; // x0 __int64 v7; // x0 unsigned int *v8; // x9 __int64 v9; // x8 _QWORD *v10; // x22 unsigned __int64 v11; // x23 __int64 v12; // x20 int v13; // w0 if ( !a1->m_disableRotation ) { v3 = 0; v4 = a1->m_rotationAnimationSpeed + a2; a1->m_rotationAnimationSpeed = v4; v5 = v4 * a1->m_rotationDelta; while ( 1 ) { m_colorSprite = a1; if ( !v3 ) goto LABEL_8; if ( v3 != 1 ) break; if ( !a1->m_colorSpriteLocked ) { m_colorSprite = (EnhancedGameObject *)a1->m_colorSprite; LABEL_8: if ( m_colorSprite ) { v7 = ((__int64 (__fastcall *)(EnhancedGameObject *))m_colorSprite->getChildren)(m_colorSprite); if ( v7 ) { v8 = *(unsigned int **)(v7 + 56); v9 = *v8; if ( (_DWORD)v9 ) { v10 = *((_QWORD **)v8 + 2); v11 = (unsigned __int64)&v10[v9 - 1]; do { v12 = *v10; if ( !*v10 ) break; v13 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v12 + 64LL))(*v10); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v12 + 344LL))(v12, v5 + (float)v13); ++v10; } while ( (unsigned __int64)v10 <= v11 ); } } } } if ( ++v3 == 3 ) return; } m_colorSprite = (EnhancedGameObject *)a1->m_glowSprite; goto LABEL_8; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source