//
// LevelEditorLayer::addPlayerPoint from 0x79ad88 to 0x79addc (84 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::postUpdate @ 0x79b164
// > ??> @ 0xc7768
//
// 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::addPlayerPoint(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 + 1801;
v4 = a1[1803];
v5 = a1[1802];
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[266] = (cocos2d::CCPoint *)result;
return result;
}