// // LevelEditorLayer::validGroup from 0x78a110 to 0x78a1e4 (212 bytes) // // 11 xrefs: // > LevelEditorLayer::typeExistsAtPosition @ 0x78a41c // > LevelEditorLayer::objectAtPosition @ 0x78a8c0 // > LevelEditorLayer::objectsAtPosition @ 0x78ac64 // > LevelEditorLayer::addObjectsAtPosition @ 0x78ae88 // > LevelEditorLayer::objectsInRect @ 0x78b2c4 // > LevelEditorLayer::addObjectsInRect @ 0x78b70c // > LevelEditorLayer::updateVisibility @ 0x78e78c // > LevelEditorLayer::updateDebugDraw @ 0x7bede8 // > EditorUI::selectAll @ 0xbdd288 // > EditorUI::selectAllWithDirection @ 0xbdd3b8 // > @ 0x69580 // // 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:26 +0000 // bool __fastcall LevelEditorLayer::validGroup(LevelEditorLayer *this, GameObject *a2, char a3) { int v3; // w3 int v4; // w1 int v5; // w4 _BOOL4 v6; // w4 _BOOL4 v7; // w5 __int64 v8; // x6 v3 = *((__int16 *)a2 + 602); v4 = *((__int16 *)a2 + 601); v5 = *((__int16 *)this + 7105); if ( !v3 ) v3 = -1; v6 = v5 == -1 || v3 == v5 || v4 == v5; v7 = v6; if ( a3 ) { if ( v3 < 0 ) { v3 = -1; } else if ( v3 > 9999 ) { v3 = 9999; } v7 = 0; if ( v6 ) { v8 = *((_QWORD *)this + 1816); if ( v4 > 9999 ) v4 = 9999; if ( v4 < 0 ) v4 = 0; if ( ((1LL << (v4 & 0x3F)) & *(_QWORD *)(v8 + 8 * ((unsigned __int64)v4 >> 6))) == 0 ) return v3 == -1 || ((1LL << (v3 & 0x3F)) & *(_QWORD *)(v8 + 8 * ((unsigned __int64)v3 >> 6))) == 0; } } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source