; ; CurrencySprite::createWithSprite from 0x1400a4bc0 to 0x1400a4dda (538 bytes) ; ; 2 xrefs: ; > CurrencyRewardLayer::createObjectsFull @ 0x1400a21ab ; > @ 0x1406c7704 ; ; 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 ; push rbx ; +0x0, 0x1400a4bc0 push rsi ; +0x2, 0x1400a4bc2 push rdi ; +0x3, 0x1400a4bc3 sub rsp, 30h ; +0x4, 0x1400a4bc4 movaps xmmword ptr [rsp+48h+var_28], xmm6 ; +0x8, 0x1400a4bc8 mov rbx, rcx ; +0xd, 0x1400a4bcd mov ecx, 2A8h; Size ; +0x10, 0x1400a4bd0 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x15, 0x1400a4bd5 mov [rsp+48h+arg_8], rax ; +0x1a, 0x1400a4bda mov rcx, rax ; +0x1f, 0x1400a4bdf call CurrencySprite__CurrencySprite ; +0x22, 0x1400a4be2 mov rsi, rax ; +0x27, 0x1400a4be7 test rax, rax ; +0x2a, 0x1400a4bea jz loc_1400A4DCA ; +0x2d, 0x1400a4bed mov rcx, rax ; +0x33, 0x1400a4bf3 call cs:__imp_?init@CCSprite@cocos2d@@UEAA_NXZ; cocos2d::CCSprite::init(void) ; +0x36, 0x1400a4bf6 mov rcx, rsi ; +0x3c, 0x1400a4bfc test al, al ; +0x3f, 0x1400a4bff mov rax, [rsi] ; +0x41, 0x1400a4c01 jz loc_1400A4DC0 ; +0x44, 0x1400a4c04 mov rdx, rbx ; +0x4a, 0x1400a4c0a call qword ptr [rax+1C0h] ; +0x4d, 0x1400a4c0d mov rax, [rbx] ; +0x53, 0x1400a4c13 lea rdx, stru_1406C1948 ; +0x56, 0x1400a4c16 mov rcx, rbx ; +0x5d, 0x1400a4c1d call qword ptr [rax+0B8h] ; +0x60, 0x1400a4c20 lea rcx, aShineburst001P; "shineBurst_001.png" ; +0x66, 0x1400a4c26 call cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x6d, 0x1400a4c2d mov [rsi+2A0h], rax ; +0x73, 0x1400a4c33 mov rcx, rax ; +0x7a, 0x1400a4c3a call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x7d, 0x1400a4c3d call cs:rand ; +0x83, 0x1400a4c43 movd xmm0, eax ; +0x89, 0x1400a4c49 cvtdq2ps xmm0, xmm0 ; +0x8d, 0x1400a4c4d divss xmm0, cs:dword_140623644 ; +0x90, 0x1400a4c50 comiss xmm0, cs:dword_140622B08 ; +0x98, 0x1400a4c58 jbe short loc_1400A4C6B ; +0x9f, 0x1400a4c5f movss xmm6, cs:flt_140622C24 ; +0xa1, 0x1400a4c61 jmp short loc_1400A4C73 ; +0xa9, 0x1400a4c69 movss xmm6, cs:dword_1406236F0 ; +0xab, 0x1400a4c6b movaps xmm1, xmm6 ; +0xb3, 0x1400a4c73 mulss xmm1, cs:dword_140623294 ; +0xb6, 0x1400a4c76 movss xmm0, cs:flt_140622C24 ; +0xbe, 0x1400a4c7e call cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0xc6, 0x1400a4c86 mov rcx, rax ; +0xcc, 0x1400a4c8c call cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0xcf, 0x1400a4c8f mov rdx, rax ; +0xd5, 0x1400a4c95 mov rcx, [rsi+2A0h] ; +0xd8, 0x1400a4c98 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xdf, 0x1400a4c9f mov rcx, [rsi+2A0h] ; +0xe5, 0x1400a4ca5 mov rax, [rcx] ; +0xec, 0x1400a4cac movss xmm1, cs:width ; +0xef, 0x1400a4caf call qword ptr [rax+0A0h] ; +0xf7, 0x1400a4cb7 mov word ptr [rsp+48h+arg_8], 0FFFFh ; +0xfd, 0x1400a4cbd movzx eax, word ptr [rsp+48h+arg_8] ; +0x104, 0x1400a4cc4 mov word ptr [rsp+48h+arg_8], ax ; +0x109, 0x1400a4cc9 mov byte ptr [rsp+48h+arg_8+2], 0FFh ; +0x10e, 0x1400a4cce mov rcx, [rsi+2A0h] ; +0x113, 0x1400a4cd3 add rcx, 140h ; +0x11a, 0x1400a4cda mov rax, [rcx] ; +0x121, 0x1400a4ce1 lea rdx, [rsp+48h+arg_8] ; +0x124, 0x1400a4ce4 call qword ptr [rax] ; +0x129, 0x1400a4ce9 lea rcx, aShineburst001P; "shineBurst_001.png" ; +0x12b, 0x1400a4ceb call cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x132, 0x1400a4cf2 mov rdi, rax ; +0x138, 0x1400a4cf8 mov rcx, [rsi+2A0h] ; +0x13b, 0x1400a4cfb mov r9, [rcx] ; +0x142, 0x1400a4d02 mov rdx, rax ; +0x145, 0x1400a4d05 call qword ptr [r9+1C0h] ; +0x148, 0x1400a4d08 mov rbx, [rdi] ; +0x14f, 0x1400a4d0f lea r8, stru_1406C1948 ; +0x152, 0x1400a4d12 lea rdx, [rsp+48h+arg_18] ; +0x159, 0x1400a4d19 mov rcx, [rsi+2A0h] ; +0x15e, 0x1400a4d1e call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x165, 0x1400a4d25 mov rdx, rax ; +0x16b, 0x1400a4d2b mov rcx, rdi ; +0x16e, 0x1400a4d2e call qword ptr [rbx+0B8h] ; +0x171, 0x1400a4d31 mov rax, [rdi] ; +0x177, 0x1400a4d37 movss xmm1, cs:dword_140622BA4 ; +0x17a, 0x1400a4d3a mov rcx, rdi ; +0x182, 0x1400a4d42 call qword ptr [rax+0A0h] ; +0x185, 0x1400a4d45 mov [rsp+48h+arg_10], 0FFFFh ; +0x18b, 0x1400a4d4b movzx eax, [rsp+48h+arg_10] ; +0x192, 0x1400a4d52 mov [rsp+48h+arg_10], ax ; +0x197, 0x1400a4d57 mov [rsp+48h+arg_12], 0FFh ; +0x19c, 0x1400a4d5c lea rcx, [rdi+140h] ; +0x1a1, 0x1400a4d61 mov rax, [rcx] ; +0x1a8, 0x1400a4d68 lea rdx, [rsp+48h+arg_10] ; +0x1ab, 0x1400a4d6b call qword ptr [rax] ; +0x1b0, 0x1400a4d70 xorps xmm6, cs:xmmword_1406243F0 ; +0x1b2, 0x1400a4d72 mulss xmm6, cs:dword_1406233A4 ; +0x1b9, 0x1400a4d79 movaps xmm1, xmm6 ; +0x1c1, 0x1400a4d81 movss xmm0, cs:flt_140622C24 ; +0x1c4, 0x1400a4d84 call cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0x1cc, 0x1400a4d8c mov rcx, rax ; +0x1d2, 0x1400a4d92 call cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0x1d5, 0x1400a4d95 mov rdx, rax ; +0x1db, 0x1400a4d9b mov rcx, rdi ; +0x1de, 0x1400a4d9e call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x1e1, 0x1400a4da1 mov rcx, rsi ; +0x1e7, 0x1400a4da7 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1ea, 0x1400a4daa mov rax, rsi ; +0x1f0, 0x1400a4db0 movaps xmm6, xmmword ptr [rsp+48h+var_28] ; +0x1f3, 0x1400a4db3 add rsp, 30h ; +0x1f8, 0x1400a4db8 pop rdi ; +0x1fc, 0x1400a4dbc pop rsi ; +0x1fd, 0x1400a4dbd pop rbx ; +0x1fe, 0x1400a4dbe retn ; +0x1ff, 0x1400a4dbf mov edx, 1 ; +0x200, 0x1400a4dc0 call qword ptr [rax+8] ; +0x205, 0x1400a4dc5 xor esi, esi ; +0x208, 0x1400a4dc8 mov rax, rsi ; +0x20a, 0x1400a4dca movaps xmm6, xmmword ptr [rsp+48h+var_28] ; +0x20d, 0x1400a4dcd add rsp, 30h ; +0x212, 0x1400a4dd2 pop rdi ; +0x216, 0x1400a4dd6 pop rsi ; +0x217, 0x1400a4dd7 pop rbx ; +0x218, 0x1400a4dd8 retn ; +0x219, 0x1400a4dd9