// // LevelEditorLayer::lockedLayerForObject from 0x78b868 to 0x78b90c (164 bytes) // // 3 xrefs: // > LevelEditorLayer::lockedLayerForObjectString @ 0x799dac // > EditorUI::onCreate @ 0x7ca7d0 // > @ 0xc35c8 // // 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::lockedLayerForObject(LevelEditorLayer *this, int a2, int a3) { __int64 v3; // x7 __int64 result; // x0 if ( !*((_DWORD *)this + 3638) ) return 0xFFFFFFFFLL; if ( a2 > 9999 ) a2 = 9999; if ( a2 < 0 ) a2 = 0; if ( a3 <= 0 ) { if ( ((1LL << (a2 & 0x3F)) & *(_QWORD *)(*((_QWORD *)this + 1816) + 8 * ((unsigned __int64)a2 >> 6))) != 0 ) return (unsigned int)a2; else return 0xFFFFFFFFLL; } else { v3 = *((_QWORD *)this + 1816); result = (unsigned int)a2; if ( ((1LL << (a2 & 0x3F)) & *(_QWORD *)(v3 + 8 * ((unsigned __int64)a2 >> 6))) == 0 ) { if ( a3 > 9999 ) a3 = 9999; if ( ((1LL << (a3 & 0x3F)) & *(_QWORD *)(v3 + 8 * ((unsigned __int64)a3 >> 6))) != 0 ) return (unsigned int)a3; else return 0xFFFFFFFFLL; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source