//
// LevelSearchLayer::onFollowed from 0x496e80 to 0x496ef0 (112 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:42 +0000
//
int __fastcall LevelSearchLayer::onFollowed(LevelSearchLayer *this, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // r0
cocos2d::CCDirector *v4; // r6
LevelBrowserLayer *SearchObject; // r0
GJSearchObject *v6; // r1
float v7; // r0
cocos2d::CCScene *v8; // r2
cocos2d::CCScene *v9; // r0
int v11[3]; // [sp+0h] [bp-14h] BYREF
v3 = (cocos2d::CCDirector *)LevelSearchLayer::onClose(this, nullptr);
memset(v11, 0, sizeof(v11));
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3);
std::string::__init(v11, &unk_B6B226, 0);
SearchObject = (LevelBrowserLayer *)LevelSearchLayer::getSearchObject(this, 12, (int)v11);
v7 = COERCE_FLOAT(LevelBrowserLayer::scene(SearchObject, v6));
v9 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v7, v8);
cocos2d::CCDirector::pushScene(v4, v9);
return std::string::~string((int)v11);
}