//
// LevelEditorLayer::clearPlayerPoints from 0x663f84 to 0x663fe4 (96 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::onPlaytest @ 0x664164
// > ??> @ 0x8bf68
//
// 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::clearPlayerPoints(LevelEditorLayer *a1)
{
std::vector *m_start; // x22
std::vector *m_finish; // x20
void **p_m_start; // x19
void *v5; // x1
m_start = a1->m_player2Points.m_start;
m_finish = a1->m_player2Points.m_finish;
p_m_start = (void **)&m_start->m_start;
a1->m_playerPoints.m_finish = a1->m_playerPoints.m_start;
if ( m_start != m_finish )
{
do
{
v5 = *p_m_start;
p_m_start += 3;
if ( v5 )
operator delete(v5);
}
while ( m_finish != (std::vector *)p_m_start );
}
a1->m_player2Points.m_finish = m_start;
}