// // LevelEditorLayer::updateBlendValues from 0x461d8e to 0x461e5e (208 bytes) // // 2 xrefs: // > LevelEditorLayer::onPlaytest @ 0x468296 // > LevelEditorLayer::updateGameObjects @ 0x46cecc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:48:53 +0000 // int __fastcall LevelEditorLayer::updateBlendValues(GJEffectManager **this) { _DWORD *v1; // r7 int *v2; // r6 unsigned int i; // r5 int shouldBlend; // r0 unsigned int v6; // r3 int v7; // r1 int v8; // r2 int v9; // r2 int v10; // r0 int v11; // r2 int result; // r0 v1 = this + 3009; v2 = (int *)(this + 3012); for ( i = 0; i != 1102; ++i ) { shouldBlend = GJEffectManager::shouldBlend(*(this + 381), i); v6 = i >> 5; v7 = 1 << (i & 0x1F); v8 = *(_DWORD *)(*v1 + 4 * (i >> 5)); if ( ((v8 & v7) != 0) == shouldBlend ) { v10 = *v2; v11 = *(_DWORD *)(*v2 + 4 * v6) & ~v7; } else { if ( shouldBlend ) v9 = v8 | v7; else v9 = v8 & ~v7; *(_DWORD *)(*v1 + 4 * v6) = v9; v10 = *v2; v11 = *(_DWORD *)(*v2 + 4 * v6) | v7; } *(_DWORD *)(v10 + 4 * v6) = v11; } *((_DWORD *)*(this + 3009) + 31) |= 0x2000u; *((_DWORD *)*(this + 3012) + 31) &= ~0x2000u; *((_DWORD *)*(this + 3009) + 31) |= 0x4000u; *((_DWORD *)*(this + 3012) + 31) &= ~0x4000u; *((_DWORD *)*(this + 3009) + 31) |= 0x8000u; result = (int)*(this + 3012); *(_DWORD *)(result + 124) &= ~0x8000u; *(_DWORD *)*(this + 3009) &= ~1u; *(_DWORD *)*(this + 3012) &= ~1u; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source