// // LevelEditorLayer::updatePreviewAnim from 0x6621ec to 0x6622e8 (252 bytes) // // 2 xrefs: // > EditorPauseLayer::togglePreviewAnim @ 0x78ad84 // > @ 0x3b208 // // 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 LevelEditorLayer::updatePreviewAnim(LevelEditorLayer *a1) { GameManager *v2; // x0 bool GameVariable; // w0 unsigned int v4; // w19 bool *p_m_previewAnimations; // x22 __int64 v6; // x0 EnhancedGameObject *v7; // x20 v2 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v2, "0118"); if ( a1->m_previewAnimations != GameVariable ) { a1->m_previewAnimations = GameVariable; v4 = 0; p_m_previewAnimations = &a1->m_previewAnimations; while ( v4 < (unsigned int)cocos2d::CCArray::count(a1->m_objects) ) { v6 = cocos2d::CCArray::objectAtIndex(a1->m_objects, v4); v7 = (EnhancedGameObject *)v6; if ( *(_DWORD *)(v6 + 1232) == 2 ) AnimatedGameObject::updateObjectAnimation((AnimatedGameObject *)v6); if ( *p_m_previewAnimations ) goto LABEL_6; if ( v7->getHasSyncedAnimation(v7) ) EnhancedGameObject::resetSyncedAnimation(v7); if ( *p_m_previewAnimations || !v7->getHasRotateAction(v7) ) { LABEL_6: ++v4; } else { ++v4; EnhancedGameObject::updateRotateAction(v7, 0.0); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source