//
// CurrencyRewardLayer::pulseSprite from 0xa68004 to 0xa680cc (200 bytes)
//
// 7 xrefs:
// > CurrencyRewardLayer::incrementCount @ 0xa686a4
// > CurrencyRewardLayer::incrementStarsCount @ 0xa687d4
// > CurrencyRewardLayer::incrementMoonsCount @ 0xa68904
// > CurrencyRewardLayer::incrementDiamondsCount @ 0xa68a34
// > CurrencyRewardLayer::incrementSpecialCount1 @ 0xa68b64
// > CurrencyRewardLayer::incrementSpecialCount2 @ 0xa68c94
// > ??> @ 0x88858
//
// 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:18 +0000
//
__int64 __fastcall CurrencyRewardLayer::pulseSprite(CurrencyRewardLayer *this, cocos2d::CCSprite *a2)
{
__int64 result; // x0
cocos2d::CCScaleTo *v4; // x0
float v5; // s0
cocos2d::CCEaseOut *v6; // x0
cocos2d::CCActionInterval *v7; // x1
cocos2d::CCSequence *v8; // x20
cocos2d::CCScaleTo *v9; // x0
float v10; // s0
cocos2d::CCEaseIn *v11; // x0
cocos2d::CCActionInterval *v12; // x1
cocos2d::CCFiniteTimeAction *v13; // x0
cocos2d::CCAction *v14; // x20
result = cocos2d::CCNode::getActionByTag(a2, 99);
if ( !result )
{
v4 = (cocos2d::CCScaleTo *)(*(__int64 (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)a2 + 168LL))(a2);
v6 = (cocos2d::CCEaseOut *)cocos2d::CCScaleTo::create(v4, 0.08, v5 * 1.5);
v8 = (cocos2d::CCSequence *)cocos2d::CCEaseOut::create(v6, v7, 1.8);
v9 = (cocos2d::CCScaleTo *)(*(__int64 (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)a2 + 168LL))(a2);
v11 = (cocos2d::CCEaseIn *)cocos2d::CCScaleTo::create(v9, 0.08, v10);
v13 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCEaseIn::create(v11, v12, 1.8);
v14 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v13, 0);
(*(void (__fastcall **)(cocos2d::CCAction *, __int64))(*(_QWORD *)v14 + 72LL))(v14, 99);
return cocos2d::CCNode::runAction(a2, v14);
}
return result;
}