//
// CurrencyRewardLayer::pulseSprite from 0x603680 to 0x6036ee (110 bytes)
//
// 6 xrefs:
// > CurrencyRewardLayer::incrementCount @ 0x6039de
// > CurrencyRewardLayer::incrementStarsCount @ 0x603a62
// > CurrencyRewardLayer::incrementMoonsCount @ 0x603ae6
// > CurrencyRewardLayer::incrementDiamondsCount @ 0x603b6a
// > CurrencyRewardLayer::incrementSpecialCount1 @ 0x603bee
// > CurrencyRewardLayer::incrementSpecialCount2 @ 0x603c72
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:42 +0000
//
int __fastcall CurrencyRewardLayer::pulseSprite(CurrencyRewardLayer *this, cocos2d::CCSprite *a2)
{
int result; // r0
float v4; // r0
float v5; // r2
cocos2d::CCEaseOut *v6; // r0
float v7; // r2
cocos2d::CCSequence *v8; // r6
float v9; // r0
float v10; // r2
cocos2d::CCEaseIn *v11; // r0
float v12; // r2
cocos2d::CCFiniteTimeAction *v13; // r0
cocos2d::CCAction *v14; // r5
result = cocos2d::CCNode::getActionByTag(a2, 99);
if ( !result )
{
v4 = (*(float (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)a2 + 84))(a2);
v6 = (cocos2d::CCEaseOut *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3DA3D70A, v4 * 1.5, v5);
v8 = (cocos2d::CCSequence *)cocos2d::CCEaseOut::create(v6, (cocos2d::CCActionInterval *)0x3FE66666, v7);
v9 = (*(float (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)a2 + 84))(a2);
v11 = (cocos2d::CCEaseIn *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3DA3D70A, v9, v10);
v13 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCEaseIn::create(v11, (cocos2d::CCActionInterval *)0x3FE66666, v12);
v14 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v13, 0);
(*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v14 + 36))(v14, 99);
return cocos2d::CCNode::runAction(a2, v14);
}
return result;
}