//
// MoreSearchLayer::onLegendary from 0x10070b710 to 0x10070b74a (58 bytes)
//
// 1 xrefs:
// > MoreSearchLayer::init @ 0x10070a61e
//
// 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 12:36:03 +0000
//
void MoreSearchLayer::onLegendary()
{
__int64 v0; // rbx
__int64 v1; // rax
unsigned __int8 BoolForKey; // al
v0 = GameLevelManager::sharedState();
v1 = GameLevelManager::sharedState();
BoolForKey = GameLevelManager::getBoolForKey(v1, "legendary_filter");
sub_1005823D0(v0, BoolForKey ^ 1u, "legendary_filter");
}