//
// GJScaleControl::create from 0x10000b980 to 0x10000ba91 (273 bytes)
//
// 1 xrefs:
// > EditorUI::init @ 0x1000092f2
//
// 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
//
GJScaleControl *__fastcall GJScaleControl::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x210u);
cocos2d::CCLayer::CCLayer(v0);
*(_QWORD *)v0 = off_1008B1518;
*((_QWORD *)v0 + 40) = off_1008B1998;
*((_QWORD *)v0 + 41) = &off_1008B1A08;
*((_QWORD *)v0 + 42) = off_1008B1A20;
*((_QWORD *)v0 + 43) = off_1008B1A40;
*((_QWORD *)v0 + 44) = off_1008B1A60;
*(_OWORD *)(v0 + 408) = 0;
*((_QWORD *)v0 + 53) = 0;
*((_DWORD *)v0 + 108) = -1;
*(_QWORD *)(v0 + 436) = 0;
*((_WORD *)v0 + 229) = 0;
*((_QWORD *)v0 + 61) = 0;
*((_QWORD *)v0 + 56) = 0;
v0[456] = 0;
*((_QWORD *)v0 + 62) = 0x3F00000040000000LL;
*((_DWORD *)v0 + 126) = 0;
*((_QWORD *)v0 + 64) = 0;
v0[520] = 0;
if ( GJScaleControl::init((GJScaleControl *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (GJScaleControl *)v0;
}