//
// CurrencyRewardLayer::pulseSprite from 0x90dad0 to 0x90db98 (200 bytes)
//
// 7 xrefs:
// > CurrencyRewardLayer::incrementCount @ 0x90e104
// > CurrencyRewardLayer::incrementStarsCount @ 0x90e234
// > CurrencyRewardLayer::incrementMoonsCount @ 0x90e364
// > CurrencyRewardLayer::incrementDiamondsCount @ 0x90e494
// > CurrencyRewardLayer::incrementSpecialCount1 @ 0x90e5c4
// > CurrencyRewardLayer::incrementSpecialCount2 @ 0x90e6f4
// > ??> @ 0x645c0
//
// 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 CurrencyRewardLayer::pulseSprite(CurrencyRewardLayer *a1, cocos2d::CCSprite *a2)
{
cocos2d::CCScaleTo *v3; // x0
float v4; // s0
cocos2d::CCActionInterval *v5; // x0
cocos2d::CCEaseOut *v6; // x20
cocos2d::CCScaleTo *v7; // x0
float v8; // s0
cocos2d::CCActionInterval *v9; // x0
cocos2d::CCEaseIn *v10; // x0
cocos2d::CCAction *v11; // x20
if ( !cocos2d::CCNode::getActionByTag(a2, 99) )
{
v3 = (cocos2d::CCScaleTo *)((__int64 (__fastcall *)(cocos2d::CCSprite *))a2->getScale)(a2);
v5 = (cocos2d::CCActionInterval *)cocos2d::CCScaleTo::create(v3, 0.08, v4 * 1.5);
v6 = cocos2d::CCEaseOut::create(v5, 1.8);
v7 = (cocos2d::CCScaleTo *)((__int64 (__fastcall *)(cocos2d::CCSprite *))a2->getScale)(a2);
v9 = (cocos2d::CCActionInterval *)cocos2d::CCScaleTo::create(v7, 0.08, v8);
v10 = cocos2d::CCEaseIn::create(v9, 1.8);
v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create((cocos2d::CCSequence *)v6, v10, 0);
v11->setTag(v11, 99);
cocos2d::CCNode::runAction(a2, v11);
}
}