//
// LevelBrowserLayer::setSearchObject from 0x10048cae0 to 0x10048cb23 (67 bytes)
//
// 1 xrefs:
// > LevelListLayer::init @ 0x10035bf9a
//
// 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 __fastcall LevelBrowserLayer::setSearchObject(LevelBrowserLayer *a1, GJSearchObject *a2)
{
GJSearchObject *m_searchObject; // rdi
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;
}
}