//
// GJOptionsLayer::create from 0x5d72fc to 0x5d733c (64 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:09 +0000
//
GJOptionsLayer *__fastcall GJOptionsLayer::create(GJOptionsLayer *this, int a2)
{
GJOptionsLayer *v3; // r4
int v4; // r3
GJOptionsLayer *v5; // r0
v3 = (GJOptionsLayer *)operator new(0x30Cu);
GJOptionsLayer::GJOptionsLayer(v3);
if ( GJOptionsLayer::init(v3, (int)this, 280.0) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(GJOptionsLayer *))(v4 + 8))(v5);
}
return v3;
}