//
// CurrencyRewardLayer::pulseSprite from 0x10088ce20 to 0x10088ced3 (179 bytes)
//
// 6 xrefs:
// > sub_10088C520 @ 0x10088c560
// > sub_10088C6A0 @ 0x10088c6e0
// > sub_10088C820 @ 0x10088c860
// > sub_10088C9A0 @ 0x10088c9e0
// > sub_10088CB20 @ 0x10088cb60
// > sub_10088CCA0 @ 0x10088cce0
//
// This function is hookable on this platform (idp: pc, 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 12:37:02 +0000
//
__int64 __fastcall CurrencyRewardLayer::pulseSprite(__int64 a1, __int64 a2)
{
__int64 result; // rax
double v3; // xmm0_8
_OWORD *v4; // rax
_OWORD *v5; // r14
double v6; // xmm0_8
_OWORD *v7; // rax
_OWORD *v8; // rax
__int64 v9; // r14
result = cocos2d::CCNode::getActionByTag(a2, 99);
if ( !result )
{
v3 = (*(double (__fastcall **)(__int64))(*(_QWORD *)a2 + 168LL))(a2);
v4 = cocos2d::CCScaleTo::create_1((__m128)0x3DA3D70Au, *(float *)&v3 * 1.5);
v5 = cocos2d::CCEaseOut::create((__int64)v4, 1.8);
v6 = (*(double (__fastcall **)(__int64))(*(_QWORD *)a2 + 168LL))(a2);
v7 = cocos2d::CCScaleTo::create_1((__m128)0x3DA3D70Au, *(float *)&v6);
v8 = cocos2d::CCEaseIn::create((__int64)v7, 1.8);
v9 = sub_10039EB60((__int64)v5, v8, 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 72LL))(v9, 99);
return cocos2d::CCNode::runAction(a2, v9);
}
return result;
}