// // EnhancedGameObject::updateRotateAction from 0x653c8c to 0x653d98 (268 bytes) // // 4 xrefs: // > PlayLayer::updateVisibility @ 0x5ce6b8 // > LevelEditorLayer::updatePreviewAnim @ 0x6622c8 // > LevelEditorLayer::updateVisibility @ 0x6632f0 // > @ 0xc1770 // // 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 EnhancedGameObject::updateRotateAction(EnhancedGameObject *a1, float a2) { int v3; // w22 float v4; // s0 int v5; // w24 float v6; // s8 EnhancedGameObject *m_colorSprite; // x0 __int64 v8; // x0 unsigned int *v9; // x0 __int64 *v10; // x20 __int64 *v11; // x26 __int64 v12; // x19 __int64 v13; // x0 void (__fastcall *v14)(__int64, float); // x21 int v15; // w0 if ( !a1->m_disableRotation ) { v3 = 1; v4 = a2 + a1->m_rotationAnimationSpeed; v5 = 0; v6 = v4 * a1->m_rotationDelta; a1->m_rotationAnimationSpeed = v4; while ( 1 ) { m_colorSprite = a1; if ( v5 ) { if ( v5 == 1 ) { m_colorSprite = (EnhancedGameObject *)a1->m_colorSprite; if ( a1->m_colorSpriteLocked || !m_colorSprite ) goto LABEL_12; } else { m_colorSprite = (EnhancedGameObject *)a1->m_glowSprite; if ( !m_colorSprite ) goto LABEL_11; } } v8 = (__int64)m_colorSprite->getChildren(m_colorSprite); if ( v8 ) { v9 = *(unsigned int **)(v8 + 56); if ( *v9 ) { v10 = *((__int64 **)v9 + 2); v11 = &v10[*v9 - 1]; while ( v11 >= v10 ) { v12 = *v10; if ( !*v10 ) break; v13 = *v10++; v14 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v12 + 344LL); v15 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v12 + 64LL))(v13); v14(v12, (float)v15 + v6); } } } LABEL_11: if ( v3 == 3 ) return; LABEL_12: ++v5; ++v3; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source