{"type": "func", "start": 7125464, "end": 7125552, "name": "CreatorLayer::onFeaturedLevels", "pseudocode": "// \n// CreatorLayer::onFeaturedLevels from 0x6cb9d8 to 0x6cba30 (88 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xbbf08\n// > CreatorLayer::init @ 0x6cc3c8\n// > <???> @ 0x122e820\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CreatorLayer::onFeaturedLevels(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v2; // x19\n  SearchType v3; // w1\n  GJSearchObject *v4; // x0\n  cocos2d::CCScene *v5; // x0\n  cocos2d::CCTransitionFade *v6; // x0\n\n  if ( CreatorLayer::canPlayOnlineLevels(a1) )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector();\n    v4 = (GJSearchObject *)GJSearchObject::create((GJSearchObject *)&byte_6, v3);\n    v5 = LevelBrowserLayer::scene(v4);\n    v6 = cocos2d::CCTransitionFade::create(0.5, v5);\n    cocos2d::CCDirector::pushScene(v2, v6);\n    GameManager::sharedState()->m_sceneEnum = 1;\n  }\n}", "assembly": "; \n; CreatorLayer::onFeaturedLevels from 0x6cb9d8 to 0x6cba30 (88 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xbbf08\n; > CreatorLayer::init @ 0x6cc3c8\n; > <???> @ 0x122e820\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x6cb9d8\nMOV             X29, SP                                                ; +0x4, 0x6cb9dc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x6cb9e0\nBL              _ZN12CreatorLayer19canPlayOnlineLevelsEv; CreatorLayer::canPlayOnlineLevels(void) ; +0xc, 0x6cb9e4\nUXTB            W0, W0; this                                           ; +0x10, 0x6cb9e8\nCBZ             W0, loc_6CBA24                                         ; +0x14, 0x6cb9ec\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x6cb9f0\nMOV             X19, X0                                                ; +0x1c, 0x6cb9f4\nMOV             W0, #6                                                 ; +0x20, 0x6cb9f8\nBL              _ZN14GJSearchObject6createE10SearchType; GJSearchObject::create(SearchType) ; +0x24, 0x6cb9fc\nBL              _ZN17LevelBrowserLayer5sceneEP14GJSearchObject; LevelBrowserLayer::scene(GJSearchObject *) ; +0x28, 0x6cba00\nFMOV            S0, #0.5; float                                        ; +0x2c, 0x6cba04\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x30, 0x6cba08\nMOV             X1, X0; cocos2d::CCScene *                             ; +0x34, 0x6cba0c\nMOV             X0, X19; this                                          ; +0x38, 0x6cba10\nBL              _ZN7cocos2d10CCDirector9pushSceneEPNS_7CCSceneE; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x3c, 0x6cba14\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x40, 0x6cba18\nMOV             W1, #1                                                 ; +0x44, 0x6cba1c\nSTR             W1, [X0,#0x25C]                                        ; +0x48, 0x6cba20\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x4c, 0x6cba24\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x50, 0x6cba28\nRET                                                                    ; +0x54, 0x6cba2c", "xrefs": ["<???> @ 0xbbf08", "CreatorLayer::init @ 0x6cc3c8", "<???> @ 0x122e820"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}