// // LevelSearchLayer::onSearch from 0x49975c to 0x499818 (188 bytes) // // 1 xrefs: // > LevelSearchLayer::keyDown @ 0x4998e6 // // 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:44 +0000 // int __fastcall LevelSearchLayer::onSearch(LevelSearchLayer *this, cocos2d::CCObject *a2) { _BOOL4 v3; // r8 LevelBrowserLayer *SearchObject; // r7 cocos2d::CCDirector *v5; // r0 cocos2d::CCDirector *v6; // r4 GJSearchObject *v7; // r1 float v8; // r0 cocos2d::CCScene *v9; // r2 cocos2d::CCScene *v10; // r0 unsigned __int8 v12[12]; // [sp+0h] [bp-28h] BYREF int v13[3]; // [sp+Ch] [bp-1Ch] BYREF int v14[3]; // [sp+18h] [bp-10h] BYREF LevelSearchLayer::onClose(this, nullptr); CCTextInputNode::getString((CCTextInputNode *)v12, *((_DWORD *)this + 83)); memset(v13, 0, sizeof(v13)); std::string::__init(v13, &unk_B6B226, 0); v3 = sub_495078(v12, (unsigned __int8 *)v13); std::string::~string((int)v13); if ( v3 ) { LevelSearchLayer::onMostLikes(this, nullptr); } else { std::string::basic_string(v14, (int)v12); SearchObject = (LevelBrowserLayer *)LevelSearchLayer::getSearchObject(this, 0, (int)v14); v5 = (cocos2d::CCDirector *)std::string::~string((int)v14); v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5); v8 = COERCE_FLOAT(LevelBrowserLayer::scene(SearchObject, v7)); v10 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v8, v9); cocos2d::CCDirector::pushScene(v6, v10); } return std::string::~string((int)v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source