//
// LevelSearchLayer::onMoreOptions from 0x140436b20 to 0x140436c70 (336 bytes)
//
// 2 xrefs:
// > LevelSearchLayer::init @ 0x14043488a
// > ??> @ 0x140926dec
//
// This function is hookable on this platform (idp: pc, 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 11:32:18 +0000
//
// Hidden C++ exception states: #wind=1
__int64 LevelSearchLayer::onMoreOptions()
{
cocos2d::CCObject *v0; // rbx
__int64 (__fastcall *v1)(__int64); // rdx
v0 = (cocos2d::CCObject *)operator new(0x2E0u);
FLAlertLayer::FLAlertLayer((__int64)v0);
*(_QWORD *)v0 = &MoreSearchLayer::`vftable';
*((_QWORD *)v0 + 40) = &MoreSearchLayer::`vftable';
*((_QWORD *)v0 + 41) = &MoreSearchLayer::`vftable';
*((_QWORD *)v0 + 42) = &MoreSearchLayer::`vftable';
*((_QWORD *)v0 + 43) = &MoreSearchLayer::`vftable';
*((_QWORD *)v0 + 44) = &MoreSearchLayer::`vftable';
*((_QWORD *)v0 + 51) = &MoreSearchLayer::`vftable';
*((_QWORD *)v0 + 54) = &MoreSearchLayer::`vftable';
*((_QWORD *)v0 + 68) = &MoreSearchLayer::`vftable';
*((_QWORD *)v0 + 83) = 0;
*((_QWORD *)v0 + 84) = 0;
*((_QWORD *)v0 + 85) = 0;
*((_QWORD *)v0 + 86) = 0;
*((_QWORD *)v0 + 87) = 0;
*((_QWORD *)v0 + 88) = 0;
*((_QWORD *)v0 + 89) = 0;
*((_QWORD *)v0 + 90) = 0;
*((_QWORD *)v0 + 91) = 0;
if ( (unsigned __int8)MoreSearchLayer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
v0 = nullptr;
}
v1 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v0 + 1064LL);
if ( v1 == FLAlertLayer::show )
return FLAlertLayer::show((__int64)v0);
else
return v1((__int64)v0);
}