; ; CurrencySprite::create from 0x1007a7c40 to 0x1007a7d15 (213 bytes) ; ; 3 xrefs: ; > CurrencyRewardLayer::init @ 0x1007a7214 ; > CurrencyRewardLayer::init @ 0x1007a74c3 ; > CurrencyRewardLayer::createObjectsFull @ 0x1007a8706 ; ; 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 rbp ; +0x0, 0x1007a7c40 mov rbp, rsp ; +0x1, 0x1007a7c41 push r15 ; +0x4, 0x1007a7c44 push r14 ; +0x6, 0x1007a7c46 push rbx ; +0x8, 0x1007a7c48 push rax ; +0x9, 0x1007a7c49 mov r15d, esi ; +0xa, 0x1007a7c4a mov r14d, edi ; +0xd, 0x1007a7c4d mov edi, 2A0h; __sz ; +0x10, 0x1007a7c50 call __Znwm; operator new(ulong) ; +0x15, 0x1007a7c55 mov rbx, rax ; +0x1a, 0x1007a7c5a mov rdi, rax ; +0x1d, 0x1007a7c5d call cocos2d__CCSprite__CCSprite ; +0x20, 0x1007a7c60 xorps xmm0, xmm0 ; +0x25, 0x1007a7c65 movups xmmword ptr [rbx+258h], xmm0 ; +0x28, 0x1007a7c68 mov dword ptr [rbx+267h], 0 ; +0x2f, 0x1007a7c6f lea rax, off_100991618 ; +0x39, 0x1007a7c79 mov [rbx], rax ; +0x40, 0x1007a7c80 lea rax, off_100991B00 ; +0x43, 0x1007a7c83 mov [rbx+140h], rax ; +0x4a, 0x1007a7c8a lea rax, off_100991B80 ; +0x51, 0x1007a7c91 mov [rbx+158h], rax ; +0x58, 0x1007a7c98 movups xmmword ptr [rbx+26Ch], xmm0 ; +0x5f, 0x1007a7c9f mov dword ptr [rbx+27Ch], 1 ; +0x66, 0x1007a7ca6 mov qword ptr [rbx+280h], 0 ; +0x70, 0x1007a7cb0 mov dword ptr [rbx+288h], 1 ; +0x7b, 0x1007a7cbb mov rdi, rbx ; +0x85, 0x1007a7cc5 add rdi, 28Ch ; +0x88, 0x1007a7cc8 call sub_10028CC30 ; +0x8f, 0x1007a7ccf mov qword ptr [rbx+298h], 0 ; +0x94, 0x1007a7cd4 movzx edx, r15b ; +0x9f, 0x1007a7cdf mov rdi, rbx ; +0xa3, 0x1007a7ce3 mov esi, r14d ; +0xa6, 0x1007a7ce6 call CurrencySprite__init ; +0xa9, 0x1007a7ce9 test al, al ; +0xae, 0x1007a7cee jz short loc_1007A7CFC ; +0xb0, 0x1007a7cf0 mov rdi, rbx ; +0xb2, 0x1007a7cf2 call cocos2d__CCObject__autorelease ; +0xb5, 0x1007a7cf5 jmp short loc_1007A7D07 ; +0xba, 0x1007a7cfa mov rax, [rbx] ; +0xbc, 0x1007a7cfc mov rdi, rbx ; +0xbf, 0x1007a7cff call qword ptr [rax+10h] ; +0xc2, 0x1007a7d02 xor ebx, ebx ; +0xc5, 0x1007a7d05 mov rax, rbx ; +0xc7, 0x1007a7d07 add rsp, 8 ; +0xca, 0x1007a7d0a pop rbx ; +0xce, 0x1007a7d0e pop r14 ; +0xcf, 0x1007a7d0f pop r15 ; +0xd1, 0x1007a7d11 pop rbp ; +0xd3, 0x1007a7d13 retn ; +0xd4, 0x1007a7d14