// // EnhancedGameObject::updateRotateAction from 0x361b3c to 0x361bf6 (186 bytes) // // 3 xrefs: // > PlayLayer::updateVisibility @ 0x315be2 // > LevelEditorLayer::updatePreviewAnim @ 0x368eee // > LevelEditorLayer::updateVisibility @ 0x36984a // // 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; // r7 float v4; // s15 float v5; // s16 EnhancedGameObject *m_colorSprite; // r0 int v7; // r0 _DWORD *v8; // r2 int *v9; // r6 int *v10; // r4 int v11; // r8 int v12; // t1 void (__fastcall *v13)(int, _DWORD); // r9 int v14; // r0 if ( !a1->m_disableRotation ) { v3 = 1; v4 = a2 + a1->m_rotationAnimationSpeed; a1->m_rotationAnimationSpeed = v4; v5 = v4 * a1->m_rotationDelta; while ( 1 ) { if ( v3 == 1 ) { m_colorSprite = a1; } else if ( v3 == 2 ) { m_colorSprite = (EnhancedGameObject *)a1->m_colorSprite; if ( a1->m_colorSpriteLocked ) goto LABEL_7; if ( !m_colorSprite ) goto LABEL_8; } else { m_colorSprite = (EnhancedGameObject *)a1->m_glowSprite; if ( !m_colorSprite ) goto LABEL_7; } v7 = (int)m_colorSprite->getChildren(m_colorSprite); if ( v7 ) { v8 = *(_DWORD **)(v7 + 52); if ( *v8 ) { v9 = (int *)v8[3]; v10 = &v9[*v8 - 1]; while ( v9 <= v10 ) { v12 = *v9++; v11 = v12; if ( !v12 ) break; v13 = *(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v11 + 172); v14 = (*(int (__fastcall **)(int))(*(_DWORD *)v11 + 32))(v11); v13(v11, v5 + (float)v14); } } } LABEL_7: if ( v3 == 3 ) return; LABEL_8: ++v3; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source