; ; cocos2d::CCMotionStreak::create from 0x18005ec40 to 0x18005ecff (191 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bd3b4 ; ; 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:21:50 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18005ec40 push rdi ; +0x5, 0x18005ec45 sub rsp, 70h ; +0x6, 0x18005ec46 movaps [rsp+78h+var_18], xmm6 ; +0xa, 0x18005ec4a movaps [rsp+78h+var_28], xmm7 ; +0xf, 0x18005ec4f movaps [rsp+78h+var_38], xmm8 ; +0x14, 0x18005ec54 mov rdi, r9 ; +0x1a, 0x18005ec5a movaps xmm6, xmm2 ; +0x1d, 0x18005ec5d movaps xmm7, xmm1 ; +0x20, 0x18005ec60 movaps xmm8, xmm0 ; +0x23, 0x18005ec63 mov ecx, 1E0h; Size ; +0x27, 0x18005ec67 call sub_1800E4AC0 ; +0x2c, 0x18005ec6c mov [rsp+78h+var_48], rax ; +0x31, 0x18005ec71 test rax, rax ; +0x36, 0x18005ec76 jz short loc_18005EC88 ; +0x39, 0x18005ec79 mov rcx, rax; this ; +0x3b, 0x18005ec7b call ??0CCMotionStreak@cocos2d@@QEAA@XZ; cocos2d::CCMotionStreak::CCMotionStreak(void) ; +0x3e, 0x18005ec7e mov rbx, rax ; +0x43, 0x18005ec83 jmp short loc_18005EC8A ; +0x46, 0x18005ec86 xor ebx, ebx ; +0x48, 0x18005ec88 test rbx, rbx ; +0x4a, 0x18005ec8a jz short loc_18005ECDF ; +0x4d, 0x18005ec8d call ?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x4f, 0x18005ec8f mov rcx, rax; this ; +0x54, 0x18005ec94 xor r8d, r8d; bool ; +0x57, 0x18005ec97 mov rdx, [rsp+78h+arg_20]; char * ; +0x5a, 0x18005ec9a call ?addImage@CCTextureCache@cocos2d@@QEAAPEAVCCTexture2D@2@PEBD_N@Z; cocos2d::CCTextureCache::addImage(char const *,bool) ; +0x62, 0x18005eca2 mov [rsp+78h+var_50], rax; struct cocos2d::CCTexture2D * ; +0x67, 0x18005eca7 mov [rsp+78h+var_58], rdi; struct cocos2d::_ccColor3B * ; +0x6c, 0x18005ecac movaps xmm3, xmm6; float ; +0x71, 0x18005ecb1 movaps xmm2, xmm7; float ; +0x74, 0x18005ecb4 movaps xmm1, xmm8; float ; +0x77, 0x18005ecb7 mov rcx, rbx; this ; +0x7b, 0x18005ecbb call ?initWithFade@CCMotionStreak@cocos2d@@QEAA_NMMMAEBU_ccColor3B@2@PEAVCCTexture2D@2@@Z; cocos2d::CCMotionStreak::initWithFade(float,float,float,cocos2d::_ccColor3B const &,cocos2d::CCTexture2D *) ; +0x7e, 0x18005ecbe mov rcx, rbx; this ; +0x83, 0x18005ecc3 test al, al ; +0x86, 0x18005ecc6 jz short loc_18005ECD4 ; +0x88, 0x18005ecc8 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x8a, 0x18005ecca mov rax, rbx ; +0x8f, 0x18005eccf jmp short loc_18005ECE1 ; +0x92, 0x18005ecd2 mov rax, [rbx] ; +0x94, 0x18005ecd4 mov edx, 1 ; +0x97, 0x18005ecd7 call qword ptr [rax+8] ; +0x9c, 0x18005ecdc xor eax, eax ; +0x9f, 0x18005ecdf mov rbx, [rsp+78h+arg_0] ; +0xa1, 0x18005ece1 movaps xmm6, [rsp+78h+var_18] ; +0xa9, 0x18005ece9 movaps xmm7, [rsp+78h+var_28] ; +0xae, 0x18005ecee movaps xmm8, [rsp+78h+var_38] ; +0xb3, 0x18005ecf3 add rsp, 70h ; +0xb9, 0x18005ecf9 pop rdi ; +0xbd, 0x18005ecfd retn ; +0xbe, 0x18005ecfe