// // LevelEditorLayer::levelSettingsUpdated from 0x66be34 to 0x66bfc4 (400 bytes) // // 3 xrefs: // > `non-virtual thunk to'LevelEditorLayer::levelSettingsUpdated @ 0x66bfd0 // > @ 0xc7008 // > @ 0x11553b0 // // 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 // void LevelEditorLayer::levelSettingsUpdated(LevelEditorLayer *a1) { GJGameLevel *m_level; // x0 DrawGridLayer *m_drawGridLayer; // x22 __int64 v4; // x2 void *v5; // x0 float m_sectionYFactor; // s8 DrawGridLayer *v7; // x21 unsigned int *v8; // x2 int v9; // w1 unsigned int *v10; // x2 __int64 v11; // [xsp+60h] [xbp+60h] BYREF m_level = a1->m_level; if ( m_level->m_songID ) { m_drawGridLayer = a1->m_drawGridLayer; sub_D18D28(&v11, &a1->m_levelSettings->m_guidelineString); DrawGridLayer::loadTimeMarkers((__int64)m_drawGridLayer, &v11); v4 = v11; v5 = (void *)(v11 - 24); if ( (__int64 *)(v11 - 24) == &qword_124B6B0 ) goto LABEL_3; if ( &pthread_create ) { v10 = (unsigned int *)(v11 - 8); do v9 = __ldaxr(v10); while ( __stlxr(v9 - 1, v10) ); goto LABEL_14; } LABEL_16: v9 = *(_DWORD *)(v4 - 8); *(_DWORD *)(v4 - 8) = v9 - 1; goto LABEL_14; } v7 = a1->m_drawGridLayer; LevelTools::getAudioString((LevelTools *)(unsigned int)m_level->m_audioTrack, (__int64)&v11); DrawGridLayer::loadTimeMarkers((__int64)v7, &v11); v4 = v11; v5 = (void *)(v11 - 24); if ( (__int64 *)(v11 - 24) == &qword_124B6B0 ) goto LABEL_3; if ( !&pthread_create ) goto LABEL_16; v8 = (unsigned int *)(v11 - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); LABEL_14: if ( v9 <= 0 ) operator delete(v5); LABEL_3: m_sectionYFactor = a1->m_sectionYFactor; GJBaseGameLayer::loadLevelSettings(a1); if ( a1->m_sectionYFactor != m_sectionYFactor ) GJBaseGameLayer::updateAllObjectSection(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source