{"type": "func", "start": 5371628448, "end": 5371628521, "name": "LevelBrowserLayer::scene", "pseudocode": "// \n// LevelBrowserLayer::scene from 0x1402c8ba0 to 0x1402c8be9 (73 bytes)\n// \n// 16 xrefs:\n// > MapPackCell::onClick @ 0x1400b2857\n// > EditLevelLayer::onBack @ 0x1400d96fe\n// > EditLevelLayer::onBack @ 0x1400d976d\n// > GameManager::returnToLastScene @ 0x14018a00c\n// > GameManager::returnToLastScene @ 0x14018a1af\n// > GameManager::returnToLastScene @ 0x14018a273\n// > InfoLayer::onOriginal @ 0x1402bd5a6\n// > LevelBrowserLayer::onSavedMode @ 0x1402ce01a\n// > LevelBrowserLayer::onLocalMode @ 0x1402ce0fa\n// > LevelBrowserLayer::onMyOnlineLevels @ 0x1402ce3c8\n// > LevelBrowserLayer::onFavorites @ 0x1402ce4b7\n// > LevelBrowserLayer::onSaved @ 0x1402ce597\n// > LevelListLayer::onBack @ 0x1403073df\n// > UploadListPopup::onBack @ 0x14030bcee\n// > UploadPopup::onBack @ 0x1404910ae\n// > <???> @ 0x1406d2c54\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\ncocos2d::CCScene *LevelBrowserLayer::scene(GJSearchObject *a1)\n{\n  cocos2d::CCScene *v2; // rdi\n  __int64 v3; // rdx\n  __int64 v4; // rcx\n  LevelBrowserLayer *v5; // rax\n\n  v2 = (cocos2d::CCScene *)cocos2d::CCScene::create(a1);\n  *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v4, v3) + 224) = v2;\n  v5 = LevelBrowserLayer::create(a1);\n  v2->addChild_1(v2, v5);\n  return v2;\n}", "assembly": "; \n; LevelBrowserLayer::scene from 0x1402c8ba0 to 0x1402c8be9 (73 bytes)\n; \n; 16 xrefs:\n; > MapPackCell::onClick @ 0x1400b2857\n; > EditLevelLayer::onBack @ 0x1400d96fe\n; > EditLevelLayer::onBack @ 0x1400d976d\n; > GameManager::returnToLastScene @ 0x14018a00c\n; > GameManager::returnToLastScene @ 0x14018a1af\n; > GameManager::returnToLastScene @ 0x14018a273\n; > InfoLayer::onOriginal @ 0x1402bd5a6\n; > LevelBrowserLayer::onSavedMode @ 0x1402ce01a\n; > LevelBrowserLayer::onLocalMode @ 0x1402ce0fa\n; > LevelBrowserLayer::onMyOnlineLevels @ 0x1402ce3c8\n; > LevelBrowserLayer::onFavorites @ 0x1402ce4b7\n; > LevelBrowserLayer::onSaved @ 0x1402ce597\n; > LevelListLayer::onBack @ 0x1403073df\n; > UploadListPopup::onBack @ 0x14030bcee\n; > UploadPopup::onBack @ 0x1404910ae\n; > <???> @ 0x1406d2c54\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402c8ba0\npush    rdi                                                            ; +0x5, 0x1402c8ba5\nsub     rsp, 20h                                                       ; +0x6, 0x1402c8ba6\nmov     rbx, rcx                                                       ; +0xa, 0x1402c8baa\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0xd, 0x1402c8bad\nmov     rdi, rax                                                       ; +0x13, 0x1402c8bb3\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x16, 0x1402c8bb6\nmov     rcx, rbx                                                       ; +0x1c, 0x1402c8bbc\nmov     [rax+0E0h], rdi                                                ; +0x1f, 0x1402c8bbf\ncall    LevelBrowserLayer__create                                      ; +0x26, 0x1402c8bc6\nmov     r8, [rdi]                                                      ; +0x2b, 0x1402c8bcb\nmov     rdx, rax                                                       ; +0x2e, 0x1402c8bce\nmov     rcx, rdi                                                       ; +0x31, 0x1402c8bd1\ncall    qword ptr [r8+1C0h]                                            ; +0x34, 0x1402c8bd4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3b, 0x1402c8bdb\nmov     rax, rdi                                                       ; +0x40, 0x1402c8be0\nadd     rsp, 20h                                                       ; +0x43, 0x1402c8be3\npop     rdi                                                            ; +0x47, 0x1402c8be7\nretn                                                                   ; +0x48, 0x1402c8be8", "xrefs": ["MapPackCell::onClick @ 0x1400b2857", "EditLevelLayer::onBack @ 0x1400d96fe", "EditLevelLayer::onBack @ 0x1400d976d", "GameManager::returnToLastScene @ 0x14018a00c", "GameManager::returnToLastScene @ 0x14018a1af", "GameManager::returnToLastScene @ 0x14018a273", "InfoLayer::onOriginal @ 0x1402bd5a6", "LevelBrowserLayer::onSavedMode @ 0x1402ce01a", "LevelBrowserLayer::onLocalMode @ 0x1402ce0fa", "LevelBrowserLayer::onMyOnlineLevels @ 0x1402ce3c8", "LevelBrowserLayer::onFavorites @ 0x1402ce4b7", "LevelBrowserLayer::onSaved @ 0x1402ce597", "LevelListLayer::onBack @ 0x1403073df", "UploadListPopup::onBack @ 0x14030bcee", "UploadPopup::onBack @ 0x1404910ae", "<???> @ 0x1406d2c54"], "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"}