// // LevelEditorLayer::updateBlendValues from 0x78c9d8 to 0x78cb08 (304 bytes) // // 3 xrefs: // > LevelEditorLayer::onPlaytest @ 0x79638c // > LevelEditorLayer::updateGameObjects @ 0x79e77c // > @ 0xe1490 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:53:27 +0000 // unsigned __int64 __fastcall LevelEditorLayer::updateBlendValues(GJEffectManager **this) { unsigned __int64 v1; // x19 __int64 v3; // x4 char shouldBlend; // w0 unsigned __int64 v5; // x2 __int64 v6; // x5 __int64 v7; // x1 __int64 v8; // x3 unsigned __int64 *v9; // x1 unsigned __int64 result; // x0 v1 = 0; do { while ( 1 ) { shouldBlend = GJEffectManager::shouldBlend(*(this + 269), v1); v5 = v1 >> 6; v6 = (__int64)*(this + 1824); v7 = 1LL << (v1 & 0x3F); v8 = *(_QWORD *)(v6 + 8 * (v1 >> 6)); v3 = v8 & ~v7; if ( ((v8 & v7) != 0) != shouldBlend ) break; ++v1; *((_QWORD *)*(this + 1827) + v5) &= ~v7; if ( v1 == 1102 ) goto LABEL_7; } ++v1; if ( shouldBlend ) v3 = v8 | v7; *(_QWORD *)(v6 + 8 * v5) = v3; *((_QWORD *)*(this + 1827) + v5) |= v7; } while ( v1 != 1102 ); LABEL_7: *((_QWORD *)*(this + 1824) + 15) |= 0x200000000000uLL; *((_QWORD *)*(this + 1827) + 15) &= ~0x200000000000uLL; *((_QWORD *)*(this + 1824) + 15) |= 0x400000000000uLL; *((_QWORD *)*(this + 1827) + 15) &= ~0x400000000000uLL; *((_QWORD *)*(this + 1824) + 15) |= 0x800000000000uLL; *((_QWORD *)*(this + 1827) + 15) &= ~0x800000000000uLL; *(_QWORD *)*(this + 1824) &= ~1uLL; v9 = (unsigned __int64 *)*(this + 1827); result = *v9 & 0xFFFFFFFFFFFFFFFELL; *v9 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source