// // LevelEditorLayer::validGroup from 0x1000b0220 to 0x1000b02e6 (198 bytes) // // 3 xrefs: // > EditorUI::selectAll @ 0x1005b91ca // > EditorUI::selectAllWithDirection @ 0x1005b92fe // > EditorUI::selectAllWithDirection @ 0x1005b935a // // 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:19 +0000 // char __fastcall LevelEditorLayer::validGroup(__int64 a1, __int64 a2, int a3) { int v3; // eax unsigned int v4; // esi int v5; // ecx char result; // al unsigned __int64 v7; // r8 __int16 v8; // r9 unsigned __int16 v9; // dx __int64 v10; // rax __int64 v11; // rsi __int64 v12; // rax v3 = *(_DWORD *)(a2 + 1204); v4 = *(unsigned __int16 *)(a2 + 1202); v5 = (_WORD)v3 == 0 ? -1 : v3; result = *(_WORD *)(a1 + 14210) == 0xFFFF || *(_WORD *)(a1 + 14210) == (unsigned __int16)v4 || *(_WORD *)(a1 + 14210) == (unsigned __int16)v5; if ( a3 ) { v7 = 9999; v8 = 9999; if ( (__int16)v5 < 9999 ) v8 = v5; v9 = -1; if ( v8 >= 0 ) v9 = v8; if ( result ) { if ( (__int16)v4 < 9999 ) v7 = v4; if ( (__int16)v7 <= 0 ) v7 = 0; v10 = *(_QWORD *)(a1 + 14528); v11 = *(_QWORD *)(v10 + (((unsigned int)v7 >> 3) & 0x7F8)); if ( _bittest64(&v11, v7) ) { return 0; } else if ( (v5 & 0x8000u) != 0 ) { return 1; } else { v12 = *(_QWORD *)(v10 + 8 * ((unsigned __int64)v9 >> 6)); return !_bittest64(&v12, v9); } } else { return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source