{"type": "func", "start": 7125552, "end": 7125660, "name": "CreatorLayer::onTopLists", "pseudocode": "// \n// CreatorLayer::onTopLists from 0x6cba30 to 0x6cba9c (108 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x66990\n// > CreatorLayer::init @ 0x6cc3a0\n// > <???> @ 0x122b510\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::onTopLists(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  SearchType v2; // w1\n  GJSearchObject *v3; // x0\n  GJSearchObject *v4; // x20\n  cocos2d::CCDirector *v5; // x21\n  cocos2d::CCScene *v6; // x0\n  cocos2d::CCTransitionFade *v7; // x0\n\n  if ( CreatorLayer::canPlayOnlineLevels(a1) )\n  {\n    v3 = (GJSearchObject *)GJSearchObject::create((GJSearchObject *)&byte_6, v2);\n    v3->m_searchMode = 1;\n    v4 = v3;\n    v5 = cocos2d::CCDirector::sharedDirector();\n    v6 = LevelBrowserLayer::scene(v4);\n    v7 = cocos2d::CCTransitionFade::create(0.5, v6);\n    cocos2d::CCDirector::pushScene(v5, v7);\n    GameManager::sharedState()->m_sceneEnum = 1;\n  }\n}", "assembly": "; \n; CreatorLayer::onTopLists from 0x6cba30 to 0x6cba9c (108 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x66990\n; > CreatorLayer::init @ 0x6cc3a0\n; > <???> @ 0x122b510\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_30]!                                ; +0x0, 0x6cba30\nMOV             X29, SP                                                ; +0x4, 0x6cba34\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x6cba38\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x6cba3c\nBL              _ZN12CreatorLayer19canPlayOnlineLevelsEv; CreatorLayer::canPlayOnlineLevels(void) ; +0x10, 0x6cba40\nUXTB            W0, W0                                                 ; +0x14, 0x6cba44\nCBZ             W0, loc_6CBA8C                                         ; +0x18, 0x6cba48\nMOV             W0, #6                                                 ; +0x1c, 0x6cba4c\nMOV             W19, #1                                                ; +0x20, 0x6cba50\nBL              _ZN14GJSearchObject6createE10SearchType; GJSearchObject::create(SearchType) ; +0x24, 0x6cba54\nSTR             W19, [X0,#0x180]                                       ; +0x28, 0x6cba58\nMOV             X20, X0                                                ; +0x2c, 0x6cba5c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x30, 0x6cba60\nMOV             X21, X0                                                ; +0x34, 0x6cba64\nMOV             X0, X20; this                                          ; +0x38, 0x6cba68\nBL              _ZN17LevelBrowserLayer5sceneEP14GJSearchObject; LevelBrowserLayer::scene(GJSearchObject *) ; +0x3c, 0x6cba6c\nFMOV            S0, #0.5; float                                        ; +0x40, 0x6cba70\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x44, 0x6cba74\nMOV             X1, X0; cocos2d::CCScene *                             ; +0x48, 0x6cba78\nMOV             X0, X21; this                                          ; +0x4c, 0x6cba7c\nBL              _ZN7cocos2d10CCDirector9pushSceneEPNS_7CCSceneE; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x50, 0x6cba80\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x54, 0x6cba84\nSTR             W19, [X0,#0x25C]                                       ; +0x58, 0x6cba88\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x5c, 0x6cba8c\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x60, 0x6cba90\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x6cba94\nRET                                                                    ; +0x68, 0x6cba98", "xrefs": ["<???> @ 0x66990", "CreatorLayer::init @ 0x6cc3a0", "<???> @ 0x122b510"], "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"}