// // LevelEditorLayer::updateToggledGroups from 0x1000c3250 to 0x1000c3382 (306 bytes) // // 1 xrefs: // > LevelEditorLayer::updateGameObjects @ 0x1000ad87c // // This function is hookable on this platform (idp: pc, 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:20:34 +0000 // __int64 __fastcall LevelEditorLayer::updateToggledGroups(_QWORD *a1) { unsigned __int64 i; // r14 __int64 result; // rax __int64 v4; // r15 unsigned __int8 isGroupEnabled; // al __int64 v6; // rdx __int64 v7; // rdi __int64 v8; // rcx __int64 v9; // r8 __int64 v10; // rcx unsigned int *v11; // rcx unsigned __int64 v12; // r15 unsigned __int64 v13; // r12 for ( i = 0; i != 10000; ++i ) { result = a1[1830]; if ( *(_BYTE *)(result + i) ) { v4 = *(_QWORD *)(a1[452] + 8 * i); if ( v4 ) { isGroupEnabled = GJEffectManager::isGroupEnabled(a1[269], (unsigned int)i); v6 = a1[1813]; v7 = 1LL << i; v8 = *(_QWORD *)(v6 + 8 * (i >> 6)); if ( ((isGroupEnabled ^ _bittest64(&v8, i)) & 1) == 0 ) { v9 = v8 & ~v7; v10 = v7 | v8; if ( (isGroupEnabled & 1) != 0 ) v10 = v9; *(_QWORD *)(v6 + 8 * (i >> 6)) = v10; v11 = *(unsigned int **)(v4 + 56); if ( *v11 ) { v12 = *((_QWORD *)v11 + 2); v13 = v12 + 8LL * *v11 - 8; if ( (isGroupEnabled & 1) != 0 ) { do { if ( !*(_QWORD *)v12 ) break; if ( !*(_BYTE *)(*(_QWORD *)v12 + 1253LL) ) GameObject::groupWasEnabled(); v12 += 8LL; } while ( v12 <= v13 ); } else { do { if ( !*(_QWORD *)v12 ) break; if ( !*(_BYTE *)(*(_QWORD *)v12 + 1253LL) ) GameObject::groupWasDisabled(); v12 += 8LL; } while ( v12 <= v13 ); } } } } result = a1[1830]; --*(_BYTE *)(result + i); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source