//
// LevelOptionsLayer2::create from 0x6aa184 to 0x6aa26c (232 bytes)
//
// 1 xrefs:
// > LevelOptionsLayer::onSettings @ 0x6aa280
//
// 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 LevelOptionsLayer2::create(LevelOptionsLayer2 *this, LevelSettingsObject *a2)
{
SetupTriggerPopup *v3; // r4
int v4; // r3
SetupTriggerPopup *v5; // r0
v3 = (SetupTriggerPopup *)operator new(0x310u);
SetupTriggerPopup::SetupTriggerPopup(v3);
*((_DWORD *)v3 + 183) = 1056964608;
*((_DWORD *)v3 + 178) = 1111490560;
*((_DWORD *)v3 + 179) = -1;
*((_DWORD *)v3 + 180) = 10;
*((_DWORD *)v3 + 181) = 0;
*((_DWORD *)v3 + 182) = 0;
*((_DWORD *)v3 + 190) = 0;
*((_DWORD *)v3 + 191) = 0;
*((_DWORD *)v3 + 192) = 0;
*((_DWORD *)v3 + 193) = 0;
*((_DWORD *)v3 + 195) = 0;
*((_DWORD *)v3 + 184) = 1124204544;
*((_DWORD *)v3 + 189) = 0;
*((_DWORD *)v3 + 194) = 1065353216;
*(_DWORD *)v3 = &off_CDC8A8;
*((_DWORD *)v3 + 66) = &off_CDCBAC;
*((_DWORD *)v3 + 67) = &off_CDCBE4;
*((_DWORD *)v3 + 68) = &off_CDCBF0;
*((_DWORD *)v3 + 69) = &off_CDCC00;
*((_DWORD *)v3 + 70) = &off_CDCC14;
*((_DWORD *)v3 + 79) = &off_CDCC2C;
*((_DWORD *)v3 + 83) = &off_CDCC6C;
*((_DWORD *)v3 + 110) = &off_CDCC7C;
*((_DWORD *)v3 + 130) = &off_CDCCA0;
*((_DWORD *)v3 + 131) = &off_CDCCAC;
if ( LevelOptionsLayer2::init(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(SetupTriggerPopup *))(v4 + 8))(v5);
}
return v3;
}