; ; cocos2d::CCAnimation::copyWithZone from 0x180089a60 to 0x180089b26 (198 bytes) ; ; 3 xrefs: ; > @ 0x180103638 ; > @ 0x1801438a8 ; > @ 0x1801b59c4 ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x180089a60 mov [rsp+arg_10], rsi ; +0x5, 0x180089a65 push rdi ; +0xa, 0x180089a6a sub rsp, 20h ; +0xb, 0x180089a6b mov rsi, rcx ; +0xf, 0x180089a6f xor edi, edi ; +0x12, 0x180089a72 test rdx, rdx ; +0x14, 0x180089a74 jz short loc_180089A81 ; +0x17, 0x180089a77 mov rbx, [rdx] ; +0x19, 0x180089a79 test rbx, rbx ; +0x1c, 0x180089a7c jnz short loc_180089AE3 ; +0x1f, 0x180089a7f mov ecx, 58h ; 'X'; Size ; +0x21, 0x180089a81 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x26, 0x180089a86 mov rbx, rax ; +0x2b, 0x180089a8b mov [rsp+28h+arg_0], rax ; +0x2e, 0x180089a8e test rax, rax ; +0x33, 0x180089a93 jz short loc_180089ABE ; +0x36, 0x180089a96 mov rcx, rax; this ; +0x38, 0x180089a98 call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x3b, 0x180089a9b lea rax, ??_7CCAnimation@cocos2d@@6B@; const cocos2d::CCAnimation::`vftable' ; +0x40, 0x180089aa0 mov [rbx], rax ; +0x47, 0x180089aa7 mov [rbx+38h], rdi ; +0x4a, 0x180089aaa mov [rbx+40h], edi ; +0x4e, 0x180089aae mov [rbx+48h], rdi ; +0x51, 0x180089ab1 mov byte ptr [rbx+50h], 0 ; +0x55, 0x180089ab5 mov [rbx+54h], edi ; +0x59, 0x180089ab9 jmp short loc_180089AC1 ; +0x5c, 0x180089abc mov rbx, rdi ; +0x5e, 0x180089abe mov ecx, 8; Size ; +0x61, 0x180089ac1 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x66, 0x180089ac6 mov [rsp+28h+arg_0], rax ; +0x6b, 0x180089acb test rax, rax ; +0x70, 0x180089ad0 jz short loc_180089AE3 ; +0x73, 0x180089ad3 mov rdx, rbx; struct tinyxml2::XMLNode * ; +0x75, 0x180089ad5 mov rcx, rax; this ; +0x78, 0x180089ad8 call ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x7b, 0x180089adb mov rdi, rax ; +0x80, 0x180089ae0 mov r9d, [rsi+54h]; unsigned int ; +0x83, 0x180089ae3 movss xmm2, dword ptr [rsi+3Ch]; float ; +0x87, 0x180089ae7 mov rdx, [rsi+48h]; struct cocos2d::CCArray * ; +0x8c, 0x180089aec mov rcx, rbx; this ; +0x90, 0x180089af0 call ?initWithAnimationFrames@CCAnimation@cocos2d@@QEAA_NPEAVCCArray@2@MI@Z; cocos2d::CCAnimation::initWithAnimationFrames(cocos2d::CCArray *,float,uint) ; +0x93, 0x180089af3 movzx r8d, byte ptr [rsi+50h] ; +0x98, 0x180089af8 mov [rbx+50h], r8b ; +0x9d, 0x180089afd test rdi, rdi ; +0xa1, 0x180089b01 jz short loc_180089B13 ; +0xa4, 0x180089b04 mov edx, 8 ; +0xa6, 0x180089b06 mov rcx, rdi; Block ; +0xab, 0x180089b0b call j_j_free_0 ; +0xae, 0x180089b0e mov rax, rbx ; +0xb3, 0x180089b13 mov rbx, [rsp+28h+arg_8] ; +0xb6, 0x180089b16 mov rsi, [rsp+28h+arg_10] ; +0xbb, 0x180089b1b add rsp, 20h ; +0xc0, 0x180089b20 pop rdi ; +0xc4, 0x180089b24 retn ; +0xc5, 0x180089b25