//
// LevelBrowserLayer::setSearchObject from 0x6e7da4 to 0x6e7df0 (76 bytes)
//
// 5 xrefs:
// > LevelBrowserLayer::loadPage @ 0x6e9ad4
// > LevelBrowserLayer::init @ 0x6eac40
// > LevelBrowserLayer::init @ 0x6eac50
// > LevelListLayer::init @ 0xa75c90
// > ??> @ 0x6d8d8
//
// 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; // x2
m_searchObject = a1->m_searchObject;
if ( 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;
}
}