//
// EditorOptionsLayer::create from 0x5d47e8 to 0x5d4888 (160 bytes)
//
// 0 xrefs:
//
// 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:54:07 +0000
//
GJOptionsLayer *__fastcall EditorOptionsLayer::create(EditorOptionsLayer *this)
{
GJOptionsLayer *v1; // r4
int v2; // r3
GJOptionsLayer *v3; // r0
v1 = (GJOptionsLayer *)operator new(0x31Cu);
GJOptionsLayer::GJOptionsLayer(v1);
*(_DWORD *)v1 = &off_CB7990;
*((_DWORD *)v1 + 66) = &off_CB7C94;
*((_DWORD *)v1 + 67) = &off_CB7CCC;
*((_DWORD *)v1 + 68) = &off_CB7CD8;
*((_DWORD *)v1 + 69) = &off_CB7CE8;
*((_DWORD *)v1 + 70) = &off_CB7CFC;
*((_DWORD *)v1 + 79) = &off_CB7D14;
*((_DWORD *)v1 + 83) = &off_CB7D54;
*((_DWORD *)v1 + 110) = &off_CB7D64;
*((_DWORD *)v1 + 130) = &off_CB7D88;
*((_DWORD *)v1 + 131) = &off_CB7D94;
*((_DWORD *)v1 + 195) = 0;
*((_DWORD *)v1 + 196) = 0;
if ( EditorOptionsLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(GJOptionsLayer *))(v2 + 8))(v3);
}
return v1;
}