//
// LevelEditorLayer::addTouchPoint from 0x1000f1ca0 to 0x1000f1cea (74 bytes)
//
// 0 xrefs:
//
// 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::addTouchPoint(LevelEditorLayer *a1, cocos2d::CCPoint a2)
{
cocos2d::CCPoint *end; // r14
cocos2d::CCPoint *v3; // r14
end = a1->m_touchPoints.__end_;
if ( end >= a1->m_touchPoints.__end_cap_.__value_ )
{
v3 = (cocos2d::CCPoint *)sub_10010D050(&a1->m_touchPoints, *(double *)&a2);
}
else
{
sub_10028CC60(a1->m_touchPoints.__end_);
v3 = end + 1;
a1->m_touchPoints.__end_ = v3;
}
a1->m_touchPoints.__end_ = v3;
}