//
// MoreSearchLayer::create from 0x495570 to 0x49561c (172 bytes)
//
// 1 xrefs:
// > LevelSearchLayer::onMoreOptions @ 0x495622
//
// 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:41 +0000
//
FLAlertLayer *__fastcall MoreSearchLayer::create(MoreSearchLayer *this)
{
FLAlertLayer *v1; // r4
int v2; // r3
FLAlertLayer *v3; // r0
v1 = (FLAlertLayer *)operator new(0x22Cu);
FLAlertLayer::FLAlertLayer(v1);
*(_DWORD *)v1 = &off_C970A8;
*((_DWORD *)v1 + 66) = &off_C97350;
*((_DWORD *)v1 + 67) = &off_C97388;
*((_DWORD *)v1 + 68) = &off_C97394;
*((_DWORD *)v1 + 69) = &off_C973A4;
*((_DWORD *)v1 + 70) = &off_C973B8;
*((_DWORD *)v1 + 79) = &off_C973D0;
*((_DWORD *)v1 + 83) = &off_C97410;
*((_DWORD *)v1 + 110) = &off_C97420;
*((_DWORD *)v1 + 130) = 0;
*((_DWORD *)v1 + 131) = 0;
*((_DWORD *)v1 + 132) = 0;
*((_DWORD *)v1 + 133) = 0;
*((_DWORD *)v1 + 134) = 0;
*((_DWORD *)v1 + 135) = 0;
*((_DWORD *)v1 + 136) = 0;
*((_DWORD *)v1 + 137) = 0;
*((_DWORD *)v1 + 138) = 0;
if ( MoreSearchLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(FLAlertLayer *))(v2 + 8))(v3);
}
return v1;
}