// // LevelEditorLayer::toggleLockActiveLayer from 0x78b760 to 0x78b7e4 (132 bytes) // // 2 xrefs: // > EditorUI::onLockLayer @ 0x7c63f8 // > @ 0xc7288 // // 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 // __int64 __fastcall LevelEditorLayer::toggleLockActiveLayer(__int64 this) { __int16 v1; // w1 __int64 v2; // x5 unsigned __int64 v3; // x4 __int64 v4; // x1 __int64 v5; // x3 __int64 v6; // x6 int v7; // w1 v1 = *(_WORD *)(this + 14210); if ( (unsigned __int16)(v1 - 1) <= 0x270Eu && *(_BYTE *)(this + 14010) ) { v2 = *(_QWORD *)(this + 14528); v3 = (unsigned __int64)v1 >> 6; v4 = 1LL << (v1 & 0x3F); v5 = *(_QWORD *)(v2 + 8 * v3); v6 = v5 & ~v4; if ( (v5 & v4) == 0 ) v6 = v5 | v4; *(_QWORD *)(v2 + 8 * v3) = v6; if ( ((1LL << (*(_WORD *)(this + 14210) & 0x3F)) & *(_QWORD *)(*(_QWORD *)(this + 14528) + 8 * ((unsigned __int64)*(__int16 *)(this + 14210) >> 6))) != 0 ) v7 = 1; else v7 = -1; *(_DWORD *)(this + 14552) += v7; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source