//
// GJRotationControl::GJRotationControl from 0x1003fc7b8 to 0x1003fc828 (112 bytes)
//
// 1 xrefs:
// > GJRotationControl::create @ 0x1003c6f3c
//
// 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
//
GJRotationControl *__fastcall GJRotationControl::GJRotationControl(GJRotationControl *a1)
{
_QWORD *v2; // x0
v2 = (_QWORD *)cocos2d::CCLayer::CCLayer((__int64)a1);
*v2 = &off_100814990;
v2[40] = off_100814E10;
v2[41] = &off_100814E80;
v2[42] = off_100814E98;
v2[43] = &off_100814EB8;
v2[44] = off_100814ED8;
sub_1000229B0((_QWORD *)((char *)v2 + 404));
sub_1000229B0(&a1->m_controlPosition);
*(_QWORD *)&a1->m_startingRotation = 0;
a1->m_touchID = -1;
a1->m_delegate = nullptr;
return a1;
}