// // MapPackCell::playCompleteEffect from 0x1002529b0 to 0x100252bb9 (521 bytes) // // 1 xrefs: // > MapPackCell::onClaimReward @ 0x1002529a4 // // 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 // void __fastcall MapPackCell::playCompleteEffect(MapPackCell *a1) { __int64 v1; // rax double v2; // xmm0_8 cocos2d::CCParticleSystemQuad *v3; // r15 FMODAudioEngine *v4; // rax CCCircleWave *v5; // r14 unsigned int v6; // r14d cocos2d::CCNode *v7; // r15 unsigned int v8; // r12d cocos2d::CCScaleTo *v9; // rax unsigned int v10; // eax int v11; // ecx int v12; // r8d int v13; // r9d cocos2d::CCAction *v14; // rax unsigned int v15; // r14d __int64 v16; // rax _BYTE v17[8]; // [rsp+8h] [rbp-48h] BYREF void *v18[3]; // [rsp+10h] [rbp-40h] BYREF __int16 v19; // [rsp+2Ch] [rbp-24h] BYREF char v20; // [rsp+2Eh] [rbp-22h] v1 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_rewardButton->getParent)(a1->m_rewardButton); (*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 192LL))(v1); v2 = sub_10028CC60(v17); v3 = cocos2d::CCParticleSystemQuad::create("starEffect.plist", 0); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, __int64, double))v3->setAutoRemoveOnFinish)(v3, 1, v2); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCParticleSystemQuad *, __int64))a1->m_mainLayer->addChild_0)( a1->m_mainLayer, v3, 9); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, _BYTE *))v3->setPosition)(v3, v17); v4 = FMODAudioEngine::sharedEngine(); strcpy((char *)v18, "$highscoreGet02.ogg"); FMODAudioEngine::playEffect_1(v4, v18); if ( ((__int64)v18[0] & 1) != 0 ) operator delete(v18[2]); v5 = CCCircleWave::create_1(10.0, 90.0, 0.40000001, 0); v5->m_color.b = 0; *(_WORD *)&v5->m_color.r = -1; ((void (__fastcall *)(CCCircleWave *, _BYTE *))v5->setPosition)(v5, v17); ((void (__fastcall *)(cocos2d::CCLayer *, CCCircleWave *, __int64))a1->m_mainLayer->addChild_0)( a1->m_mainLayer, v5, 9); if ( (unsigned int)sub_100720070(a1->m_rewardSprites) ) { v6 = 0; do { v7 = (cocos2d::CCNode *)sub_1007200C0(a1->m_rewardSprites, v6); v8 = (unsigned int)cocos2d::CCScaleTo::create_1(0.1, 1.8); v9 = cocos2d::CCScaleTo::create_1(0.30000001, 1.0); v10 = (unsigned int)cocos2d::CCEaseBounceOut::create(v9); v14 = (cocos2d::CCAction *)sub_1003B5760(v8, v10, 0, v11, v12, v13); cocos2d::CCNode::runAction(v7, v14); ++v6; } while ( v6 < (unsigned int)sub_100720070(a1->m_rewardSprites) ); } if ( (unsigned int)sub_100720070(a1->m_rewardLabels) ) { v15 = 0; do { v16 = sub_1007200C0(a1->m_rewardLabels, v15); v20 = 50; v19 = -1; (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v16 + 1056LL))(v16, &v19); ++v15; } while ( v15 < (unsigned int)sub_100720070(a1->m_rewardLabels) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source