//
// ShareLevelSettingsLayer::create from 0x4a3408 to 0x4a34a4 (156 bytes)
//
// 1 xrefs:
// > ShareLevelLayer::onSettings @ 0x4a34c0
//
// 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:49:52 +0000
//
FLAlertLayer *__fastcall ShareLevelSettingsLayer::create(
ShareLevelSettingsLayer *this,
GJGameLevel *a2,
ShareLevelLayer *a3)
{
FLAlertLayer *v5; // r4
int v6; // r3
FLAlertLayer *v7; // r0
v5 = (FLAlertLayer *)operator new(0x220u);
FLAlertLayer::FLAlertLayer(v5);
*(_DWORD *)v5 = &off_C98840;
*((_DWORD *)v5 + 66) = &off_C98AE8;
*((_DWORD *)v5 + 67) = &off_C98B20;
*((_DWORD *)v5 + 68) = &off_C98B2C;
*((_DWORD *)v5 + 69) = &off_C98B3C;
*((_DWORD *)v5 + 70) = &off_C98B50;
*((_DWORD *)v5 + 79) = &off_C98B68;
*((_DWORD *)v5 + 83) = &off_C98BA8;
*((_DWORD *)v5 + 110) = &off_C98BB8;
*((_DWORD *)v5 + 130) = &off_C98BDC;
*((_DWORD *)v5 + 135) = 0;
if ( ShareLevelSettingsLayer::init((const cocos2d::CCPoint **)v5, this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = v5;
v5 = nullptr;
(*(void (__fastcall **)(FLAlertLayer *))(v6 + 8))(v7);
}
return v5;
}