//
// GJScaleControl::create from 0x695438 to 0x69553c (260 bytes)
//
// 2 xrefs:
// > EditorUI::init @ 0x6bc0bc
// > ??> @ 0x5b818
//
// 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 *GJScaleControl::create()
{
__int64 v0; // x19
v0 = operator new(0x210u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v0);
*(_DWORD *)(v0 + 436) = 0;
*(_QWORD *)(v0 + 408) = 0;
*(_DWORD *)(v0 + 440) = 0;
*(_DWORD *)(v0 + 448) = 0;
*(_DWORD *)(v0 + 452) = 0;
*(float *)(v0 + 496) = 2.0;
*(_QWORD *)(v0 + 352) = off_1157978;
*(_QWORD *)v0 = &off_1157430;
*(_QWORD *)(v0 + 320) = off_11578B0;
*(_QWORD *)(v0 + 328) = &off_1157920;
*(_QWORD *)(v0 + 336) = off_1157938;
*(_QWORD *)(v0 + 344) = &off_1157958;
*(_QWORD *)(v0 + 416) = 0;
*(_QWORD *)(v0 + 424) = 0;
*(_DWORD *)(v0 + 432) = -1;
*(_BYTE *)(v0 + 456) = 0;
*(_WORD *)(v0 + 458) = 0;
*(_QWORD *)(v0 + 488) = 0;
*(_DWORD *)(v0 + 504) = 0;
*(_QWORD *)(v0 + 512) = 0;
*(_BYTE *)(v0 + 520) = 0;
*(float *)(v0 + 500) = 0.5;
if ( GJScaleControl::init((GJScaleControl *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return (GJScaleControl *)v0;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
}