//
// GJTransformControl::create from 0x6edb74 to 0x6edcc2 (334 bytes)
//
// 1 xrefs:
// > EditorUI::init @ 0x48a4b6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:33 +0000
//
int *__fastcall GJTransformControl::create(GJTransformControl *this)
{
int *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (int *)operator new(0x1F4u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v1);
*v1 = (int)&off_CEAF78;
v1[66] = (int)&off_CEB1C0;
v1[67] = (int)&off_CEB1F8;
v1[68] = (int)&off_CEB204;
v1[69] = (int)&off_CEB214;
v1[70] = (int)&off_CEB228;
v1[82] = -1;
v1[81] = 0;
*((_WORD *)v1 + 166) = 0;
v1[84] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 85));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 87));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 89));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 91));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 93));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 95));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 97));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 99));
v1[101] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 102));
v1[104] = 0;
v1[105] = 0;
v1[106] = 0;
v1[107] = 0;
v1[108] = 0;
v1[109] = 0;
v1[110] = 0;
v1[111] = 0;
v1[112] = 1065353216;
v1[113] = 1065353216;
*((_BYTE *)v1 + 456) = 0;
*((_BYTE *)v1 + 457) = 0;
*((_BYTE *)v1 + 458) = 0;
*((_BYTE *)v1 + 459) = 0;
v1[115] = 0;
v1[116] = 0;
v1[117] = 0;
v1[118] = 1065353216;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 119));
*((_BYTE *)v1 + 484) = 0;
v1[122] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 123));
if ( (*(int (__fastcall **)(int *))(*v1 + 40))(v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
v2 = *v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}