// // CreatorLayer::onMyLevels from 0x1000dbe7c to 0x1000dbf58 (220 bytes) // // 1 xrefs: // > CreatorLayer::init @ 0x1000daee0 // // This function is hookable on this platform (idp: arm, 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 10:58:59 +0000 // __int64 __fastcall CreatorLayer::onMyLevels(__int64 a1) { __int64 v1; // x0 __int64 v2; // x0 char *v3; // x19 __int64 v4; // x0 __int64 IntGameVariable; // x0 __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x0 __int64 v11; // x20 __int64 v12; // x0 __int64 v13; // x1 v1 = GameManager::sharedState(a1); if ( *(_DWORD *)(v1 + 1304) == 102 && (v2 = GameManager::sharedState(v1), (GameManager::onlyCuratedLevels(v2) & 1) == 0) ) { v10 = (__int64)GJSearchObject::create_2(102); v3 = (char *)v10; } else { v3 = GJSearchObject::create_2(98); v4 = GameManager::sharedState(v3); IntGameVariable = GameManager::getIntGameVariable(v4, "0091"); if ( (int)IntGameVariable <= 998 && (v6 = GameManager::sharedState(IntGameVariable), IntGameVariable = GameManager::getIntGameVariable(v6, "0091"), (int)IntGameVariable < 1) ) { v10 = 0; } else { v7 = GameManager::sharedState(IntGameVariable); v8 = GameManager::getIntGameVariable(v7, "0091"); if ( (int)v8 > 998 ) { v10 = 999; } else { v9 = GameManager::sharedState(v8); v10 = GameManager::getIntGameVariable(v9, "0091"); } } *((_DWORD *)v3 + 105) = v10; } v11 = cocos2d::CCDirector::sharedDirector(v10); v12 = LevelBrowserLayer::scene(v3); v13 = cocos2d::CCTransitionFade::create_1(v12, 0.5); return cocos2d::CCDirector::pushScene(v11, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source