//
// LevelEditorLayer::addPlayerPoint from 0x46abd4 to 0x46ac02 (46 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::postUpdate @ 0x46ae56
//
// 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:00 +0000
//
int __fastcall LevelEditorLayer::addPlayerPoint(int result, const cocos2d::CCPoint *a2)
{
int v2; // r4
int v3; // r3
v2 = result + 11940;
v3 = *(_DWORD *)(result + 11944);
if ( v3 == *(_DWORD *)(result + 11948) )
return std::vector::__push_back_slow_path(result + 11940, a2);
if ( v3 )
result = cocos2d::CCPoint::CCPoint(*(cocos2d::CCPoint **)(result + 11944), a2);
*(_DWORD *)(v2 + 4) += 8;
return result;
}