//
// DemonFilterSelectLayer::create from 0x1000545a4 to 0x10005464c (168 bytes)
//
// 1 xrefs:
// > LevelSearchLayer::onSpecialDemon @ 0x100054160
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
DemonFilterSelectLayer *__fastcall DemonFilterSelectLayer::create()
{
char *v0; // x19
v0 = (char *)operator new(0x298u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v0);
*(_QWORD *)v0 = off_100772C88;
*((_QWORD *)v0 + 40) = off_1007731A8;
*((_QWORD *)v0 + 41) = &off_100773218;
*((_QWORD *)v0 + 42) = off_100773230;
*((_QWORD *)v0 + 43) = off_100773250;
*((_QWORD *)v0 + 44) = off_100773270;
*((_QWORD *)v0 + 51) = off_100773298;
*((_QWORD *)v0 + 54) = off_100773318;
*((_QWORD *)v0 + 82) = 0;
*((_DWORD *)v0 + 162) = 0;
*(_OWORD *)(v0 + 632) = 0u;
if ( DemonFilterSelectLayer::init((DemonFilterSelectLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (DemonFilterSelectLayer *)v0;
}