//
// ShareLevelLayer::onSettings from 0x7f3734 to 0x7f377c (72 bytes)
//
// 3 xrefs:
// > ??> @ 0xc12d0
// > ShareLevelLayer::init @ 0x7f453c
// > ??> @ 0x1545a38
//
// This function is hookable on this platform (idp: arm, 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:54:36 +0000
//
__int64 __fastcall ShareLevelLayer::onSettings(ShareLevelSettingsLayer **this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
ShareLevelLayer *v4; // x2
__int64 v5; // x0
v3 = (GameManager *)GameManager::sharedState((GameManager *)this);
GameManager::setGameVariable(v3, "0029", 1u);
v5 = ShareLevelSettingsLayer::create(*(this + 83), (GJGameLevel *)this, v4);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);
}