// // LevelEditorLayer::resetToggledGroupsAndObjects from 0x1403fcf50 to 0x1403fcfea (154 bytes) // // 2 xrefs: // > LevelEditorLayer::onPlaytest @ 0x1403fed8c // > SetGroupIDLayer::onClose @ 0x1405947f8 // // 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 11:31:53 +0000 // int __fastcall LevelEditorLayer::resetToggledGroupsAndObjects(_QWORD *a1) { __int64 v1; // rax __int64 v2; // r8 unsigned int *v4; // rax __int64 v5; // rcx __int64 *v6; // rax __int64 *i; // rdx __int64 v8; // rcx unsigned __int64 v9; // r9 __int64 v10; // r11 int *v11; // rdx int result; // eax v1 = a1[442]; v2 = 0; if ( v1 ) { v4 = *(unsigned int **)(v1 + 56); v5 = *v4; if ( (_DWORD)v5 ) { v6 = *((__int64 **)v4 + 2); for ( i = &v6[v5 - 1]; v6 <= i; *(_BYTE *)(v8 + 654) = 0 ) { v8 = *v6; if ( !*v6 ) break; ++v6; *(_DWORD *)(v8 + 1216) = 0; } } } v9 = 0; v10 = 10000; do { *(_BYTE *)(++v2 + a1[1918] - 1) = 0; v11 = (int *)(a1[1897] + 4 * (v9 >> 5)); result = *v11 & ~(1 << (v9++ & 0x1F)); *v11 = result; --v10; } while ( v10 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source