// // LevelEditorLayer::levelSettingsUpdated from 0x10035932c to 0x100359400 (212 bytes) // // 2 xrefs: // > sub_100359668 @ 0x100359670 // > @ 0x1007f4420 // // 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 __fastcall LevelEditorLayer::levelSettingsUpdated(LevelEditorLayer *a1) { GJGameLevel *m_level; // x8 DrawGridLayer *m_drawGridLayer; // x20 LevelSettingsObject *m_levelSettings; // x8 std::string *p_m_guidelineString; // x8 void **p_dst; // x8 float m_sectionYFactor; // s8 _QWORD v8[2]; // [xsp+8h] [xbp-58h] BYREF char v9; // [xsp+1Fh] [xbp-41h] __int128 __dst; // [xsp+20h] [xbp-40h] BYREF char *longStorage; // [xsp+30h] [xbp-30h] m_level = a1->m_level; m_drawGridLayer = a1->m_drawGridLayer; if ( !m_level->m_songID ) { LevelTools::getAudioString(m_level->m_audioTrack, v8); DrawGridLayer::loadTimeMarkers(m_drawGridLayer, v8); if ( (v9 & 0x80000000) == 0 ) goto LABEL_10; p_dst = (void **)v8; goto LABEL_9; } m_levelSettings = a1->m_levelSettings; if ( m_levelSettings->m_guidelineString.m_data.m_short.shortStorage.__elems_[22] < 0 ) { sub_1000097D0( &__dst, (void *)m_levelSettings->m_guidelineString.m_data.m_long.capacitym1, m_levelSettings->m_guidelineString.m_data.m_long.size); } else { p_m_guidelineString = &m_levelSettings->m_guidelineString; __dst = *(_OWORD *)&p_m_guidelineString->m_data.m_short.sizex2; longStorage = p_m_guidelineString->m_data.m_long.longStorage; } DrawGridLayer::loadTimeMarkers(m_drawGridLayer, &__dst); if ( SHIBYTE(longStorage) < 0 ) { p_dst = (void **)&__dst; LABEL_9: operator delete(*p_dst); } LABEL_10: m_sectionYFactor = a1->m_sectionYFactor; GJBaseGameLayer::loadLevelSettings(a1); if ( m_sectionYFactor != a1->m_sectionYFactor ) GJBaseGameLayer::updateAllObjectSection(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source