// // LevelSearchLayer::onLatestStars from 0x6d0058 to 0x6d017c (292 bytes) // // 3 xrefs: // > @ 0x6d1e8 // > LevelSearchLayer::init @ 0x6d21c8 // > @ 0x122b940 // // 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 LevelSearchLayer::onLatestStars(LevelSearchLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x21 GJSearchObject *SearchObject; // x0 cocos2d::CCScene *v5; // x0 cocos2d::CCTransitionFade *v6; // x0 void *v7; // x0 unsigned int *v8; // x2 int v9; // w1 __int64 v10; // [xsp+40h] [xbp+40h] BYREF LevelSearchLayer::onClose(a1, nullptr); v3 = cocos2d::CCDirector::sharedDirector(); sub_D153B8((int)&v10, &byte_F288A0); SearchObject = (GJSearchObject *)LevelSearchLayer::getSearchObject(a1, 0xBu, (__int64)&v10); v5 = LevelBrowserLayer::scene(SearchObject); v6 = cocos2d::CCTransitionFade::create(0.5, v5); cocos2d::CCDirector::pushScene(v3, v6); v7 = (void *)(v10 - 24); if ( (__int64 *)(v10 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v8 = (unsigned int *)(v10 - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *(_DWORD *)(v10 - 8); *(_DWORD *)(v10 - 8) = v9 - 1; } if ( v9 <= 0 ) operator delete(v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source