{"type": "func", "start": 5372780432, "end": 5372780541, "name": "LevelBrowserLayer::create", "pseudocode": "// \n// LevelBrowserLayer::create from 0x1403e1f90 to 0x1403e1ffd (109 bytes)\n// \n// 31 xrefs:\n// > AccountReviewPopup::onJumpRow @ 0x1400bbfc1\n// > AccountReviewPopup::jumpTo @ 0x1400bc1ef\n// > CreatorLayer::onMyLevels @ 0x140136f99\n// > CreatorLayer::onSavedLevels @ 0x1401374ec\n// > CreatorLayer::onFeaturedLevels @ 0x140137770\n// > CreatorLayer::onTopLists @ 0x14013786a\n// > CreatorLayer::onMapPacks @ 0x1401379b0\n// > CommentCell::onGoToLevel @ 0x14015521f\n// > GJScoreCell::onViewProfile @ 0x140156ae4\n// > GJNotificationCell::onViewTarget @ 0x14015c7bc\n// > DailyLevelPage::onTheSafe @ 0x140172ae1\n// > LevelBrowserLayer::scene @ 0x1403e1f66\n// > LevelBrowserLayer::FLAlert_Clicked @ 0x1403ea73b\n// > LevelInfoLayer::onAddToList @ 0x14041e81d\n// > LevelListLayer::onBack @ 0x14042f241\n// > LevelSearchLayer::onMostDownloaded @ 0x1404397ac\n// > LevelSearchLayer::onMostLikes @ 0x14043986c\n// > LevelSearchLayer::onHyped @ 0x14043992c\n// > LevelSearchLayer::onTrending @ 0x1404399ec\n// > LevelSearchLayer::onMagic @ 0x140439aac\n// > LevelSearchLayer::onMostRecent @ 0x140439b6c\n// > LevelSearchLayer::onLatestStars @ 0x140439c2c\n// > LevelSearchLayer::onFriends @ 0x140439cec\n// > LevelSearchLayer::onFollowed @ 0x140439dac\n// > LevelSearchLayer::onSearch @ 0x140439fa3\n// > LevelSearchLayer::onSearchUser @ 0x14043a202\n// > SetupSmartBlockLayer::onSelectTemplate @ 0x1405ee3e8\n// > SetupSmartTemplateLayer::FLAlert_Clicked @ 0x1405ef228\n// > SetupSmartTemplateLayer::onBack @ 0x1405ef65d\n// > SetupSmartTemplateLayer::keyBackClicked @ 0x1405ef764\n// > <???> @ 0x140924eb4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:31:41 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *__fastcall LevelBrowserLayer::create(__int64 a1)\n{\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  void *v5; // [rsp+38h] [rbp+10h]\n\n  v5 = operator new(0x348u);\n  v2 = LevelBrowserLayer::LevelBrowserLayer((__int64)v5);\n  v3 = (cocos2d::CCObject *)v2;\n  if ( v2 )\n  {\n    if ( (unsigned __int8)LevelBrowserLayer::init(v2, a1) )\n    {\n      cocos2d::CCObject::autorelease(v3);\n      return v3;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);\n    return nullptr;\n  }\n  return v3;\n}", "assembly": "; \n; LevelBrowserLayer::create from 0x1403e1f90 to 0x1403e1ffd (109 bytes)\n; \n; 31 xrefs:\n; > AccountReviewPopup::onJumpRow @ 0x1400bbfc1\n; > AccountReviewPopup::jumpTo @ 0x1400bc1ef\n; > CreatorLayer::onMyLevels @ 0x140136f99\n; > CreatorLayer::onSavedLevels @ 0x1401374ec\n; > CreatorLayer::onFeaturedLevels @ 0x140137770\n; > CreatorLayer::onTopLists @ 0x14013786a\n; > CreatorLayer::onMapPacks @ 0x1401379b0\n; > CommentCell::onGoToLevel @ 0x14015521f\n; > GJScoreCell::onViewProfile @ 0x140156ae4\n; > GJNotificationCell::onViewTarget @ 0x14015c7bc\n; > DailyLevelPage::onTheSafe @ 0x140172ae1\n; > LevelBrowserLayer::scene @ 0x1403e1f66\n; > LevelBrowserLayer::FLAlert_Clicked @ 0x1403ea73b\n; > LevelInfoLayer::onAddToList @ 0x14041e81d\n; > LevelListLayer::onBack @ 0x14042f241\n; > LevelSearchLayer::onMostDownloaded @ 0x1404397ac\n; > LevelSearchLayer::onMostLikes @ 0x14043986c\n; > LevelSearchLayer::onHyped @ 0x14043992c\n; > LevelSearchLayer::onTrending @ 0x1404399ec\n; > LevelSearchLayer::onMagic @ 0x140439aac\n; > LevelSearchLayer::onMostRecent @ 0x140439b6c\n; > LevelSearchLayer::onLatestStars @ 0x140439c2c\n; > LevelSearchLayer::onFriends @ 0x140439cec\n; > LevelSearchLayer::onFollowed @ 0x140439dac\n; > LevelSearchLayer::onSearch @ 0x140439fa3\n; > LevelSearchLayer::onSearchUser @ 0x14043a202\n; > SetupSmartBlockLayer::onSelectTemplate @ 0x1405ee3e8\n; > SetupSmartTemplateLayer::FLAlert_Clicked @ 0x1405ef228\n; > SetupSmartTemplateLayer::onBack @ 0x1405ef65d\n; > SetupSmartTemplateLayer::keyBackClicked @ 0x1405ef764\n; > <???> @ 0x140924eb4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:31:41 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403e1f90\npush    rdi                                                            ; +0x5, 0x1403e1f95\nsub     rsp, 20h                                                       ; +0x6, 0x1403e1f96\nmov     rdi, rcx                                                       ; +0xa, 0x1403e1f9a\nmov     ecx, 348h; Size                                                ; +0xd, 0x1403e1f9d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x1403e1fa2\nmov     [rsp+28h+arg_8], rax                                           ; +0x17, 0x1403e1fa7\nmov     rcx, rax                                                       ; +0x1c, 0x1403e1fac\ncall    LevelBrowserLayer__LevelBrowserLayer                           ; +0x1f, 0x1403e1faf\nmov     rbx, rax                                                       ; +0x24, 0x1403e1fb4\ntest    rax, rax                                                       ; +0x27, 0x1403e1fb7\njz      short loc_1403E1FEF                                            ; +0x2a, 0x1403e1fba\nmov     rdx, rdi                                                       ; +0x2c, 0x1403e1fbc\nmov     rcx, rax                                                       ; +0x2f, 0x1403e1fbf\ncall    LevelBrowserLayer__init                                        ; +0x32, 0x1403e1fc2\nmov     rcx, rbx                                                       ; +0x37, 0x1403e1fc7\ntest    al, al                                                         ; +0x3a, 0x1403e1fca\njz      short loc_1403E1FE2                                            ; +0x3c, 0x1403e1fcc\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x3e, 0x1403e1fce\nmov     rax, rbx                                                       ; +0x44, 0x1403e1fd4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x47, 0x1403e1fd7\nadd     rsp, 20h                                                       ; +0x4c, 0x1403e1fdc\npop     rdi                                                            ; +0x50, 0x1403e1fe0\nretn                                                                   ; +0x51, 0x1403e1fe1\nmov     rax, [rbx]                                                     ; +0x52, 0x1403e1fe2\nmov     edx, 1                                                         ; +0x55, 0x1403e1fe5\ncall    qword ptr [rax+8]                                              ; +0x5a, 0x1403e1fea\nxor     ebx, ebx                                                       ; +0x5d, 0x1403e1fed\nmov     rax, rbx                                                       ; +0x5f, 0x1403e1fef\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x62, 0x1403e1ff2\nadd     rsp, 20h                                                       ; +0x67, 0x1403e1ff7\npop     rdi                                                            ; +0x6b, 0x1403e1ffb\nretn                                                                   ; +0x6c, 0x1403e1ffc", "xrefs": ["AccountReviewPopup::onJumpRow @ 0x1400bbfc1", "AccountReviewPopup::jumpTo @ 0x1400bc1ef", "CreatorLayer::onMyLevels @ 0x140136f99", "CreatorLayer::onSavedLevels @ 0x1401374ec", "CreatorLayer::onFeaturedLevels @ 0x140137770", "CreatorLayer::onTopLists @ 0x14013786a", "CreatorLayer::onMapPacks @ 0x1401379b0", "CommentCell::onGoToLevel @ 0x14015521f", "GJScoreCell::onViewProfile @ 0x140156ae4", "GJNotificationCell::onViewTarget @ 0x14015c7bc", "DailyLevelPage::onTheSafe @ 0x140172ae1", "LevelBrowserLayer::scene @ 0x1403e1f66", "LevelBrowserLayer::FLAlert_Clicked @ 0x1403ea73b", "LevelInfoLayer::onAddToList @ 0x14041e81d", "LevelListLayer::onBack @ 0x14042f241", "LevelSearchLayer::onMostDownloaded @ 0x1404397ac", "LevelSearchLayer::onMostLikes @ 0x14043986c", "LevelSearchLayer::onHyped @ 0x14043992c", "LevelSearchLayer::onTrending @ 0x1404399ec", "LevelSearchLayer::onMagic @ 0x140439aac", "LevelSearchLayer::onMostRecent @ 0x140439b6c", "LevelSearchLayer::onLatestStars @ 0x140439c2c", "LevelSearchLayer::onFriends @ 0x140439cec", "LevelSearchLayer::onFollowed @ 0x140439dac", "LevelSearchLayer::onSearch @ 0x140439fa3", "LevelSearchLayer::onSearchUser @ 0x14043a202", "SetupSmartBlockLayer::onSelectTemplate @ 0x1405ee3e8", "SetupSmartTemplateLayer::FLAlert_Clicked @ 0x1405ef228", "SetupSmartTemplateLayer::onBack @ 0x1405ef65d", "SetupSmartTemplateLayer::keyBackClicked @ 0x1405ef764", "<???> @ 0x140924eb4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}