//
// LevelEditorLayer::didRotateGameplay from 0x1402df8c0 to 0x1402df926 (102 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405863e8
// > ??> @ 0x1406d353c
//
// 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 LevelEditorLayer::didRotateGameplay(LevelEditorLayer *a1)
{
__int64 v2; // rax
std::_Vector_val>::pointer Mylast; // rcx
cocos2d::CCPoint v4; // [rsp+30h] [rbp+8h] BYREF
a1->m_player1->getPosition_0(a1->m_player1);
cocos2d::CCPoint::CCPoint(&v4);
Mylast = a1->m_touchPoints._Mypair._Myval2._Mylast;
if ( Mylast == a1->m_touchPoints._Mypair._Myval2._Myend )
{
sub_1402F2C90(&a1->m_touchPoints, a1->m_touchPoints._Mypair._Myval2._Mylast, v2);
}
else
{
cocos2d::CCPoint::CCPoint(Mylast);
++a1->m_touchPoints._Mypair._Myval2._Mylast;
}
}