// // FollowRewardPage::init from 0xaab254 to 0xaac294 (4160 bytes) // // 3 xrefs: // > FollowRewardPage::create @ 0xaac434 // > @ 0xe8768 // > @ 0x14a3f80 // // This function is hookable on this platform (idp: arm, 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 13:00:54 +0000 // __int64 __fastcall FollowRewardPage::init(cocos2d::CCNode **this) { cocos2d::CCDirector *v3; // x0 int v4; // w23 __int64 v5; // x19 void (__fastcall *v6)(__int64, __int64 *); // x24 void (__fastcall *v7)(__int64, __int64 *); // x24 const char *v8; // x1 cocos2d::CCSprite *v9; // x19 void (__fastcall *v10)(cocos2d::CCSprite *, __int64 *); // x24 void (__fastcall *v11)(cocos2d::CCSprite *, __int64 *); // x23 unsigned int v12; // w25 __int64 v13; // x19 void (__fastcall *v14)(__int64, __int64 *); // x27 const char *v15; // x2 __int64 v16; // x26 __int64 v17; // x0 __int64 (__fastcall *v18)(__int64); // x1 void (__fastcall *v19)(__int64, __int64 *); // x19 __int64 v20; // x27 const char *v21; // x1 __int64 v22; // x0 cocos2d::CCMenu *v23; // x19 __int64 v24; // x19 float v25; // s2 void (__fastcall *v26)(__int64, __int64 *); // x26 cocos2d::CCArray *v27; // x0 cocos2d::CCObject *v28; // x0 GameStatsManager *v29; // x0 __int64 v30; // x21 _BOOL8 v31; // x0 __int64 v32; // x19 __int64 RewardForSpecialChest; // x19 __int64 *v34; // x0 GameManager *v35; // x0 unsigned __int8 UGV; // w0 float v37; // s0 __int64 v38; // x21 CCMenuItemSpriteExtra *v39; // x19 char *v40; // x1 size_t v41; // x2 void (__fastcall *v42)(CCMenuItemSpriteExtra *, __int64 *); // x27 void (__fastcall *v43)(__int64, __int64 *); // x27 float v44; // s8 __int64 v45; // x0 __int64 v46; // x2 void (__fastcall *v47)(CCMenuItemSpriteExtra *, __int64 *); // x26 const char *v48; // x2 cocos2d::CCLabelBMFont *v49; // x0 __int64 v50; // x26 cocos2d::CCSprite *v51; // x0 __int64 v52; // x19 void (__fastcall *v53)(__int64, __int64 *); // x26 __int64 v54; // x2 GameManager *v55; // x0 __int64 v56; // x19 _BOOL8 v57; // x0 __int64 v58; // x19 __int64 *v59; // x0 GameManager *v60; // x0 __int64 v61; // x19 _BOOL8 v62; // x0 __int64 v63; // x19 __int64 *v64; // x0 GameManager *v65; // x0 __int64 v66; // x19 _BOOL8 v67; // x0 __int64 v68; // x19 __int64 *v69; // x0 GameManager *v70; // x0 __int64 v71; // x21 _BOOL8 isSpecialChestUnlocked; // x0 __int64 v73; // x19 __int64 *v74; // x0 GameManager *v75; // x0 __int64 v76; // x19 _BOOL8 v77; // x0 __int64 v78; // x19 __int64 *v79; // x0 GameManager *v80; // x0 __int64 v81; // x19 _BOOL8 v82; // x0 __int64 v83; // x19 __int64 *v84; // x0 GameManager *v85; // x0 float v86; // s0 void (__fastcall *v87)(cocos2d::CCSprite *, __int64 *); // x24 unsigned __int8 v88; // [xsp+A7h] [xbp+A7h] int v89; // [xsp+B0h] [xbp+B0h] _BOOL4 v90; // [xsp+B4h] [xbp+B4h] void (__fastcall *v91)(__int64, __int64 *); // [xsp+B8h] [xbp+B8h] __int64 v92; // [xsp+C8h] [xbp+C8h] BYREF char v93[8]; // [xsp+D0h] [xbp+D0h] BYREF _BYTE v94[8]; // [xsp+D8h] [xbp+D8h] BYREF __int64 v95; // [xsp+E0h] [xbp+E0h] BYREF _BYTE v96[8]; // [xsp+E8h] [xbp+E8h] BYREF __int64 v97[2]; // [xsp+F0h] [xbp+F0h] BYREF __int64 v98[2]; // [xsp+100h] [xbp+100h] BYREF cocos2d::CCSprite *v99; // [xsp+110h] [xbp+110h] __int64 v100[2]; // [xsp+118h] [xbp+118h] BYREF cocos2d::CCLabelBMFont *v101; // [xsp+128h] [xbp+128h] __int64 v102[2]; // [xsp+130h] [xbp+130h] BYREF void *v103; // [xsp+140h] [xbp+140h] __int64 v104[2]; // [xsp+148h] [xbp+148h] BYREF void *v105; // [xsp+158h] [xbp+158h] __int64 v106[2]; // [xsp+160h] [xbp+160h] BYREF void *v107; // [xsp+170h] [xbp+170h] __int64 v108[2]; // [xsp+178h] [xbp+178h] BYREF void *v109; // [xsp+188h] [xbp+188h] __int64 v110[2]; // [xsp+190h] [xbp+190h] BYREF void *v111; // [xsp+1A0h] [xbp+1A0h] __int64 v112[2]; // [xsp+1A8h] [xbp+1A8h] BYREF void *v113; // [xsp+1B8h] [xbp+1B8h] __int64 v114[2]; // [xsp+1C0h] [xbp+1C0h] BYREF void *v115; // [xsp+1D0h] [xbp+1D0h] __int64 v116[2]; // [xsp+1D8h] [xbp+1D8h] BYREF void *v117; // [xsp+1E8h] [xbp+1E8h] __int64 v118[2]; // [xsp+1F0h] [xbp+1F0h] BYREF void *v119; // [xsp+200h] [xbp+200h] __int64 v120[2]; // [xsp+208h] [xbp+208h] BYREF void *v121; // [xsp+218h] [xbp+218h] __int64 v122[2]; // [xsp+220h] [xbp+220h] BYREF void *v123; // [xsp+230h] [xbp+230h] __int64 v124[2]; // [xsp+238h] [xbp+238h] BYREF void *v125; // [xsp+248h] [xbp+248h] __int64 v126[2]; // [xsp+250h] [xbp+250h] BYREF void *v127; // [xsp+260h] [xbp+260h] __int64 v128[2]; // [xsp+268h] [xbp+268h] BYREF void *v129; // [xsp+278h] [xbp+278h] __int64 v130; // [xsp+280h] [xbp+280h] BYREF size_t v131; // [xsp+288h] [xbp+288h] void *v132; // [xsp+290h] [xbp+290h] v88 = FLAlertLayer::init((FLAlertLayer *)this, 150); if ( !v88 ) return v88; v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v88); cocos2d::CCDirector::getWinSize(&v92, v3); v4 = 1; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v97, 0.0, 0.0, 80.0, 80.0); v5 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v97); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 912LL))(v5, 0xFFFFFFFFLL); v6 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v97, 420.0, 280.0); v6(v5, v97); (*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v5, 0xFFFFFFFFLL); v7 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v97, *(float *)&v92 * 0.5, *((float *)&v92 + 1) * 0.5); v7(v5, v97); while ( 1 ) { while ( 1 ) { v9 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"dailyLevelCorner_001.png", v8); (*(void (__fastcall **)(_QWORD, cocos2d::CCSprite *, __int64))(*(_QWORD *)*(this + 73) + 464LL))( *(this + 73), v9, 8); if ( v4 != 3 ) break; cocos2d::CCSprite::setFlipX(v9, 1); cocos2d::CCSprite::setFlipY(v9, 1); v86 = 185.0; LABEL_71: ++v4; v87 = *(void (__fastcall **)(cocos2d::CCSprite *, __int64 *))(*(_QWORD *)v9 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v97, v86 + (float)(*(float *)&v92 * 0.5), (float)(*((float *)&v92 + 1) * 0.5) + 115.0); v87(v9, v97); } if ( v4 == 4 ) break; if ( v4 == 2 ) { cocos2d::CCSprite::setFlipY(v9, 1); v86 = -185.0; goto LABEL_71; } v10 = *(void (__fastcall **)(cocos2d::CCSprite *, __int64 *))(*(_QWORD *)v9 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v97, (float)(*(float *)&v92 * 0.5) + -185.0, (float)(*((float *)&v92 + 1) * 0.5) + -115.0); v10(v9, v97); ++v4; } cocos2d::CCSprite::setFlipX(v9, 1); v11 = *(void (__fastcall **)(cocos2d::CCSprite *, __int64 *))(*(_QWORD *)v9 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v97, (float)(*(float *)&v92 * 0.5) + 185.0, (float)(*((float *)&v92 + 1) * 0.5) + -115.0); v11(v9, v97); v12 = 1; v13 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Follow RobTop Games!", "bigFont.fnt", v93); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v13 + 160LL))(v13, 0.8); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 73) + 456LL))(*(this + 73), v13); v14 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v13 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v97, *(float *)&v92 * 0.5, (float)((float)(*((float *)&v92 + 1) * 0.5) + 140.0) - 22.0); v14(v13, v97); v16 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Earn rewards!", "bigFont.fnt", v15); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 73) + 456LL))(*(this + 73), v16); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v16 + 160LL))(v16, 0.5); v17 = v13; v18 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 192LL); v19 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v16 + 184LL); v20 = v18(v17); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v96, 0.0, -26.0); cocos2d::CCPoint::operator+(v97, v20); v19(v16, v97); v22 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_closeBtn_001.png", v21); v23 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create(v22, 0, (__int64)this, (__int64)FollowRewardPage::onClose, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v23, 1.6); v24 = cocos2d::CCMenu::create(v23, nullptr); v25 = *(float *)&v92; *(this + 69) = (cocos2d::CCNode *)v24; v26 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v24 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v97, (float)((float)(v25 * 0.5) + -210.0) + 10.0, (float)((float)(*((float *)&v92 + 1) * 0.5) + 140.0) - 10.0); v26(v24, v97); v27 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(_QWORD, _QWORD, __int64))(*(_QWORD *)*(this + 73) + 464LL))( *(this + 73), *(this + 69), 10); v28 = (cocos2d::CCObject *)cocos2d::CCArray::create(v27); *(this + 86) = v28; cocos2d::CCObject::retain(v28); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v93, *(float *)&v92 * 0.5, (float)(*((float *)&v92 + 1) * 0.5) + -30.0); while ( 2 ) { v98[0] = 0; v98[1] = 0; v99 = nullptr; std::string::__init(v98, &byte_11B8890, 0); v100[0] = 0; v100[1] = 0; v101 = nullptr; std::string::__init(v100, &byte_11B8890, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v94, (const cocos2d::CCPoint *)&unk_155DC48); v29 = (GameStatsManager *)(v12 - 2); switch ( v12 ) { case 2u: v71 = GameStatsManager::sharedState(v29); v106[0] = 0; v106[1] = 0; v107 = nullptr; std::string::__init(v106, "0008", 4u); isSpecialChestUnlocked = GameStatsManager::isSpecialChestUnlocked(v71, (char *)v106); v90 = isSpecialChestUnlocked; if ( (v106[0] & 1) != 0 ) operator delete(v107); v73 = GameStatsManager::sharedState((GameStatsManager *)isSpecialChestUnlocked); v108[0] = 0; v108[1] = 0; v109 = nullptr; std::string::__init(v108, "0008", 4u); RewardForSpecialChest = GameStatsManager::getRewardForSpecialChest(v73, (__int64)v108); if ( (v108[0] & 1) != 0 ) operator delete(v109); std::string::assign(v98, "gj_twIcon_001.png"); v74 = std::string::assign(v100, "Twitter"); v75 = (GameManager *)GameManager::sharedState((GameManager *)v74); UGV = GameManager::getUGV(v75, "24"); v37 = 0.0; goto LABEL_17; case 3u: v66 = GameStatsManager::sharedState(v29); v110[0] = 0; v110[1] = 0; v111 = nullptr; std::string::__init(v110, "0009", 4u); v67 = GameStatsManager::isSpecialChestUnlocked(v66, (char *)v110); v90 = v67; if ( (v110[0] & 1) != 0 ) operator delete(v111); v68 = GameStatsManager::sharedState((GameStatsManager *)v67); v112[0] = 0; v112[1] = 0; v113 = nullptr; std::string::__init(v112, "0009", 4u); RewardForSpecialChest = GameStatsManager::getRewardForSpecialChest(v68, (__int64)v112); if ( (v112[0] & 1) != 0 ) operator delete(v113); std::string::assign(v98, "gj_fbIcon_001.png"); v69 = std::string::assign(v100, "Facebook"); v70 = (GameManager *)GameManager::sharedState((GameManager *)v69); UGV = GameManager::getUGV(v70, "23"); v37 = 90.0; goto LABEL_17; case 4u: v61 = GameStatsManager::sharedState(v29); v114[0] = 0; v114[1] = 0; v115 = nullptr; std::string::__init(v114, "0010", 4u); v62 = GameStatsManager::isSpecialChestUnlocked(v61, (char *)v114); v90 = v62; if ( (v114[0] & 1) != 0 ) operator delete(v115); v63 = GameStatsManager::sharedState((GameStatsManager *)v62); v116[0] = 0; v116[1] = 0; v117 = nullptr; std::string::__init(v116, "0010", 4u); RewardForSpecialChest = GameStatsManager::getRewardForSpecialChest(v63, (__int64)v116); if ( (v116[0] & 1) != 0 ) operator delete(v117); std::string::assign(v98, "gj_twitchIcon_001.png"); v64 = std::string::assign(v100, "Twitch"); v65 = (GameManager *)GameManager::sharedState((GameManager *)v64); v89 = (unsigned __int8)GameManager::getUGV(v65, "26"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v97, -135.0, -48.0); goto LABEL_18; case 5u: v56 = GameStatsManager::sharedState(v29); v118[0] = 0; v118[1] = 0; v119 = nullptr; std::string::__init(v118, "0011", 4u); v57 = GameStatsManager::isSpecialChestUnlocked(v56, (char *)v118); v90 = v57; if ( (v118[0] & 1) != 0 ) operator delete(v119); v58 = GameStatsManager::sharedState((GameStatsManager *)v57); v120[0] = 0; v120[1] = 0; v121 = nullptr; std::string::__init(v120, "0011", 4u); RewardForSpecialChest = GameStatsManager::getRewardForSpecialChest(v58, (__int64)v120); if ( (v120[0] & 1) != 0 ) operator delete(v121); std::string::assign(v98, "gj_discordIcon_001.png"); v59 = std::string::assign(v100, "Discord"); v60 = (GameManager *)GameManager::sharedState((GameManager *)v59); v89 = (unsigned __int8)GameManager::getUGV(v60, "27"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v97, -45.0, -48.0); goto LABEL_18; case 6u: v76 = GameStatsManager::sharedState(v29); v122[0] = 0; v122[1] = 0; v123 = nullptr; std::string::__init(v122, "0024", 4u); v77 = GameStatsManager::isSpecialChestUnlocked(v76, (char *)v122); v90 = v77; if ( (v122[0] & 1) != 0 ) operator delete(v123); v78 = GameStatsManager::sharedState((GameStatsManager *)v77); v124[0] = 0; v124[1] = 0; v125 = nullptr; std::string::__init(v124, "0024", 4u); RewardForSpecialChest = GameStatsManager::getRewardForSpecialChest(v78, (__int64)v124); if ( (v124[0] & 1) != 0 ) operator delete(v125); std::string::assign(v98, "gj_rdIcon_001.png"); v79 = std::string::assign(v100, "Reddit"); v80 = (GameManager *)GameManager::sharedState((GameManager *)v79); v89 = (unsigned __int8)GameManager::getUGV(v80, "32"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v97, 45.0, -48.0); goto LABEL_18; case 7u: v81 = GameStatsManager::sharedState(v29); v126[0] = 0; v126[1] = 0; v127 = nullptr; std::string::__init(v126, "0025", 4u); v82 = GameStatsManager::isSpecialChestUnlocked(v81, (char *)v126); v90 = v82; if ( (v126[0] & 1) != 0 ) operator delete(v127); v83 = GameStatsManager::sharedState((GameStatsManager *)v82); v128[0] = 0; v128[1] = 0; v129 = nullptr; std::string::__init(v128, "0025", 4u); RewardForSpecialChest = GameStatsManager::getRewardForSpecialChest(v83, (__int64)v128); if ( (v128[0] & 1) != 0 ) operator delete(v129); std::string::assign(v98, "gj_ytIcon_001.png"); v84 = std::string::assign(v100, "Spotlight"); v85 = (GameManager *)GameManager::sharedState((GameManager *)v84); v89 = (unsigned __int8)GameManager::getUGV(v85, "39"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v97, 135.0, -48.0); goto LABEL_18; default: v30 = GameStatsManager::sharedState(v29); v102[0] = 0; v102[1] = 0; v103 = nullptr; std::string::__init(v102, "0007", 4u); v31 = GameStatsManager::isSpecialChestUnlocked(v30, (char *)v102); v90 = v31; if ( (v102[0] & 1) != 0 ) operator delete(v103); v32 = GameStatsManager::sharedState((GameStatsManager *)v31); v104[0] = 0; v104[1] = 0; v105 = nullptr; std::string::__init(v104, "0007", 4u); RewardForSpecialChest = GameStatsManager::getRewardForSpecialChest(v32, (__int64)v104); if ( (v104[0] & 1) != 0 ) operator delete(v105); std::string::assign(v98, "gj_ytIcon_001.png"); v34 = std::string::assign(v100, "YouTube"); v35 = (GameManager *)GameManager::sharedState((GameManager *)v34); UGV = GameManager::getUGV(v35, "22"); v37 = -90.0; LABEL_17: v89 = UGV; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v97, v37, 48.0); LABEL_18: cocos2d::CCPoint::operator=(v94, v97); v38 = GJChestSprite::create((GJChestSprite *)*(unsigned int *)(RewardForSpecialChest + 64)); GJChestSprite::switchToState((unsigned int *)v38, 2u, 0); cocos2d::CCArray::addObject(*(this + 86), (cocos2d::CCObject *)v38); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v38 + 160LL))(v38, 0.5); v39 = (CCMenuItemSpriteExtra *)CCMenuItemSpriteExtra::create( v38, 0, (__int64)this, (__int64)FollowRewardPage::onSpecialItem, 0); v130 = 0; v131 = 0; v132 = nullptr; std::string::__init(&v130, "chestClick.ogg", 0xEu); if ( (__int64 *)((char *)v39 + 440) != &v130 ) { if ( (v130 & 1) != 0 ) { v40 = (char *)v132; v41 = v131; } else { v41 = (unsigned __int8)v130 >> 1; v40 = (char *)&v130 + 1; } std::string::assign((__int64 *)v39 + 55, v40, v41); } if ( (v130 & 1) != 0 ) operator delete(v132); v42 = *(void (__fastcall **)(CCMenuItemSpriteExtra *, __int64 *))(*(_QWORD *)v39 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v97, 50.0, 40.0); v42(v39, v97); v43 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v38 + 184LL); v44 = *(float *)(*(__int64 (__fastcall **)(CCMenuItemSpriteExtra *))(*(_QWORD *)v39 + 328LL))(v39); v45 = (*(__int64 (__fastcall **)(CCMenuItemSpriteExtra *))(*(_QWORD *)v39 + 328LL))(v39); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v97, v44 * 0.5, *(float *)(v45 + 4) * 0.5); v43(v38, v97); (*(void (__fastcall **)(_QWORD, CCMenuItemSpriteExtra *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v39); v46 = *(_QWORD *)v39; *((_BYTE *)v39 + 408) = 0; *((_BYTE *)v39 + 409) = 1; (*(void (__fastcall **)(CCMenuItemSpriteExtra *, _QWORD))(v46 + 72))(v39, v12); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v38 + 72LL))(v38, v12); cocos2d::CCPoint::operator+(&v95, v93); v47 = *(void (__fastcall **)(CCMenuItemSpriteExtra *, __int64 *))(*(_QWORD *)v39 + 184LL); cocos2d::CCNode::convertToNodeSpace(v97, *(this + 69), (const cocos2d::CCPoint *)&v95); v47(v39, v97); v49 = (cocos2d::CCLabelBMFont *)((char *)v100 + 1); if ( (v100[0] & 1) != 0 ) v49 = v101; v50 = cocos2d::CCLabelBMFont::create(v49, "goldFont.fnt", v48); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v50 + 160LL))(v50, 0.5); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 73) + 456LL))(*(this + 73), v50); v91 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v50 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v96, 0.0, 42.0); cocos2d::CCPoint::operator+(v97, &v95); v91(v50, v97); if ( v90 ) { FollowRewardPage::switchToOpenedState((FollowRewardPage *)this, v39); } else if ( !v89 ) { v51 = (cocos2d::CCSprite *)((char *)v98 + 1); if ( (v98[0] & 1) != 0 ) v51 = v99; v52 = cocos2d::CCSprite::createWithSpriteFrameName(v51, (const char *)LOBYTE(v98[0])); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v52 + 160LL))(v52, 1.2); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v52 + 72LL))(v52, v12 + 10); (*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v52, 11); v53 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v52 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v96, 0.0, 2.0); cocos2d::CCPoint::operator+(v97, &v95); v53(v52, v97); v54 = *(_QWORD *)v38; *(_BYTE *)(v38 + 604) = 1; (*(void (__fastcall **)(__int64, __int64 *))(v54 + 960))(v38, &qword_117B4F0); } if ( (v100[0] & 1) != 0 ) operator delete(v101); v55 = (GameManager *)LOBYTE(v98[0]); if ( (v98[0] & 1) != 0 ) operator delete(v99); if ( ++v12 != 8 ) continue; *(_QWORD *)(GameManager::sharedState(v55) + 944) = this + 84; break; } return v88; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source