// // LevelSearchLayer::onMostLikes from 0x140439800 to 0x1404398b5 (181 bytes) // // 3 xrefs: // > LevelSearchLayer::onSearch @ 0x140439ee6 // > LevelSearchLayer::init @ 0x14043522b // > @ 0x140926e58 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:32:18 +0000 // bool __fastcall LevelSearchLayer::onMostLikes(__int64 a1) { void **SearchObject; // rbx __int64 v3; // rdx __int64 v4; // rcx __int64 v5; // r8 __int64 v6; // r9 struct cocos2d::CCScene *v7; // rdi __int64 v8; // rcx cocos2d::CCObject *v9; // rax struct cocos2d::CCScene *v10; // rbx __int64 v11; // rcx cocos2d::CCDirector *v12; // rax __int128 v14; // [rsp+20h] [rbp-28h] BYREF __int64 v15; // [rsp+30h] [rbp-18h] __int64 v16; // [rsp+38h] [rbp-10h] (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 440) + 1032LL))(*(_QWORD *)(a1 + 440), 0); v15 = 0; v14 = 0; LOBYTE(v14) = 0; v16 = 15; SearchObject = LevelSearchLayer::getSearchObject(a1, 2, (__int64)&v14); v7 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(v4, v3, v5, v6); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v8) + 232) = v7; v9 = LevelBrowserLayer::create((__int64)SearchObject); (*(void (__fastcall **)(struct cocos2d::CCScene *, cocos2d::CCObject *))(*(_QWORD *)v7 + 464LL))(v7, v9); v10 = cocos2d::CCTransitionFade::create(0.5, v7); v12 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v11); return cocos2d::CCDirector::pushScene(v12, v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source