//
// LevelOptionsLayer::create from 0x6a9fc4 to 0x6aa0ac (232 bytes)
//
// 1 xrefs:
// > LevelSettingsLayer::onSettings @ 0x6aa0be
//
// 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:56:34 +0000
//
SetupTriggerPopup *__fastcall LevelOptionsLayer::create(LevelOptionsLayer *this, LevelSettingsObject *a2)
{
SetupTriggerPopup *v3; // r4
int v4; // r3
SetupTriggerPopup *v5; // r0
v3 = (SetupTriggerPopup *)operator new(0x310u);
SetupTriggerPopup::SetupTriggerPopup(v3);
*((_DWORD *)v3 + 181) = 0;
*((_DWORD *)v3 + 182) = 0;
*((_DWORD *)v3 + 178) = 1111490560;
*((_DWORD *)v3 + 179) = -1;
*((_DWORD *)v3 + 180) = 10;
*((_DWORD *)v3 + 183) = 1056964608;
*((_DWORD *)v3 + 190) = 0;
*((_DWORD *)v3 + 191) = 0;
*((_DWORD *)v3 + 184) = 1124204544;
*((_DWORD *)v3 + 189) = 0;
*((_DWORD *)v3 + 194) = 1065353216;
*((_DWORD *)v3 + 192) = 0;
*((_DWORD *)v3 + 193) = 0;
*((_DWORD *)v3 + 195) = 0;
*(_DWORD *)v3 = &off_CDC490;
*((_DWORD *)v3 + 66) = &off_CDC794;
*((_DWORD *)v3 + 67) = &off_CDC7CC;
*((_DWORD *)v3 + 68) = &off_CDC7D8;
*((_DWORD *)v3 + 69) = &off_CDC7E8;
*((_DWORD *)v3 + 70) = &off_CDC7FC;
*((_DWORD *)v3 + 79) = &off_CDC814;
*((_DWORD *)v3 + 83) = &off_CDC854;
*((_DWORD *)v3 + 110) = &off_CDC864;
*((_DWORD *)v3 + 130) = &off_CDC888;
*((_DWORD *)v3 + 131) = &off_CDC894;
if ( LevelOptionsLayer::init(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(SetupTriggerPopup *))(v4 + 8))(v5);
}
return v3;
}