// // PlayLayer::showCompleteText from 0x6f36bc to 0x6f3bf4 (1336 bytes) // // 5 xrefs: // > PlayLayer::showCompleteEffect @ 0x6f8060 // > @ 0xdbce8 // > PlayLayer::showCompleteEffect @ 0x6f7f54 // > PlayLayer::levelComplete @ 0x703944 // > @ 0x1546978 // // 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 12:51:49 +0000 // __int64 __fastcall PlayLayer::showCompleteText(PlayLayer *this) { unsigned __int8 *v2; // x0 int v3; // w25 cocos2d::CCDirector *v4; // x0 const char *v5; // x1 float v6; // s1 char *v7; // x0 cocos2d::CCNode *v8; // x21 cocos2d::CCScaleTo *v9; // x0 cocos2d::CCEaseElasticOut *v10; // x0 cocos2d::CCActionInterval *v11; // x1 cocos2d::CCDelayTime *v12; // x28 cocos2d::CCScaleTo *v13; // x26 cocos2d::CCEaseIn *v14; // x0 cocos2d::CCActionInterval *v15; // x1 cocos2d::CCHide *v16; // x20 __int64 v17; // x0 cocos2d::CCAction *v18; // x0 const cocos2d::CCPoint *v19; // x0 bool v20; // w2 __int64 v21; // x20 unsigned __int8 *v22; // x2 int v23; // w4 int v24; // w3 float v25; // s2 void (__fastcall *v26)(__int64, float *); // x4 unsigned __int8 *v27; // x2 int v28; // w3 int v29; // w4 float v30; // s2 void (__fastcall *v31)(__int64, float *); // x4 bool v32; // w2 __int64 v33; // x26 __int64 v34; // x0 __int64 (__fastcall *v35)(__int64); // x1 __int64 (__fastcall *v36)(__int64, __int64); // x20 __int64 v37; // x0 __int64 v38; // x0 cocos2d::CCDirector *v39; // x0 int v40; // w20 float v41; // s0 __int64 v42; // x25 __int64 v43; // x2 _BYTE *v44; // x1 char v45; // w4 char v46; // w3 void (__fastcall *v47)(__int64, float *); // x27 __int64 v48; // x23 cocos2d::CCNode *v49; // x0 __int64 v50; // x2 _BYTE *v51; // x1 char v52; // w4 char v53; // w3 __int64 v54; // x1 void (__fastcall *v55)(__int64, __int64); // x21 __int64 v56; // x0 cocos2d::CCDelayTime *v57; // x0 float v58; // s0 cocos2d::CCSequence *v59; // x21 cocos2d::CCFiniteTimeAction *v60; // x0 cocos2d::CCAction *v61; // x0 int v62; // w20 cocos2d::CCDelayTime *v63; // x0 float v64; // s1 cocos2d::CCSequence *v65; // x23 cocos2d::CCFiniteTimeAction *v66; // x0 cocos2d::CCAction *v67; // x0 cocos2d::CCSequence *v68; // x20 cocos2d::CCFiniteTimeAction *v69; // x0 cocos2d::CCAction *v70; // x0 float v72; // [xsp+90h] [xbp+90h] __int64 v73; // [xsp+90h] [xbp+90h] __int64 v74; // [xsp+A0h] [xbp+A0h] BYREF _BYTE v75[8]; // [xsp+A8h] [xbp+A8h] BYREF _BYTE v76[8]; // [xsp+B0h] [xbp+B0h] BYREF float v77; // [xsp+B8h] [xbp+B8h] BYREF float v78; // [xsp+BCh] [xbp+BCh] float v79; // [xsp+C0h] [xbp+C0h] float v80; // [xsp+C4h] [xbp+C4h] v2 = *((unsigned __int8 **)this + 1862); if ( v2 ) v3 = v2[1840]; else v3 = 0; v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v2); cocos2d::CCDirector::getWinSize(&v74, v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v75, *(float *)&v74 * 0.5, (float)(*((float *)&v74 + 1) * 0.5) + 35.0); if ( *((_BYTE *)this + 12544) ) { v6 = 1.0; v7 = "GJ_practiceComplete_001.png"; } else { v6 = 1.1; v7 = "GJ_levelComplete_001.png"; } v72 = v6; v8 = (cocos2d::CCNode *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v7, v5); (*(void (__fastcall **)(PlayLayer *, cocos2d::CCNode *, __int64))(*(_QWORD *)this + 464LL))(this, v8, 15); (*(void (__fastcall **)(cocos2d::CCNode *, _BYTE *))(*(_QWORD *)v8 + 184LL))(v8, v75); v9 = (cocos2d::CCScaleTo *)(*(__int64 (__fastcall **)(cocos2d::CCNode *, float))(*(_QWORD *)v8 + 160LL))(v8, 0.01); v10 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create(v9, 0.66, v72); v12 = (cocos2d::CCDelayTime *)cocos2d::CCEaseElasticOut::create(v10, v11, 0.6); v13 = (cocos2d::CCScaleTo *)cocos2d::CCDelayTime::create(v12, 0.88); v14 = (cocos2d::CCEaseIn *)cocos2d::CCScaleTo::create(v13, 0.22, 0.01, 0.01); v16 = (cocos2d::CCHide *)cocos2d::CCEaseIn::create(v14, v15, 2.0); v73 = cocos2d::CCHide::create(v16); v17 = cocos2d::CCCallFunc::create(v8, 536, 1); v18 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v12, v13, v16, v73, v17, 0); cocos2d::CCNode::runAction(v8, v18); v19 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v8 + 192LL))(v8); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v76, v19); v21 = cocos2d::CCParticleSystemQuad::create((cocos2d::CCParticleSystemQuad *)"levelComplete01.plist", nullptr, v20); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 1584LL))(v21, 1); (*(void (__fastcall **)(PlayLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v21, 13); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v21 + 184LL))(v21, v76); v22 = *((unsigned __int8 **)this + 407); v23 = v22[2603]; v24 = v22[2604]; LODWORD(v22) = v22[2602]; v25 = (float)v23; v26 = *(void (__fastcall **)(__int64, float *))(*(_QWORD *)v21 + 1360LL); v80 = 1.0; v78 = v25 / 255.0; v79 = (float)v24 / 255.0; v77 = (float)(int)v22 / 255.0; v26(v21, &v77); v27 = *((unsigned __int8 **)this + 407); v28 = v27[2604]; v29 = v27[2603]; LODWORD(v27) = v27[2602]; v30 = (float)v29; v31 = *(void (__fastcall **)(__int64, float *))(*(_QWORD *)v21 + 1392LL); v80 = 1.0; v79 = (float)v28 / 255.0; v78 = v30 / 255.0; v77 = (float)(int)v27 / 255.0; v31(v21, &v77); v33 = cocos2d::CCParticleSystemQuad::create((cocos2d::CCParticleSystemQuad *)"levelComplete01.plist", nullptr, v32); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v33 + 1584LL))(v33, 1); (*(void (__fastcall **)(PlayLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v33, 13); v34 = v21; v35 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v21 + 192LL); v36 = *(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v33 + 184LL); v37 = v35(v34); v38 = v36(v33, v37); if ( !v3 ) { v38 = *((unsigned __int8 *)this + 12544); if ( !*((_BYTE *)this + 12544) ) { v39 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v38); cocos2d::CCDirector::getScreenRight(v39); v40 = 0; v42 = CCCircleWave::create(nullptr, 10.0, v41, 0.8); *(_DWORD *)(v42 + 356) = 4; v43 = *(_QWORD *)v42; v44 = *((_BYTE **)this + 407); v45 = v44[2602]; v46 = v44[2603]; *(_BYTE *)(v42 + 342) = v44[2604]; *(_BYTE *)(v42 + 340) = v45; *(_BYTE *)(v42 + 341) = v46; v47 = *(void (__fastcall **)(__int64, float *))(v43 + 184); PlayLayer::getEndPosition(this, (cocos2d::CCPoint *)&v77); v47(v42, &v77); (*(void (__fastcall **)(_QWORD, __int64, _QWORD))(**((_QWORD **)this + 490) + 464LL))( *((_QWORD *)this + 490), v42, 0); v48 = CCCircleWave::create(nullptr, 10.0, 250.0, 0.8); v49 = v8; *(_DWORD *)(v48 + 356) = 4; v50 = *(_QWORD *)v48; v51 = *((_BYTE **)this + 407); v52 = v51[2602]; v53 = v51[2603]; *(_BYTE *)(v48 + 342) = v51[2604]; *(_BYTE *)(v48 + 340) = v52; *(_BYTE *)(v48 + 341) = v53; v54 = *(_QWORD *)v8; v55 = *(void (__fastcall **)(__int64, __int64))(v50 + 184); v56 = (*(__int64 (__fastcall **)(cocos2d::CCNode *))(v54 + 192))(v49); v55(v48, v56); v57 = (cocos2d::CCDelayTime *)(*(__int64 (__fastcall **)(PlayLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))( this, v48, 9); do { v58 = (float)v40++; v59 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v57, v58 * 0.05); v60 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, PlayLayer::spawnCircle, 0); v61 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v59, v60, 0); v57 = (cocos2d::CCDelayTime *)cocos2d::CCNode::runAction(this, v61); } while ( v40 != 5 ); v62 = 0; do { v63 = (cocos2d::CCDelayTime *)rand(); v64 = (float)v62++; v65 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create( v63, (float)((float)((float)((float)((float)(int)v63 * 4.6566e-10) * 2.0) + -1.0) * 0.08) + (float)(v64 * 0.15)); v66 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, PlayLayer::spawnFirework, 0); v67 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v65, v66, 0); v38 = cocos2d::CCNode::runAction(this, v67); } while ( v62 != 10 ); } } v68 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)v38, 1.5); v69 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, PlayLayer::showEndLayer, 0); v70 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v68, v69, 0); cocos2d::CCNode::runAction(this, v70); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source