// // LevelBrowserLayer::loadPage from 0x1403e4290 to 0x1403e5438 (4520 bytes) // // 18 xrefs: // > LevelBrowserLayer::init @ 0x1403e3fb5 // > LevelBrowserLayer::onGoToLastPage @ 0x1403e64bd // > LevelBrowserLayer::setIDPopupClosed @ 0x1403e6766 // > LevelBrowserLayer::setIDPopupClosed @ 0x1403e69fe // > LevelBrowserLayer::onNextPage @ 0x1403e6bbf // > LevelBrowserLayer::onPrevPage @ 0x1403e6c46 // > LevelBrowserLayer::shareCommentClosed @ 0x1403e83e6 // > LevelBrowserLayer::onRefresh @ 0x1403e8d1c // > LevelBrowserLayer::onClearSearch @ 0x1403e8e37 // > LevelBrowserLayer::setTextPopupClosed @ 0x1403e918a // > LevelBrowserLayer::showImportResult @ 0x1403e9ccf // > LevelBrowserLayer::deleteSelected @ 0x1403e9f58 // > LevelBrowserLayer::onEnter @ 0x1403eaaa6 // > LevelBrowserLayer::onSafeMode @ 0x1403eb1be // > LevelBrowserLayer::reloadPageRows @ 0x1403eb5b1 // > LevelListLayer::init @ 0x14042ce53 // > LevelListLayer::loadLevelsFinished @ 0x14042e8e3 // > @ 0x140924ed8 // // This function is hookable on this platform (idp: pc, 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 11:31:43 +0000 // // Hidden C++ exception states: #wind=20 void __fastcall LevelBrowserLayer::loadPage(__int64 a1, int *a2) { __int64 v4; // rcx cocos2d::CCObject *v5; // rcx _BYTE *Key; // rax size_t v7; // r15 size_t v8; // r8 __int64 v9; // rdx __int64 v10; // rdx __int64 v11; // rcx __int64 v12; // rcx __int64 v13; // r13 unsigned int v14; // r14d __int64 v15; // rdi const char *v16; // rbx const char *v17; // rax char *SearchKey; // rbx __int64 v19; // rcx __int64 v20; // rdx __int128 *v21; // rbx __int64 v22; // rcx __int64 StoredOnlineLevels; // rdi __int128 *v24; // rbx __int64 v25; // rcx char *PageInfo; // rax size_t v27; // r8 __int128 *v28; // r8 __int128 *v29; // r8 __int64 v30; // rcx __int64 v31; // rcx __int128 *v32; // rdx size_t v33; // r8 __int64 v34; // rax void **v35; // rdx __int128 *v36; // rdx __int64 v37; // rax void **v38; // rdx __int64 v39; // rdx __int64 v40; // rcx char v41; // dl __int64 v42; // rax __int64 v43; // rcx __int64 v44; // r13 cocos2d::CCArray *v45; // rdi __int64 v46; // rax unsigned int *v47; // rbx __int64 v48; // rax struct cocos2d::CCObject **v49; // rbx struct cocos2d::CCObject **v50; // r13 struct cocos2d::CCObject *v51; // rdx __int64 v52; // rax __int64 v53; // rcx __int64 v54; // r13 __int64 v55; // rax unsigned int *v56; // rbx __int64 v57; // rax struct cocos2d::CCObject **v58; // rbx struct cocos2d::CCObject **v59; // r13 struct cocos2d::CCObject *v60; // rdx __int64 v61; // rbx __int64 v62; // rcx cocos2d::CCArray *SavedLevelLists; // rax bool v64; // bl __int64 v65; // rcx __int64 v66; // rdx cocos2d::CCArray *v67; // r13 __int64 v68; // rcx int v69; // ebx signed int v70; // r12d int v71; // eax unsigned int v72; // ebx struct cocos2d::CCObject *v73; // rax unsigned int v74; // ebx __int64 v75; // rdx cocos2d::CCString *v76; // rax const char *CString; // rax size_t v78; // r8 __int128 *v79; // r8 __int128 *v80; // r8 __int64 v81; // rdx __int64 v82; // rcx __int64 v83; // rax const struct cocos2d::CCPoint *v84; // rax char *v85; // rdi __int64 v86; // rbx const struct cocos2d::CCPoint *v87; // rax const struct cocos2d::CCPoint *v88; // rax const struct cocos2d::CCPoint *v89; // rax __int64 v90; // rax void **v91; // [rsp+B8h] [rbp-80h] BYREF void **v92; // [rsp+C0h] [rbp-78h] BYREF int v93; // [rsp+C8h] [rbp-70h] __int128 v94; // [rsp+D0h] [rbp-68h] BYREF __int64 v95; // [rsp+E0h] [rbp-58h] __int64 v96; // [rsp+E8h] [rbp-50h] __int64 v97; // [rsp+F0h] [rbp-48h] BYREF void *Src[2]; // [rsp+F8h] [rbp-40h] BYREF size_t Size; // [rsp+108h] [rbp-30h] unsigned __int64 v100; // [rsp+110h] [rbp-28h] void *v101[2]; // [rsp+118h] [rbp-20h] BYREF size_t v102; // [rsp+128h] [rbp-10h] unsigned __int64 v103; // [rsp+130h] [rbp-8h] char v104[32]; // [rsp+138h] [rbp+0h] BYREF __int128 v105; // [rsp+158h] [rbp+20h] BYREF __int64 v106; // [rsp+168h] [rbp+30h] __int64 v107; // [rsp+170h] [rbp+38h] __int128 v108; // [rsp+178h] [rbp+40h] BYREF __int64 v109; // [rsp+188h] [rbp+50h] unsigned __int64 v110; // [rsp+190h] [rbp+58h] v4 = *(_QWORD *)(a1 + 664); if ( (int *)v4 != a2 ) { if ( a2 ) cocos2d::CCObject::retain((cocos2d::CCObject *)a2); v5 = *(cocos2d::CCObject **)(a1 + 664); if ( v5 ) cocos2d::CCObject::release(v5); *(_QWORD *)(a1 + 664) = a2; v4 = (__int64)a2; } Key = (_BYTE *)GJSearchObject::getKey(v4); v108 = 0; v109 = 0; v110 = 0; v7 = -1; v8 = -1; do ++v8; while ( Key[v8] ); sub_14003D230(&v108, Key, v8); LOBYTE(v9) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 736) + 336LL))(*(_QWORD *)(a1 + 736), v9); v11 = *(_QWORD *)(a1 + 648); if ( v11 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 336LL))(v11, 0); v12 = *(_QWORD *)(a1 + 640); if ( v12 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v12 + 336LL))(v12, 0); if ( !*(_BYTE *)(a1 + 764) ) { if ( *(int *)(*(_QWORD *)(a1 + 664) + 424LL) <= 0 ) v10 = 0; else LOBYTE(v10) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 624) + 336LL))(*(_QWORD *)(a1 + 624), v10); } v13 = *(_QWORD *)(a1 + 664); v14 = *(_DWORD *)(v13 + 320); switch ( v14 ) { case 'c': v40 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v91 = (void **)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v91); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v40 = *(_QWORD *)&qword_14090BFB0; } v41 = 0; goto LABEL_121; case 'b': v93 = *(_DWORD *)(v13 + 452); v52 = LocalLevelManager::sharedState(v12); v54 = v52; if ( v93 <= 0 ) { v45 = *(cocos2d::CCArray **)(v52 + 368); goto LABEL_123; } v45 = (cocos2d::CCArray *)cocos2d::CCArray::create(v53); v55 = *(_QWORD *)(v54 + 368); if ( !v55 ) goto LABEL_123; v56 = *(unsigned int **)(v55 + 56); v57 = *v56; if ( !(_DWORD)v57 ) goto LABEL_123; v58 = *((struct cocos2d::CCObject ***)v56 + 2); v59 = &v58[v57 - 1]; if ( v58 > v59 ) goto LABEL_123; while ( 1 ) { v60 = *v58; if ( !*v58 ) break; if ( *((_DWORD *)v60 + 247) == v93 ) cocos2d::CCArray::addObject(v45, v60); if ( ++v58 > v59 ) { v7 = -1; goto LABEL_123; } } LABEL_100: v7 = -1; goto LABEL_123; case 'f': v93 = *(_DWORD *)(v13 + 452); v42 = LocalLevelManager::sharedState(v12); v44 = v42; if ( v93 <= 0 ) { v45 = *(cocos2d::CCArray **)(v42 + 376); goto LABEL_123; } v45 = (cocos2d::CCArray *)cocos2d::CCArray::create(v43); v46 = *(_QWORD *)(v44 + 376); if ( !v46 ) goto LABEL_123; v47 = *(unsigned int **)(v46 + 56); v48 = *v47; if ( !(_DWORD)v48 ) goto LABEL_123; v49 = *((struct cocos2d::CCObject ***)v47 + 2); v50 = &v49[v48 - 1]; if ( v49 > v50 ) goto LABEL_123; do { v51 = *v49; if ( !*v49 ) break; if ( *((_DWORD *)v51 + 92) == v93 ) cocos2d::CCArray::addObject(v45, v51); ++v49; } while ( v49 <= v50 ); goto LABEL_100; } if ( v14 != 100 ) { if ( v14 == 101 ) { v61 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v91 = (void **)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v91); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v61 = *(_QWORD *)&qword_14090BFB0; } v45 = (cocos2d::CCArray *)cocos2d::CCArray::create(v12); cocos2d::CCArray::addObjectsFromArray(v45, *(struct cocos2d::CCArray **)(v61 + 1656)); goto LABEL_123; } if ( v14 != 103 ) { if ( !*(_BYTE *)(a1 + 764) ) { v91 = (void **)&v105; v92 = (void **)&v94; v15 = sub_14003F4F0((__int64)&v105, v13 + 392); v16 = (const char *)sub_14003F4F0((__int64)&v94, v13 + 360); v17 = (const char *)sub_14003F4F0((__int64)v104, v13 + 328); SearchKey = (char *)GJSearchObject::getSearchKey( *(_DWORD *)(v13 + 320), v17, v16, v15, *(_DWORD *)(v13 + 424) + 1, *(_BYTE *)(v13 + 428), *(_BYTE *)(v13 + 436), *(_BYTE *)(v13 + 438), *(_DWORD *)(v13 + 456), *(_BYTE *)(v13 + 439), *(_BYTE *)(v13 + 440), *(_BYTE *)(v13 + 460), *(_BYTE *)(v13 + 461), *(_BYTE *)(v13 + 429), *(_BYTE *)(v13 + 441), *(_BYTE *)(v13 + 442), *(_BYTE *)(v13 + 443), *(_BYTE *)(v13 + 444), *(_BYTE *)(v13 + 437), *(_DWORD *)(v13 + 448), *(_DWORD *)(v13 + 452), *(_DWORD *)(v13 + 464)); v19 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v91 = (void **)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v91); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v19 = *(_QWORD *)&qword_14090BFB0; } if ( GameLevelManager::getStoredOnlineLevels(v19, SearchKey) ) LOBYTE(v20) = 1; else v20 = 0; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 616) + 336LL))(*(_QWORD *)(a1 + 616), v20); } v21 = &v108; if ( v110 > 0xF ) v21 = (__int128 *)v108; v22 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v91 = (void **)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v91); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v22 = *(_QWORD *)&qword_14090BFB0; } StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v22, v21); if ( StoredOnlineLevels ) { v24 = &v108; if ( v110 > 0xF ) v24 = (__int128 *)v108; v25 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v91 = (void **)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v91); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v25 = *(_QWORD *)&qword_14090BFB0; } PageInfo = GameLevelManager::getPageInfo(v25, v24); v105 = 0; v106 = 0; v107 = 0; v27 = -1; do ++v27; while ( PageInfo[v27] ); sub_14003D230(&v105, PageInfo, v27); v28 = &v108; if ( v110 > 0xF ) v28 = (__int128 *)v108; (*(void (__fastcall **)(__int64, __int128 *, __int128 *))(*(_QWORD *)(a1 + 544) + 32LL))(a1 + 544, &v105, v28); v29 = &v108; if ( v110 > 0xF ) v29 = (__int128 *)v108; (**(void (__fastcall ***)(__int64, __int64, __int128 *, _QWORD))(a1 + 544))( a1 + 544, StoredOnlineLevels, v29, v14); } else { if ( !*(_BYTE *)(a1 + 792) ) LevelBrowserLayer::setupLevelBrowser(a1, 0); v30 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v91 = (void **)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v91); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v30 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v30 + 1352) = a1 + 544; if ( v14 == 14 ) { GameLevelManager::getUsers((cocos2d::CCActionManager **)v30, (__int64)a2); } else if ( v14 == 9 ) { GameLevelManager::getMapPacks((cocos2d::CCActionManager **)v30, (__int64)a2); } else if ( *(_DWORD *)(*(_QWORD *)(a1 + 664) + 464LL) == 1 ) { GameLevelManager::getLevelLists((cocos2d::CCActionManager **)v30, (__int64)a2); } else { GameLevelManager::getOnlineLevels(v30, (__int64)a2); } v31 = *(_QWORD *)(a1 + 672); if ( v31 ) (**(void (__fastcall ***)(__int64, const char *))(v31 + 360))(v31 + 360, " "); } goto LABEL_60; } v62 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v91 = (void **)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v91); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v62 = *(_QWORD *)&qword_14090BFB0; } SavedLevelLists = GameLevelManager::getSavedLevelLists(v62, a2[113]); goto LABEL_122; } v40 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v91 = (void **)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v91); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v40 = *(_QWORD *)&qword_14090BFB0; } v41 = 1; LABEL_121: SavedLevelLists = GameLevelManager::getSavedLevels(v40, v41, a2[113]); LABEL_122: v45 = SavedLevelLists; LABEL_123: sub_14003F4F0((__int64)&v105, *(_QWORD *)(a1 + 664) + 328LL); v64 = v106 != 0; sub_14003D310((__int64)&v105); if ( v64 ) { sub_14003F4F0((__int64)&v105, (__int64)(a2 + 82)); v45 = (cocos2d::CCArray *)sub_1403E91C0(a1, v45, &v105); v65 = *(_QWORD *)(a1 + 640); if ( v65 ) { LOBYTE(v66) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v65 + 336LL))(v65, v66); } } v67 = (cocos2d::CCArray *)cocos2d::CCArray::create(v65); v91 = (void **)v67; LODWORD(v97) = *(_DWORD *)(*(_QWORD *)(a1 + 664) + 424LL); v68 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v92 = (void **)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v92); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v68 = qword_14090BFD0; } v69 = 10; if ( GameManager::getGameVariable(v68, "0093") ) v69 = 20; v93 = v69; LODWORD(v92) = cocos2d::CCArray::count(v45); v70 = v97 * v69; v71 = cocos2d::CCArray::count(v45); *(_DWORD *)(a1 + 744) = (int)(float)(ceilf((float)v71 / (float)v69) - 1.0); if ( v45 && cocos2d::CCArray::count(v45) ) { v72 = v70; if ( v70 < v70 + v93 ) { do { if ( v72 > cocos2d::CCArray::count(v45) - 1 ) break; v73 = cocos2d::CCArray::objectAtIndex(v45, v72); cocos2d::CCArray::addObject((cocos2d::CCArray *)v91, v73); ++v72; } while ( (int)v72 < v70 + v93 ); v7 = -1; } v67 = (cocos2d::CCArray *)v91; } if ( !*(_BYTE *)(a1 + 764) ) { v74 = cocos2d::CCArray::count(v67) + v70; if ( v74 >= cocos2d::CCArray::count(v45) ) v75 = 0; else LOBYTE(v75) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 616) + 336LL))(*(_QWORD *)(a1 + 616), v75); } if ( !*(_QWORD *)&qword_14090BFB0 ) { v91 = (void **)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v91); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v76 = cocos2d::CCString::createWithFormat("%i%s%i%s%i", (_DWORD)v92, ":", v70, ":", v93); CString = cocos2d::CCString::getCString(v76); v105 = 0; v106 = 0; v107 = 0; v78 = -1; do ++v78; while ( CString[v78] ); sub_14003D230(&v105, CString, v78); v79 = &v108; if ( v110 > 0xF ) v79 = (__int128 *)v108; (*(void (__fastcall **)(__int64, __int128 *, __int128 *))(*(_QWORD *)(a1 + 544) + 32LL))(a1 + 544, &v105, v79); v80 = &v108; if ( v110 > 0xF ) v80 = (__int128 *)v108; (**(void (__fastcall ***)(__int64, cocos2d::CCArray *, __int128 *, _QWORD))(a1 + 544))(a1 + 544, v67, v80, v14); v82 = *(_QWORD *)(a1 + 672); if ( *(_DWORD *)(a1 + 720) ) { if ( v82 ) { LOBYTE(v81) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v82 + 336LL))(v82, v81); } } else { if ( v82 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v82 + 336LL))(v82, 0); v83 = cocos2d::CCDirector::sharedDirector(v82); cocos2d::CCDirector::getWinSize(v83, &v92); if ( v14 == 99 ) { v91 = (void **)&v105; v105 = 0; v106 = 1; v107 = 15; LOWORD(v105) = (unsigned __int8)asc_1406ED6E4[0]; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v97, 0.5, 1.0); v85 = TextArea::create((__int64)&v105, &qword_140704F78, 1.0, 600.0, v84, 1101004800, 0, 0); *((_DWORD *)v85 + 166) = 1109393408; v94 = 0; v95 = 0; v96 = 0; *(_QWORD *)&v94 = sub_14003D460(0x40u); v95 = 55; v96 = 63; strcpy((char *)v94, "You have not downloaded any levels yet!"); TextArea::setString((__int64 *)v85, (__int64)&v94); v86 = *(_QWORD *)v85; } else if ( v14 == 103 ) { v91 = (void **)&v105; v105 = 0; v106 = 1; v107 = 15; LOWORD(v105) = (unsigned __int8)asc_1406ED6E4[0]; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v97, 0.5, 1.0); v85 = TextArea::create((__int64)&v105, &qword_140704F78, 1.0, 600.0, v87, 1101004800, 0, 0); *((_DWORD *)v85 + 166) = 1109393408; v94 = 0; v95 = 0; v96 = 0; *(_QWORD *)&v94 = sub_14003D460(0x40u); v95 = 53; v96 = 63; strcpy((char *)v94, "You have not favorited\nany lists yet!"); TextArea::setString((__int64 *)v85, (__int64)&v94); v86 = *(_QWORD *)v85; } else if ( v14 == 100 ) { v91 = (void **)&v105; v105 = 0; v106 = 1; v107 = 15; LOWORD(v105) = (unsigned __int8)asc_1406ED6E4[0]; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v97, 0.5, 1.0); v85 = TextArea::create((__int64)&v105, &qword_140704F78, 1.0, 600.0, v88, 1101004800, 0, 0); *((_DWORD *)v85 + 166) = 1109393408; v94 = 0; v95 = 0; v96 = 0; *(_QWORD *)&v94 = sub_14003D460(0x40u); v95 = 52; v96 = 63; strcpy((char *)v94, "Levels marked as Favorite will show up here!"); TextArea::setString((__int64 *)v85, (__int64)&v94); v86 = *(_QWORD *)v85; } else { if ( v14 == 98 ) { v91 = (void **)&v94; v94 = 0; v95 = 0; v96 = 0; *(_QWORD *)&v94 = sub_14003D460(0x30u); v95 = 42; v96 = 47; strcpy((char *)v94, "Tap New to create a level!"); } else { v91 = (void **)&v94; v94 = 0; v95 = 0; v96 = 0; *(_QWORD *)&v94 = sub_14003D460(0x30u); if ( v14 == 102 ) { v95 = 41; v96 = 47; strcpy((char *)v94, "Tap New to create a list!"); } else { v95 = 45; v96 = 47; strcpy((char *)v94, "Tap New to create a Template!"); } } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v97, 0.5, 1.0); v85 = TextArea::create((__int64)&v94, &qword_140704F78, 1.0, 600.0, v89, 1101004800, 0, 0); v86 = *(_QWORD *)v85; } cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v91, *(float *)&v92 * 0.5, (float)(*((float *)&v92 + 1) * 0.5) + 10.0); (*(void (__fastcall **)(char *, __int64))(v86 + 184))(v85, v90); (*(void (__fastcall **)(char *))(*(_QWORD *)v85 + 160LL))(v85); (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a1 + 464LL))(a1, v85); } LABEL_60: if ( !*(_BYTE *)(a1 + 748) ) { v91 = Src; v32 = &v108; if ( v110 > 0xF ) v32 = (__int128 *)v108; *(_OWORD *)Src = 0; Size = 0; v100 = 0; v33 = -1; do ++v33; while ( *((_BYTE *)v32 + v33) ); sub_14003D230(Src, v32, v33); v92 = Src; v34 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v97 = (__int64)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v97); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v34 = *(_QWORD *)&qword_14090BFB0; } if ( (void **)(v34 + 1272) != Src ) { v35 = Src; if ( v100 > 0xF ) v35 = (void **)Src[0]; sub_1400405A0((void **)(v34 + 1272), v35, Size); } sub_14003D310((__int64)Src); } if ( *(_DWORD *)(*(_QWORD *)(a1 + 664) + 320LL) == 9 ) { v91 = v101; v36 = &v108; if ( v110 > 0xF ) v36 = (__int128 *)v108; *(_OWORD *)v101 = 0; v102 = 0; v103 = 0; do ++v7; while ( *((_BYTE *)v36 + v7) ); sub_14003D230(v101, v36, v7); v92 = v101; v37 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v97 = (__int64)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v97); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v37 = *(_QWORD *)&qword_14090BFB0; } if ( (void **)(v37 + 1304) != v101 ) { v38 = v101; if ( v103 > 0xF ) v38 = (void **)v101[0]; sub_1400405A0((void **)(v37 + 1304), v38, v102); } sub_14003D310((__int64)v101); } if ( !*(_BYTE *)(a1 + 764) ) { if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 616) + 344LL))(*(_QWORD *)(a1 + 616)) || (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 624) + 344LL))(*(_QWORD *)(a1 + 624)) ) { LOBYTE(v39) = 1; } else { v39 = 0; } (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 688) + 336LL))(*(_QWORD *)(a1 + 688), v39); } sub_14003D310((__int64)&v108); }
GD Web Decomp Icon

GD Web Decomp

Raw Source