// // GJPathPage::unlockAnimationStep3 from 0xba7cf0 to 0xba81f8 (1288 bytes) // // 2 xrefs: // > GJPathPage::unlockAnimationFinished @ 0xba82a0 // > @ 0xafb70 // // 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:02:50 +0000 // __int64 __fastcall GJPathPage::unlockAnimationStep3(GJPathPage *this) { cocos2d::CCNode *v2; // x25 cocos2d::CCDirector *v3; // x0 cocos2d::CCDirector *v4; // x0 GJPathSprite *v5; // x20 cocos2d::CCScaleTo *v6; // x0 float v7; // s0 cocos2d::CCEaseOut *v8; // x0 cocos2d::CCActionInterval *v9; // x1 cocos2d::CCSequence *v10; // x24 cocos2d::CCScaleTo *v11; // x0 float v12; // s0 cocos2d::CCEaseInOut *v13; // x0 cocos2d::CCActionInterval *v14; // x1 cocos2d::CCEaseInOut *v15; // x0 cocos2d::CCActionInterval *v16; // x1 __int64 v17; // x0 cocos2d::CCAction *v18; // x0 cocos2d::CCDelayTime *v19; // x0 cocos2d::CCFadeOut *v20; // x24 cocos2d::CCFiniteTimeAction *v21; // x0 cocos2d::CCAction *v22; // x0 cocos2d::CCDelayTime *v23; // x0 cocos2d::CCSequence *v24; // x20 unsigned __int8 v25; // w1 cocos2d::CCFiniteTimeAction *v26; // x0 cocos2d::CCAction *v27; // x0 cocos2d::CCParticleSystem *v28; // x20 void (__fastcall *v29)(cocos2d::CCParticleSystem *, int *); // x24 void (__fastcall *v30)(cocos2d::CCParticleSystem *, int *); // x24 int v31; // s0 int v32; // s1 int v33; // s2 int v34; // s3 void (__fastcall *v35)(cocos2d::CCParticleSystem *, int *); // x24 int v36; // s0 int v37; // s1 int v38; // s2 int v39; // s3 cocos2d::CCParticleSystem *v40; // x20 void (__fastcall *v41)(cocos2d::CCParticleSystem *, int *); // x23 void (__fastcall *v42)(cocos2d::CCParticleSystem *, int *); // x23 int v43; // w0 int v44; // s0 int v45; // s1 int v46; // s2 int v47; // s3 int v48; // s0 int v49; // s1 int v50; // s2 cocos2d::CCString *v51; // x0 size_t v52; // x0 GameManager *v53; // x0 GameManager *v54; // x0 char *v55; // x1 FMODAudioEngine *v56; // x0 FMODAudioEngine *v57; // x0 cocos2d::CCFiniteTimeAction *v59; // [xsp+50h] [xbp+50h] cocos2d::CCScaleTo *v60; // [xsp+58h] [xbp+58h] char *CString; // [xsp+58h] [xbp+58h] __int64 v62; // [xsp+68h] [xbp+68h] BYREF _BYTE v63[8]; // [xsp+70h] [xbp+70h] BYREF _DWORD v64[3]; // [xsp+78h] [xbp+78h] BYREF int v65; // [xsp+84h] [xbp+84h] int v66; // [xsp+88h] [xbp+88h] BYREF int v67; // [xsp+8Ch] [xbp+8Ch] int v68; // [xsp+90h] [xbp+90h] int v69; // [xsp+94h] [xbp+94h] __int64 v70[2]; // [xsp+98h] [xbp+98h] BYREF void *v71; // [xsp+A8h] [xbp+A8h] __int64 v72[2]; // [xsp+B0h] [xbp+B0h] BYREF char *v73; // [xsp+C0h] [xbp+C0h] v66 = -1358954496; v2 = (cocos2d::CCNode *)cocos2d::CCLayerColor::create(&v66); v3 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(GJPathPage *, cocos2d::CCNode *, __int64))(*(_QWORD *)this + 464LL))( this, v2, 10); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); cocos2d::CCDirector::getWinSize(&v62, v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v63, *(float *)&v62 * 0.5, *((float *)&v62 + 1) * 0.5); v5 = (GJPathSprite *)GJPathSprite::create((GJPathSprite *)*((unsigned int *)this + 172)); GJPathSprite::addShardSprite(v5); (*(void (__fastcall **)(GJPathPage *, GJPathSprite *, __int64))(*(_QWORD *)this + 464LL))(this, v5, 13); (*(void (__fastcall **)(GJPathSprite *, _BYTE *))(*(_QWORD *)v5 + 184LL))(v5, v63); (*(void (__fastcall **)(GJPathSprite *, float))(*(_QWORD *)v5 + 160LL))(v5, 2.0); v6 = (cocos2d::CCScaleTo *)(*(__int64 (__fastcall **)(GJPathSprite *))(*(_QWORD *)v5 + 168LL))(v5); v8 = (cocos2d::CCEaseOut *)cocos2d::CCScaleTo::create(v6, 0.2, v7 + 1.0); v10 = (cocos2d::CCSequence *)cocos2d::CCEaseOut::create(v8, v9, 2.0); v11 = (cocos2d::CCScaleTo *)(*(__int64 (__fastcall **)(GJPathSprite *))(*(_QWORD *)v5 + 168LL))(v5); v13 = (cocos2d::CCEaseInOut *)cocos2d::CCScaleTo::create(v11, 0.75, v12); v59 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCEaseInOut::create(v13, v14, 2.0); v60 = (cocos2d::CCScaleTo *)cocos2d::CCDelayTime::create(v59, 0.4); v15 = (cocos2d::CCEaseInOut *)cocos2d::CCScaleTo::create(v60, 2.5, 0.2); v17 = cocos2d::CCEaseInOut::create(v15, v16, 2.0); v18 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v10, v59, v60, v17, 0); v19 = (cocos2d::CCDelayTime *)cocos2d::CCNode::runAction(v5, v18); v20 = (cocos2d::CCFadeOut *)cocos2d::CCDelayTime::create(v19, 1.9); v21 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCFadeOut::create(v20, 1.5); v22 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v20, v21, 0); v23 = (cocos2d::CCDelayTime *)cocos2d::CCNode::runAction(v5, v22); v24 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v23, 1.9); v26 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCFadeTo::create(nullptr, 1.5, v25); v27 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v24, v26, 0); cocos2d::CCNode::runAction(v2, v27); v70[0] = 0; v70[1] = 0; v71 = nullptr; std::string::__init( v70, "50a0a0.88a0.21a-1a90a180a5a5a38a38a0a0a0a0a0a0a7a2a0a360a0.411765a0a1a0a0a0a1a0a3a2a0a60a0a0a0.737255a0a0.160784a0a1" "a0a0.16a0.1a0.51a0.12a0a0a0a0a0a0a0a2a1a1a0a0a166a0a0a0a0a0a0a0a0a0a0a0a0a0a0", 0xC1u); v28 = (cocos2d::CCParticleSystem *)GameToolbox::particleFromString((__int64)v70, 0, 0); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v28 + 1584LL))(v28, 1); (*(void (__fastcall **)(GJPathPage *, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)this + 464LL))(this, v28, 15); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, float))(*(_QWORD *)v28 + 160LL))(v28, 1.5); cocos2d::CCParticleSystem::resetSystem(v28); v29 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, int *))(*(_QWORD *)v28 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v66, *(float *)&v62 * 0.5, *((float *)&v62 + 1) * 0.5); v29(v28, &v66); v30 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, int *))(*(_QWORD *)v28 + 1360LL); lightColorForPath(*((_DWORD *)this + 172)); v66 = v31; v67 = v32; v68 = v33; v69 = v34; v30(v28, &v66); v35 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, int *))(*(_QWORD *)v28 + 1392LL); darkColorForPath(*((_DWORD *)this + 172)); v66 = v36; v67 = v37; v68 = v38; v69 = v39; v35(v28, &v66); std::string::assign( v70, "5a0a1.15a0.3a-1a110a97a0a8a19a19a0a0a0a0a0a0a100a12a0a0a1a0a0.890196a0a0a0a0.51a0.22a-5a1a0a0a1a0a0a0a0.0784314a0a0a" "0a0.16a0a0.25a0a0a0a0a0a0a0a0a2a0a0a0a0a159a0a0.35a0a0a0a0a1a0a0a0a0a0a0a0"); v40 = (cocos2d::CCParticleSystem *)GameToolbox::particleFromString((__int64)v70, 0, 0); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v40 + 1584LL))(v40, 1); (*(void (__fastcall **)(GJPathPage *, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)this + 464LL))(this, v40, 16); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, float))(*(_QWORD *)v40 + 160LL))(v40, 2.2); cocos2d::CCParticleSystem::resetSystem(v40); v41 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, int *))(*(_QWORD *)v40 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v66, *(float *)&v62 * 0.5, *((float *)&v62 + 1) * 0.5); v41(v40, &v66); v42 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, int *))(*(_QWORD *)v40 + 960LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v66, 5.0, 5.0); v42(v40, &v66); lightColorForPath(*((_DWORD *)this + 172)); v43 = *((_DWORD *)this + 172); v64[0] = v44; v64[1] = v45; v64[2] = v46; v65 = v47; darkColorForPath(v43); v66 = v48; v67 = v49; v68 = v50; v65 = 1028443341; v69 = 0; (*(void (__fastcall **)(cocos2d::CCParticleSystem *, _DWORD *))(*(_QWORD *)v40 + 1360LL))(v40, v64); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, int *))(*(_QWORD *)v40 + 1392LL))(v40, &v66); v51 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"geometry.ach.path%02d.00", (const char *)*((unsigned int *)this + 172)); CString = (char *)cocos2d::CCString::getCString(v51); v72[0] = 0; v72[1] = 0; v73 = nullptr; v52 = strlen(CString); v53 = (GameManager *)std::string::__init(v72, CString, v52); v54 = (GameManager *)GameManager::sharedState(v53); v55 = (char *)v72 + 1; if ( (v72[0] & 1) != 0 ) v55 = v73; v56 = (FMODAudioEngine *)GameManager::reportAchievementWithID(v54, v55, 100, 0); v57 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v56); FMODAudioEngine::fadeInMusic(v57, 4.0, 0); if ( (v72[0] & 1) != 0 ) operator delete(v73); if ( (v70[0] & 1) != 0 ) operator delete(v71); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source