// // LevelEditorLayer::getLockedLayers from 0x3737f4 to 0x37389e (170 bytes) // // 1 xrefs: // > EditorPauseLayer::saveLevel @ 0x4014a8 // // 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 // LevelEditorLayer *__fastcall LevelEditorLayer::getLockedLayers(LevelEditorLayer *this, int a2) { int *v2; // r8 int v4; // r7 unsigned int v5; // r5 char *v6; // r0 _DWORD v8[2]; // [sp+4h] [bp-210h] BYREF unsigned int v9[3]; // [sp+Ch] [bp-208h] BYREF char v10; // [sp+18h] [bp-1FCh] BYREF v2 = (int *)(a2 + 12076); v4 = 1; v5 = 0; v9[0] = 0; v9[1] = 500; v9[2] = (unsigned int)&v10; do { sub_365110(v8, *v2, v5); if ( std::_Bit_reference::operator bool((int)v8) ) { if ( !v4 ) { v8[0] = ","; v8[1] = 0; fmt::BasicWriter::operator<<(v9, ",", 0); } fmt::BasicWriter::operator<<(v9, v5); v4 = 0; } ++v5; } while ( v5 != 10000 ); v6 = (char *)fmt::BasicWriter::c_str((int *)v9); sub_776584((int)this, v6); fmt::internal::Array::free((int)v9); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source