//
// DemonFilterSelectLayer::create from 0x4958ec to 0x495984 (152 bytes)
//
// 1 xrefs:
// > LevelSearchLayer::onSpecialDemon @ 0x49598c
//
// 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 DemonFilterSelectLayer::create(DemonFilterSelectLayer *this)
{
FLAlertLayer *v1; // r4
int v2; // r3
FLAlertLayer *v3; // r0
v1 = (FLAlertLayer *)operator new(0x218u);
FLAlertLayer::FLAlertLayer(v1);
*(_DWORD *)v1 = &off_C97448;
*((_DWORD *)v1 + 66) = &off_C976F0;
*((_DWORD *)v1 + 67) = &off_C97728;
*((_DWORD *)v1 + 68) = &off_C97734;
*((_DWORD *)v1 + 69) = &off_C97744;
*((_DWORD *)v1 + 70) = &off_C97758;
*((_DWORD *)v1 + 79) = &off_C97770;
*((_DWORD *)v1 + 83) = &off_C977B0;
*((_DWORD *)v1 + 110) = &off_C977C0;
*((_DWORD *)v1 + 130) = 0;
*((_DWORD *)v1 + 131) = 0;
*((_DWORD *)v1 + 132) = 0;
*((_DWORD *)v1 + 133) = 0;
if ( DemonFilterSelectLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(FLAlertLayer *))(v2 + 8))(v3);
}
return v1;
}