//
// LevelSearchLayer::checkDiff from 0x3acae4 to 0x3acb34 (80 bytes)
//
// 9 xrefs:
// > LevelSearchLayer::getSearchDiffKey @ 0x3acb4c
// > LevelSearchLayer::getSearchDiffKey @ 0x3acb56
// > LevelSearchLayer::getSearchDiffKey @ 0x3acb60
// > LevelSearchLayer::getSearchDiffKey @ 0x3acb6a
// > LevelSearchLayer::getSearchDiffKey @ 0x3acb74
// > LevelSearchLayer::getSearchDiffKey @ 0x3acb7e
// > LevelSearchLayer::getSearchDiffKey @ 0x3acb88
// > LevelSearchLayer::getSearchDiffKey @ 0x3acb92
// > LevelSearchLayer::toggleDifficulty @ 0x3acc86
//
// 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
//
bool LevelSearchLayer::checkDiff(LevelSearchLayer *a1, int a2)
{
cocos2d::CCDictionary *m_difficultyDict; // r6
char *DiffKey; // r0
cocos2d::CCString *v4; // r0
std::string v6; // [sp+8h] [bp-8h] BYREF
m_difficultyDict = a1->m_difficultyDict;
DiffKey = (char *)LevelSearchLayer::getDiffKey(a1, a2);
sub_776584((int)&v6, DiffKey);
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(m_difficultyDict, &v6);
LOBYTE(m_difficultyDict) = cocos2d::CCString::boolValue(v4);
sub_774008(&v6);
return (char)m_difficultyDict;
}