//
// GJScaleControl::create from 0x100641840 to 0x100641970 (304 bytes)
//
// 1 xrefs:
// > EditorUI::init @ 0x100005555
//
// This function is hookable on this platform (idp: pc, 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 12:34:43 +0000
//
char *GJScaleControl::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x268u);
cocos2d::CCLayer::CCLayer((__int64)v0);
*(_QWORD *)v0 = off_100B81890;
*((_QWORD *)v0 + 40) = off_100B81D20;
*((_QWORD *)v0 + 41) = &off_100B81D90;
*((_QWORD *)v0 + 42) = off_100B81DA8;
*((_QWORD *)v0 + 43) = off_100B81DC8;
*((_QWORD *)v0 + 44) = off_100B81DF0;
*(_OWORD *)(v0 + 408) = 0;
*((_QWORD *)v0 + 53) = 0;
*((_DWORD *)v0 + 108) = -1;
*(_QWORD *)(v0 + 436) = 0;
*((_WORD *)v0 + 229) = 0;
*((_QWORD *)v0 + 56) = 0;
v0[456] = 0;
*(_OWORD *)(v0 + 488) = 0;
*(_OWORD *)(v0 + 504) = 0;
*(_OWORD *)(v0 + 520) = 0;
*(_OWORD *)(v0 + 536) = 0;
*(_OWORD *)(v0 + 552) = 0;
*(_OWORD *)(v0 + 568) = 0;
*((_QWORD *)v0 + 73) = 0x3F00000040000000LL;
*((_DWORD *)v0 + 148) = 0;
*((_QWORD *)v0 + 75) = 0;
v0[608] = 0;
if ( (unsigned __int8)GJScaleControl::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}