//
// GJScaleControl::create from 0x6eb9c4 to 0x6ebaae (234 bytes)
//
// 1 xrefs:
// > EditorUI::init @ 0x48a480
//
// 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:32 +0000
//
cocos2d::CCLayer *__fastcall GJScaleControl::create(GJScaleControl *this)
{
cocos2d::CCLayer *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (cocos2d::CCLayer *)operator new(0x1B4u);
cocos2d::CCLayer::CCLayer(v1);
*(_DWORD *)v1 = &off_CEACB0;
*((_DWORD *)v1 + 66) = &off_CEAEF8;
*((_DWORD *)v1 + 67) = &off_CEAF30;
*((_DWORD *)v1 + 68) = &off_CEAF3C;
*((_DWORD *)v1 + 69) = &off_CEAF4C;
*((_DWORD *)v1 + 70) = &off_CEAF60;
*((_DWORD *)v1 + 82) = -1;
*((_DWORD *)v1 + 79) = 0;
*((_DWORD *)v1 + 80) = 0;
*((_DWORD *)v1 + 81) = 0;
*((_DWORD *)v1 + 83) = 0;
*((_DWORD *)v1 + 84) = 0;
*((_DWORD *)v1 + 86) = 0;
*((_DWORD *)v1 + 87) = 0;
*((_BYTE *)v1 + 352) = 0;
*((_WORD *)v1 + 177) = 0;
*((_DWORD *)v1 + 92) = 0;
*((_DWORD *)v1 + 93) = 0;
*((_DWORD *)v1 + 94) = 0;
*((_DWORD *)v1 + 95) = 0;
*((_DWORD *)v1 + 96) = 0;
*((_DWORD *)v1 + 97) = 0;
*((_DWORD *)v1 + 98) = 0;
*((_DWORD *)v1 + 99) = 0;
*((_DWORD *)v1 + 100) = 0;
*((_DWORD *)v1 + 101) = 0;
*((_DWORD *)v1 + 102) = 0;
*((_DWORD *)v1 + 103) = 0;
*((_DWORD *)v1 + 104) = 0x40000000;
*((_DWORD *)v1 + 106) = 0;
*((_DWORD *)v1 + 105) = 1056964608;
*((_DWORD *)v1 + 107) = 0;
*((_BYTE *)v1 + 432) = 0;
if ( GJScaleControl::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}