//
// LevelBrowserLayer::setSearchObject from 0x3bac00 to 0x3bac26 (38 bytes)
//
// 3 xrefs:
// > LevelBrowserLayer::loadPage @ 0x3bb918
// > LevelBrowserLayer::init @ 0x3bc0ce
// > LevelListLayer::init @ 0x590894
//
// 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
//
void LevelBrowserLayer::setSearchObject(LevelBrowserLayer *a1, GJSearchObject *a2)
{
GJSearchObject *m_searchObject; // r0
if ( a1->m_searchObject != a2 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
m_searchObject = a1->m_searchObject;
if ( m_searchObject )
cocos2d::CCObject::release(m_searchObject);
a1->m_searchObject = a2;
}
}