// // LevelEditorLayer::lockedLayerForObject from 0x1000bc490 to 0x1000bc4fe (110 bytes) // // 1 xrefs: // > EditorUI::onCreate @ 0x10000ce56 // // 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:32 +0000 // __int64 __fastcall LevelEditorLayer::lockedLayerForObject(__int64 a1, unsigned __int64 a2, int a3) { __int64 result; // rax unsigned __int64 v4; // rcx __int64 v5; // rdi __int64 v6; // rax unsigned __int8 v7; // cf __int64 v8; // rax result = 0xFFFFFFFFLL; if ( *(_DWORD *)(a1 + 14552) ) { v4 = 9999; if ( (int)a2 >= 9999 ) a2 = 9999; if ( (int)a2 <= 0 ) a2 = 0; if ( a3 < 9999 ) v4 = (unsigned int)a3; if ( (int)v4 <= 0 ) v4 = 0; v5 = *(_QWORD *)(a1 + 14528); v6 = *(_QWORD *)(v5 + (((unsigned int)a2 >> 3) & 0x7F8)); v7 = _bittest64(&v6, a2); result = (unsigned int)a2; if ( !v7 ) { if ( a3 <= 0 ) return 0xFFFFFFFFLL; v8 = *(_QWORD *)(v5 + 8LL * ((unsigned int)v4 >> 6)); v7 = _bittest64(&v8, v4); result = (unsigned int)v4; if ( !v7 ) return 0xFFFFFFFFLL; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source