//
// EditorUI::addSnapPosition from 0x689008 to 0x689048 (64 bytes)
//
// 2 xrefs:
// > EditorUI::onCreateObject @ 0x6bfe44
// > ??> @ 0x33468
//
// 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 EditorUI::addSnapPosition(EditorUI *a1, cocos2d::CCPoint a2)
{
const cocos2d::CCPoint *v2; // x1
cocos2d::CCNode *v4; // x19
const cocos2d::CCPoint *v5; // [xsp+28h] [xbp+28h]
v5 = v2;
v4 = cocos2d::CCNode::create();
v4->setPosition(v4, v5);
cocos2d::CCArray::addObject(a1->m_snapPositions, v4);
}