//
// EditorUI::addSnapPosition from 0x4821ae to 0x4821d0 (34 bytes)
//
// 1 xrefs:
// > EditorUI::onCreateObject @ 0x487412
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:49:23 +0000
//
int __fastcall EditorUI::addSnapPosition(cocos2d::CCArray **a1, int a2)
{
cocos2d::CCObject *v4; // r4
v4 = (cocos2d::CCObject *)cocos2d::CCNode::create((cocos2d::CCNode *)a1);
(*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v4 + 92))(v4, a2);
return cocos2d::CCArray::addObject(a1[164], v4);
}