//
// GJTransformControl::GJTransformControl from 0x100054c50 to 0x100054d78 (296 bytes)
//
// 2 xrefs:
// > EditorUI::init @ 0x1000093d7
// > GJTransformControl::create @ 0x10000bb67
//
// 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
//
GJTransformControl *__fastcall GJTransformControl::GJTransformControl(GJTransformControl *a1)
{
GJTransformControl *result; // rax
cocos2d::CCLayer::CCLayer(a1);
a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJTransformControl_vtbl *)off_1008B0918;
a1->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1008B0D98;
a1->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1008B0E08;
a1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1008B0E20;
a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1008B0E40;
a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1008B0E60;
a1->m_objects = nullptr;
a1->m_touchID = -1;
a1->m_transformButtonType = 0;
a1->m_delegate = nullptr;
sub_10028CC30(&a1->m_cursorDifference);
sub_10028CC30(&a1->m_topRight);
sub_10028CC30(&a1->m_bottomLeft);
sub_10028CC30(&a1->m_topRightPosition);
sub_10028CC30(&a1->m_bottomLeftPosition);
sub_10028CC30(&a1->m_topRightOrigin);
sub_10028CC30(&a1->m_bottomLeftOrigin);
a1->m_warpSprites = nullptr;
result = (GJTransformControl *)sub_10028CC30(&a1->m_rotatePosition);
a1->m_warpLockButton = nullptr;
*(_QWORD *)&a1->m_scaleX = 0x3F8000003F800000LL;
a1->m_warpLocked = 0;
*(_OWORD *)&a1->m_rotationX = xmmword_100815520;
return result;
}