{"type": "func", "start": 5370008448, "end": 5370008650, "name": "CurrencyRewardLayer::pulseSprite", "pseudocode": "// \n// CurrencyRewardLayer::pulseSprite from 0x14013d380 to 0x14013d44a (202 bytes)\n// \n// 9 xrefs:\n// > CurrencyRewardLayer::update @ 0x14013ce94\n// > CurrencyRewardLayer::update @ 0x14013cf09\n// > CurrencyRewardLayer::update @ 0x14013cf7e\n// > CurrencyRewardLayer::update @ 0x14013cff3\n// > CurrencyRewardLayer::update @ 0x14013d079\n// > CurrencyRewardLayer::update @ 0x14013d0e2\n// > <???> @ 0x140899a18\n// > <???> @ 0x140899a28\n// > <???> @ 0x140917294\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:07 +0000\n// \n\nstruct cocos2d::CCAction *__fastcall CurrencyRewardLayer::pulseSprite(__int64 a1, cocos2d::CCNode *a2)\n{\n  struct cocos2d::CCAction *result; // rax\n  double v4; // xmm0_8\n  struct cocos2d::CCActionInterval *v5; // rax\n  struct cocos2d::CCFiniteTimeAction *v6; // rbx\n  double v7; // xmm0_8\n  struct cocos2d::CCActionInterval *v8; // rax\n  struct cocos2d::CCEaseIn *v9; // rax\n  struct cocos2d::CCAction *v10; // rbx\n\n  result = cocos2d::CCNode::getActionByTag(a2, 99);\n  if ( !result )\n  {\n    v4 = (*(double (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)a2 + 168LL))(a2);\n    v5 = cocos2d::CCScaleTo::create(0.079999998, *(float *)&v4 * 1.5);\n    v6 = cocos2d::CCEaseOut::create(v5, 1.8);\n    v7 = (*(double (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)a2 + 168LL))(a2);\n    v8 = cocos2d::CCScaleTo::create(0.079999998, *(float *)&v7);\n    v9 = cocos2d::CCEaseIn::create(v8, 1.8);\n    v10 = cocos2d::CCSequence::create(v6, v9, 0);\n    (*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v10 + 64LL))(v10, 99);\n    return cocos2d::CCNode::runAction(a2, v10);\n  }\n  return result;\n}", "assembly": "; \n; CurrencyRewardLayer::pulseSprite from 0x14013d380 to 0x14013d44a (202 bytes)\n; \n; 9 xrefs:\n; > CurrencyRewardLayer::update @ 0x14013ce94\n; > CurrencyRewardLayer::update @ 0x14013cf09\n; > CurrencyRewardLayer::update @ 0x14013cf7e\n; > CurrencyRewardLayer::update @ 0x14013cff3\n; > CurrencyRewardLayer::update @ 0x14013d079\n; > CurrencyRewardLayer::update @ 0x14013d0e2\n; > <???> @ 0x140899a18\n; > <???> @ 0x140899a28\n; > <???> @ 0x140917294\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:07 +0000\n; \npush    rdi                                                            ; +0x0, 0x14013d380\nsub     rsp, 20h                                                       ; +0x2, 0x14013d382\nmov     rdi, rdx                                                       ; +0x6, 0x14013d386\nmov     edx, 63h ; 'c'                                                 ; +0x9, 0x14013d389\nmov     rcx, rdi                                                       ; +0xe, 0x14013d38e\ncall    cs:?getActionByTag@CCNode@cocos2d@@QEAAPEAVCCAction@2@H@Z; cocos2d::CCNode::getActionByTag(int) ; +0x11, 0x14013d391\ntest    rax, rax                                                       ; +0x17, 0x14013d397\njnz     loc_14013D444                                                  ; +0x1a, 0x14013d39a\nmov     rax, [rdi]                                                     ; +0x20, 0x14013d3a0\nmov     rcx, rdi                                                       ; +0x23, 0x14013d3a3\nmov     [rsp+28h+arg_0], rbx                                           ; +0x26, 0x14013d3a6\ncall    qword ptr [rax+0A8h]                                           ; +0x2b, 0x14013d3ab\nmulss   xmm0, cs:dword_140835164                                       ; +0x31, 0x14013d3b1\nmovaps  xmm1, xmm0                                                     ; +0x39, 0x14013d3b9\nmovss   xmm0, cs:dword_140834DF4                                       ; +0x3c, 0x14013d3bc\ncall    cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCScaleTo::create(float,float) ; +0x44, 0x14013d3c4\nmovss   xmm1, cs:dword_140835228                                       ; +0x4a, 0x14013d3ca\nmov     rcx, rax                                                       ; +0x52, 0x14013d3d2\ncall    cs:?create@CCEaseOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseOut::create(cocos2d::CCActionInterval *,float) ; +0x55, 0x14013d3d5\nmov     rcx, [rdi]                                                     ; +0x5b, 0x14013d3db\nmov     rbx, rax                                                       ; +0x5e, 0x14013d3de\nmov     rdx, [rcx+0A8h]                                                ; +0x61, 0x14013d3e1\nmov     rcx, rdi                                                       ; +0x68, 0x14013d3e8\ncall    rdx                                                            ; +0x6b, 0x14013d3eb\nmovaps  xmm1, xmm0                                                     ; +0x6d, 0x14013d3ed\nmovss   xmm0, cs:dword_140834DF4                                       ; +0x70, 0x14013d3f0\ncall    cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCScaleTo::create(float,float) ; +0x78, 0x14013d3f8\nmovss   xmm1, cs:dword_140835228                                       ; +0x7e, 0x14013d3fe\nmov     rcx, rax                                                       ; +0x86, 0x14013d406\ncall    cs:?create@CCEaseIn@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseIn::create(cocos2d::CCActionInterval *,float) ; +0x89, 0x14013d409\nxor     r8d, r8d                                                       ; +0x8f, 0x14013d40f\nmov     rcx, rbx                                                       ; +0x92, 0x14013d412\nmov     rdx, rax                                                       ; +0x95, 0x14013d415\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x98, 0x14013d418\nmov     edx, 63h ; 'c'                                                 ; +0x9e, 0x14013d41e\nmov     rbx, rax                                                       ; +0xa3, 0x14013d423\nmov     rcx, [rax]                                                     ; +0xa6, 0x14013d426\nmov     r8, [rcx+40h]                                                  ; +0xa9, 0x14013d429\nmov     rcx, rax                                                       ; +0xad, 0x14013d42d\ncall    r8                                                             ; +0xb0, 0x14013d430\nmov     rdx, rbx                                                       ; +0xb3, 0x14013d433\nmov     rcx, rdi                                                       ; +0xb6, 0x14013d436\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xb9, 0x14013d439\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xbf, 0x14013d43f\nadd     rsp, 20h                                                       ; +0xc4, 0x14013d444\npop     rdi                                                            ; +0xc8, 0x14013d448\nretn                                                                   ; +0xc9, 0x14013d449", "xrefs": ["CurrencyRewardLayer::update @ 0x14013ce94", "CurrencyRewardLayer::update @ 0x14013cf09", "CurrencyRewardLayer::update @ 0x14013cf7e", "CurrencyRewardLayer::update @ 0x14013cff3", "CurrencyRewardLayer::update @ 0x14013d079", "CurrencyRewardLayer::update @ 0x14013d0e2", "<???> @ 0x140899a18", "<???> @ 0x140899a28", "<???> @ 0x140917294"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}