// // LevelEditorLayer::getLockedLayers from 0x676950 to 0x676af0 (416 bytes) // // 2 xrefs: // > EditorPauseLayer::saveLevel @ 0x78e3e4 // > @ 0x43278 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __usercall LevelEditorLayer::getLockedLayers@(LevelEditorLayer *this@, __int64 a2@) { unsigned __int64 v3; // x19 int v4; // w26 size_t v5; // x27 size_t v6; // x26 size_t v7; // x19 size_t v10; // [xsp+78h] [xbp+78h] BYREF unsigned __int64 v11; // [xsp+80h] [xbp+80h] char *v12; // [xsp+88h] [xbp+88h] _BYTE v13[504]; // [xsp+90h] [xbp+90h] BYREF v11 = 500; v3 = 0; v10 = 0; v4 = 1; v12 = v13; do { if ( ((1LL << (v3 & 0x3F)) & this->m_lockedLayers.m_start.m_bitptr[v3 >> 6]) != 0 ) { if ( !v4 ) { v5 = v10; v6 = v10 + 1; if ( v10 + 1 > v11 ) fmt::internal::Array::grow(&v10, v10 + 1); v10 = v6; v12[v5] = 44; } fmt::BasicWriter::FormatInt,char>>(&v10, v3); v4 = 0; } ++v3; } while ( v3 != 10000 ); v7 = v10; if ( v10 + 1 > v11 ) fmt::internal::Array::grow(&v10, v10 + 1); v12[v7] = 0; sub_D153B8(a2, v12); if ( v12 != v13 && v12 ) operator delete[](v12); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source