//
// GJTransformControl::create from 0xbd0520 to 0xbd06e8 (456 bytes)
//
// 2 xrefs:
// > EditorUI::init @ 0x7ceef8
// > ??> @ 0x69490
//
// This function is hookable on this platform (idp: arm, 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 13:03:37 +0000
//
__int64 __fastcall GJTransformControl::create(GJTransformControl *this)
{
__int64 v1; // x19
v1 = operator new(0x288u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v1);
*(_QWORD *)(v1 + 424) = 0;
*(_QWORD *)v1 = &off_14E2480;
*(_QWORD *)(v1 + 352) = off_14E29E0;
*(_QWORD *)(v1 + 320) = off_14E2910;
*(_QWORD *)(v1 + 328) = &off_14E2980;
*(_QWORD *)(v1 + 336) = off_14E2998;
*(_QWORD *)(v1 + 344) = off_14E29B8;
*(_DWORD *)(v1 + 432) = -1;
*(_WORD *)(v1 + 436) = 0;
*(_QWORD *)(v1 + 440) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 448));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 456));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 464));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 472));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 480));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 488));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 496));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 504));
*(_QWORD *)(v1 + 512) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 520));
*(_QWORD *)(v1 + 528) = 0;
*(_QWORD *)(v1 + 536) = 0;
*(_QWORD *)(v1 + 544) = 0;
*(_QWORD *)(v1 + 552) = 0;
*(_QWORD *)(v1 + 560) = 0;
*(_QWORD *)(v1 + 568) = 0;
*(_QWORD *)(v1 + 576) = 0;
*(_QWORD *)(v1 + 584) = 0;
*(_BYTE *)(v1 + 600) = 0;
*(_BYTE *)(v1 + 601) = 0;
*(_BYTE *)(v1 + 602) = 0;
*(_BYTE *)(v1 + 603) = 0;
*(float *)(v1 + 592) = 1.0;
*(float *)(v1 + 596) = 1.0;
*(_DWORD *)(v1 + 604) = 0;
*(_DWORD *)(v1 + 608) = 0;
*(_DWORD *)(v1 + 612) = 0;
*(float *)(v1 + 616) = 1.0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 620));
*(_BYTE *)(v1 + 628) = 0;
*(_DWORD *)(v1 + 632) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 636));
if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v1 + 80LL))(v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}