//
// LevelEditorLayer::addPlayer2Point from 0x3750a4 to 0x3750f4 (80 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::postUpdate @ 0x37525e
//
// 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::addPlayer2Point(LevelEditorLayer *a1, cocos2d::CCPoint a2, bool a3)
{
float x; // r5
std::vector> *p_m_player2Points; // r0
std::vector *m_finish; // r3
x = a2.x;
if ( LODWORD(a2.y) || a1->m_player2Points.m_start == a1->m_player2Points.m_finish )
{
p_m_player2Points = &a1->m_player2Points;
m_finish = a1->m_player2Points.m_finish;
if ( m_finish == a1->m_player2Points.m_reserveEnd )
{
std::vector>::_M_emplace_back_aux<>((int)p_m_player2Points);
}
else
{
if ( m_finish )
{
m_finish->m_start = nullptr;
m_finish->m_finish = nullptr;
m_finish->m_reserveEnd = nullptr;
}
a1->m_player2Points.m_finish = m_finish + 1;
}
}
std::vector::push_back((int)&a1->m_player2Points.m_finish[-1], (const cocos2d::CCPoint *)LODWORD(x));
}