//
// LevelEditorLayer::didRotateGameplay from 0x1403fe3f0 to 0x1403fe456 (102 bytes)
//
// 2 xrefs:
// > ??> @ 0x14078b2e8
// > ??> @ 0x1409258ec
//
// This function is hookable on this platform (idp: pc, 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 11:31:53 +0000
//
void __fastcall LevelEditorLayer::didRotateGameplay(__int64 a1)
{
const struct cocos2d::CCPoint *v2; // rax
const struct cocos2d::CCPoint *v3; // rax
cocos2d::CCPoint *v4; // rcx
char v5; // [rsp+30h] [rbp+8h] BYREF
v2 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3512) + 200LL))(*(_QWORD *)(a1 + 3512));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, v2);
v4 = *(cocos2d::CCPoint **)(a1 + 15128);
if ( v4 == *(cocos2d::CCPoint **)(a1 + 15136) )
{
sub_1403C0830((const struct cocos2d::CCPoint **)(a1 + 15120), *(const struct cocos2d::CCPoint **)(a1 + 15128), v3);
}
else
{
cocos2d::CCPoint::CCPoint(v4, v3);
*(_QWORD *)(a1 + 15128) += 8LL;
}
}