//
// CurrencyRewardLayer::pulseSprite from 0x1007a9b80 to 0x1007a9c33 (179 bytes)
//
// 6 xrefs:
// > CurrencyRewardLayer::incrementCount @ 0x1007a92c0
// > CurrencyRewardLayer::incrementStarsCount @ 0x1007a9440
// > CurrencyRewardLayer::incrementMoonsCount @ 0x1007a95c0
// > CurrencyRewardLayer::incrementDiamondsCount @ 0x1007a9740
// > CurrencyRewardLayer::incrementSpecialCount2 @ 0x1007a98c0
// > CurrencyRewardLayer::incrementSpecialCount1 @ 0x1007a9a40
//
// 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 CurrencyRewardLayer::pulseSprite(CurrencyRewardLayer *a1, cocos2d::CCSprite *a2)
{
double v2; // xmm0_8
cocos2d::CCScaleTo *v3; // rax
cocos2d::CCEaseOut *v4; // r14
double v5; // xmm0_8
cocos2d::CCScaleTo *v6; // rax
cocos2d::CCEaseIn *v7; // rax
cocos2d::CCSequence *v8; // r14
if ( !cocos2d::CCNode::getActionByTag(a2, 99) )
{
v2 = ((double (__fastcall *)(cocos2d::CCSprite *))a2->getScale)(a2);
v3 = cocos2d::CCScaleTo::create_1(0.079999998, *(float *)&v2 * 1.5);
v4 = cocos2d::CCEaseOut::create(v3, 1.8);
v5 = ((double (__fastcall *)(cocos2d::CCSprite *))a2->getScale)(a2);
v6 = cocos2d::CCScaleTo::create_1(0.079999998, *(float *)&v5);
v7 = cocos2d::CCEaseIn::create(v6, 1.8);
v8 = sub_1003B5760(v4, v7, 0);
((void (__fastcall *)(cocos2d::CCSequence *, __int64))v8->setTag)(v8, 99);
cocos2d::CCNode::runAction(a2, v8);
}
}