// // LevelEditorLayer::updateBlendValues from 0x1003613a8 to 0x1003614a0 (248 bytes) // // 2 xrefs: // > LevelEditorLayer::updateGameObjects @ 0x100358dfc // > LevelEditorLayer::onPlaytest @ 0x100362ba0 // // 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 LevelEditorLayer::updateBlendValues(LevelEditorLayer *a1) { unsigned __int64 i; // x20 _BOOL4 shouldBlend; // w0 std::__vector_base::pointer begin; // x8 unsigned __int64 v5; // x10 __int64 v6; // x11 __int64 v7; // x9 __int64 v8; // x12 __int64 v9; // x9 std::__vector_base::pointer v10; // x9 __int64 v11; // x11 for ( i = 0; i != 1102; ++i ) { shouldBlend = GJEffectManager::shouldBlend(a1->m_effectManager, i); begin = a1->m_blendingColors.__begin_; v5 = i >> 6; v6 = 1LL << i; v7 = *(_QWORD *)&begin[8 * (i >> 6)]; if ( shouldBlend == ((v7 & (1LL << i)) != 0) ) { v10 = a1->m_blendingColors2.__begin_; v11 = *(_QWORD *)&v10[8 * v5] & ~v6; } else { v8 = v7 & ~v6; v9 = v7 | v6; if ( !shouldBlend ) v9 = v8; *(_QWORD *)&begin[8 * v5] = v9; v10 = a1->m_blendingColors2.__begin_; v11 = *(_QWORD *)&v10[8 * v5] | v6; } *(_QWORD *)&v10[8 * v5] = v11; } *((_QWORD *)begin + 15) |= 0x200000000000uLL; *((_QWORD *)v10 + 15) &= ~0x200000000000uLL; *((_QWORD *)begin + 15) |= 0x400000000000uLL; *((_QWORD *)v10 + 15) &= ~0x400000000000uLL; *((_QWORD *)begin + 15) |= 0x800000000000uLL; *((_QWORD *)v10 + 15) &= ~0x800000000000uLL; *(_QWORD *)begin &= ~1uLL; *(_QWORD *)v10 &= ~1uLL; }
GD Web Decomp Icon

GD Web Decomp

Raw Source