//
// LevelEditorLayer::addTouchPoint from 0x79addc to 0x79ae30 (84 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::didRotateGameplay @ 0x79ae80
// > LevelEditorLayer::postUpdate @ 0x79b1f4
// > ??> @ 0x6f388
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:36 +0000
//
__int64 __fastcall LevelEditorLayer::addTouchPoint(cocos2d::CCPoint **a1, const cocos2d::CCPoint *a2)
{
cocos2d::CCPoint **v2; // x19
cocos2d::CCPoint **v3; // x20
cocos2d::CCPoint *v4; // x2
cocos2d::CCPoint *v5; // x0
__int64 result; // x0
v2 = a1 + 1536;
v3 = a1 + 1807;
v4 = a1[1809];
v5 = a1[1808];
if ( v5 == v4 )
return std::vector::__push_back_slow_path(v3, a2);
if ( v5 )
{
cocos2d::CCPoint::CCPoint(v5, a2);
v5 = v3[1];
}
result = (__int64)v5 + 8;
v2[272] = (cocos2d::CCPoint *)result;
return result;
}