// // MapPackCell::playCompleteEffect from 0x1400b2950 to 0x1400b2c4d (765 bytes) // // 2 xrefs: // > MapPackCell::onClaimReward @ 0x1400b2940 // > @ 0x1406c7a88 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 void MapPackCell::playCompleteEffect(MapPackCell *a1) { float v1; // xmm3_4 cocos2d::CCNode *v3; // rax const struct cocos2d::CCPoint *v4; // rax struct cocos2d::CCParticleSystemQuad *v5; // rbx _BOOL8 v6; // rdx unsigned int v7; // esi int v8; // ecx CCCircleWave *v9; // rbx unsigned int i; // r14d CCLightFlash *v11; // rdi struct cocos2d::CCScaleTo *v12; // rbx struct cocos2d::CCScaleTo *v13; // rax struct cocos2d::CCEaseBounceOut *v14; // rax struct cocos2d::CCSequence *v15; // rax cocos2d::ccColor3B *v16; // r8 struct cocos2d::CCObject *v17; // rax float v18; // [rsp+20h] [rbp-98h] __int128 v19; // [rsp+30h] [rbp-88h] BYREF __int64 v20; // [rsp+40h] [rbp-78h] __int64 v21; // [rsp+48h] [rbp-70h] __int128 *v22; // [rsp+C0h] [rbp+8h] BYREF cocos2d::CCPoint v23; // [rsp+C8h] [rbp+10h] BYREF FMODAudioEngine *v24; // [rsp+D0h] [rbp+18h] v3 = a1->m_rewardButton->getParent(a1->m_rewardButton); v4 = v3->getPosition_0(v3); cocos2d::CCPoint::CCPoint(&v23, v4); v5 = cocos2d::CCParticleSystemQuad::create("starEffect.plist", 0); LOBYTE(v6) = 1; v5->setAutoRemoveOnFinish(v5, v6); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 9); v5->setPosition_0(v5, &v23); v22 = &v19; v19 = 0; v7 = 0; v20 = 0; v21 = 15; *(_QWORD *)&v19 = sub_14003AA10(0x20u); v20 = 18; v21 = 31; strcpy((char *)v19, "highscoreGet02.ogg"); v8 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v24 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v24); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v8 = qword_1406C2E88; } FMODAudioEngine::playEffect_1(v8, (__int64)&v19); v9 = CCCircleWave::create(10.0, 90.0, 0.40000001, 0, 1); *(_WORD *)&v9->m_color.r = -1; v9->m_color.b = 0; v9->setPosition_0(v9, &v23); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v9, 9); for ( i = 0; i < cocos2d::CCArray::count(a1->m_rewardSprites); ++i ) { v11 = (CCLightFlash *)cocos2d::CCArray::objectAtIndex(a1->m_rewardSprites, i); v12 = cocos2d::CCScaleTo::create(0.1, 1.8); v13 = cocos2d::CCScaleTo::create(0.30000001, 1.0); v14 = cocos2d::CCEaseBounceOut::create(v13); v15 = cocos2d::CCSequence::create(v12, v14, 0); cocos2d::CCNode::runAction(v11, (cocos2d::CCPoint)v15, v16, v1, v18); } if ( cocos2d::CCArray::count(a1->m_rewardLabels) ) { LOWORD(v22) = -1; do { v17 = cocos2d::CCArray::objectAtIndex(a1->m_rewardLabels, v7); LOWORD(v22) = -1; BYTE2(v22) = 50; (**(void (__fastcall ***)(__int64, __int128 **))&v17[6].m_uIndexInArray)((__int64)&v17[6].m_uIndexInArray, &v22); ++v7; } while ( v7 < cocos2d::CCArray::count(a1->m_rewardLabels) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source