; ; CurrencySprite::createWithSprite from 0x14013ec10 to 0x14013ede8 (472 bytes) ; ; 2 xrefs: ; > CurrencyRewardLayer::createObjectsFull @ 0x14013c227 ; > @ 0x1409172c4 ; ; 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 11:27:08 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14013ec10 push rsi ; +0x5, 0x14013ec15 sub rsp, 30h ; +0x6, 0x14013ec16 mov rbx, rdx ; +0xa, 0x14013ec1a mov rsi, rcx ; +0xd, 0x14013ec1d call cs:__imp_?init@CCSprite@cocos2d@@UEAA_NXZ; cocos2d::CCSprite::init(void) ; +0x10, 0x14013ec20 test al, al ; +0x16, 0x14013ec26 jnz short loc_14013EC35 ; +0x18, 0x14013ec28 mov rbx, [rsp+38h+arg_8] ; +0x1a, 0x14013ec2a add rsp, 30h ; +0x1f, 0x14013ec2f pop rsi ; +0x23, 0x14013ec33 retn ; +0x24, 0x14013ec34 mov rax, [rsi] ; +0x25, 0x14013ec35 mov rdx, rbx ; +0x28, 0x14013ec38 mov [rsp+38h+arg_0], rdi ; +0x2b, 0x14013ec3b mov rcx, rsi ; +0x30, 0x14013ec40 movaps [rsp+38h+var_18], xmm6 ; +0x33, 0x14013ec43 call qword ptr [rax+1D0h] ; +0x38, 0x14013ec48 mov rax, [rbx] ; +0x3e, 0x14013ec4e lea rdx, unk_14090A3A8 ; +0x41, 0x14013ec51 mov rcx, rbx ; +0x48, 0x14013ec58 call qword ptr [rax+0B8h] ; +0x4b, 0x14013ec5b lea rcx, aShineburst001P; "shineBurst_001.png" ; +0x51, 0x14013ec61 call cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x58, 0x14013ec68 mov rcx, rax ; +0x5e, 0x14013ec6e mov [rsi+2A0h], rax ; +0x61, 0x14013ec71 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x68, 0x14013ec78 call cs:rand ; +0x6e, 0x14013ec7e movd xmm0, eax ; +0x74, 0x14013ec84 cvtdq2ps xmm0, xmm0 ; +0x78, 0x14013ec88 divss xmm0, cs:dword_140835BDC ; +0x7b, 0x14013ec8b comiss xmm0, cs:dword_140834F20 ; +0x83, 0x14013ec93 jbe short loc_14013ECA6 ; +0x8a, 0x14013ec9a movss xmm6, cs:flt_140835080 ; +0x8c, 0x14013ec9c jmp short loc_14013ECAE ; +0x94, 0x14013eca4 movss xmm6, cs:dword_140835C90 ; +0x96, 0x14013eca6 movss xmm0, cs:flt_140835080 ; +0x9e, 0x14013ecae movaps xmm1, xmm6 ; +0xa6, 0x14013ecb6 mulss xmm1, cs:flt_140835780 ; +0xa9, 0x14013ecb9 call cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0xb1, 0x14013ecc1 mov rcx, rax ; +0xb7, 0x14013ecc7 call cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0xba, 0x14013ecca mov rcx, [rsi+2A0h] ; +0xc0, 0x14013ecd0 mov rdx, rax ; +0xc7, 0x14013ecd7 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xca, 0x14013ecda mov rcx, [rsi+2A0h] ; +0xd0, 0x14013ece0 movss xmm1, cs:width ; +0xd7, 0x14013ece7 mov rax, [rcx] ; +0xdf, 0x14013ecef call qword ptr [rax+0A0h] ; +0xe2, 0x14013ecf2 mov rcx, [rsi+2A0h] ; +0xe8, 0x14013ecf8 lea rdx, [rsp+38h+arg_10] ; +0xef, 0x14013ecff add rcx, 140h ; +0xf4, 0x14013ed04 mov [rsp+38h+arg_10], 0FFFFh ; +0xfb, 0x14013ed0b mov [rsp+38h+arg_12], 0FFh ; +0x102, 0x14013ed12 mov rax, [rcx] ; +0x107, 0x14013ed17 call qword ptr [rax] ; +0x10a, 0x14013ed1a lea rcx, aShineburst001P; "shineBurst_001.png" ; +0x10c, 0x14013ed1c call cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x113, 0x14013ed23 mov rcx, [rsi+2A0h] ; +0x119, 0x14013ed29 mov rdi, rax ; +0x120, 0x14013ed30 mov rdx, [rcx] ; +0x123, 0x14013ed33 mov r9, [rdx+1D0h] ; +0x126, 0x14013ed36 mov rdx, rax ; +0x12d, 0x14013ed3d call r9 ; +0x130, 0x14013ed40 mov rcx, [rsi+2A0h] ; +0x133, 0x14013ed43 lea r8, unk_14090A3A8 ; +0x13a, 0x14013ed4a mov rbx, [rdi] ; +0x141, 0x14013ed51 lea rdx, [rsp+38h+arg_10] ; +0x144, 0x14013ed54 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x149, 0x14013ed59 mov rdx, rax ; +0x14f, 0x14013ed5f mov rcx, rdi ; +0x152, 0x14013ed62 call qword ptr [rbx+0B8h] ; +0x155, 0x14013ed65 mov rax, [rdi] ; +0x15b, 0x14013ed6b mov rcx, rdi ; +0x15e, 0x14013ed6e movss xmm1, cs:dword_140834FE8 ; +0x161, 0x14013ed71 call qword ptr [rax+0A0h] ; +0x169, 0x14013ed79 lea rcx, [rdi+140h] ; +0x16f, 0x14013ed7f mov [rsp+38h+arg_10], 0FFFFh ; +0x176, 0x14013ed86 mov rax, [rcx] ; +0x17d, 0x14013ed8d lea rdx, [rsp+38h+arg_10] ; +0x180, 0x14013ed90 mov [rsp+38h+arg_12], 0FFh ; +0x185, 0x14013ed95 call qword ptr [rax] ; +0x18a, 0x14013ed9a xorps xmm6, cs:xmmword_140836CC0 ; +0x18c, 0x14013ed9c mulss xmm6, cs:dword_1408358B8 ; +0x193, 0x14013eda3 movss xmm0, cs:flt_140835080 ; +0x19b, 0x14013edab movaps xmm1, xmm6 ; +0x1a3, 0x14013edb3 call cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0x1a6, 0x14013edb6 mov rcx, rax ; +0x1ac, 0x14013edbc call cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0x1af, 0x14013edbf mov rdx, rax ; +0x1b5, 0x14013edc5 mov rcx, rdi ; +0x1b8, 0x14013edc8 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x1bb, 0x14013edcb movaps xmm6, [rsp+38h+var_18] ; +0x1c1, 0x14013edd1 mov al, 1 ; +0x1c6, 0x14013edd6 mov rdi, [rsp+38h+arg_0] ; +0x1c8, 0x14013edd8 mov rbx, [rsp+38h+arg_8] ; +0x1cd, 0x14013eddd add rsp, 30h ; +0x1d2, 0x14013ede2 pop rsi ; +0x1d6, 0x14013ede6 retn ; +0x1d7, 0x14013ede7