; ; cocos2d::CCParticleSystemQuad::initTexCoordsWithRect from 0x18006c9e0 to 0x18006cbbc (476 bytes) ; ; 5 xrefs: ; > cocos2d::CCParticleSystemQuad::setTextureWithRect @ 0x18006cf1a ; > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x18006d062 ; > cocos2d::CCParticleSystemQuad::updateTexCoords @ 0x18006d5b1 ; > @ 0x18014cf68 ; > @ 0x1801be02c ; ; 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:55 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18006c9e0 push rdi ; +0x5, 0x18006c9e5 sub rsp, 80h ; +0x6, 0x18006c9e6 movaps [rsp+88h+var_18], xmm6 ; +0xd, 0x18006c9ed mov rdi, rcx ; +0x12, 0x18006c9f2 movaps [rsp+88h+var_28], xmm7 ; +0x15, 0x18006c9f5 add rcx, 330h ; +0x1a, 0x18006c9fa movaps [rsp+88h+var_38], xmm8 ; +0x21, 0x18006ca01 mov rbx, rdx ; +0x27, 0x18006ca07 movaps [rsp+88h+var_48], xmm9 ; +0x2a, 0x18006ca0a call ??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0x30, 0x18006ca10 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x35, 0x18006ca15 mov rcx, rax; this ; +0x3a, 0x18006ca1a call ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x3d, 0x18006ca1d movaps xmm9, xmm0 ; +0x42, 0x18006ca22 mulss xmm9, dword ptr [rbx+0Ch] ; +0x46, 0x18006ca26 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4c, 0x18006ca2c mov rcx, rax; this ; +0x51, 0x18006ca31 call ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x54, 0x18006ca34 movss xmm6, dword ptr [rbx+4] ; +0x59, 0x18006ca39 movaps xmm8, xmm0 ; +0x5e, 0x18006ca3e mulss xmm8, dword ptr [rbx+8] ; +0x62, 0x18006ca42 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x68, 0x18006ca48 mov rcx, rax; this ; +0x6d, 0x18006ca4d call ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x70, 0x18006ca50 movaps xmm7, xmm0 ; +0x75, 0x18006ca55 mulss xmm7, xmm6 ; +0x78, 0x18006ca58 movss xmm6, dword ptr [rbx] ; +0x7c, 0x18006ca5c call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x80, 0x18006ca60 mov rcx, rax; this ; +0x85, 0x18006ca65 call ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x88, 0x18006ca68 mulss xmm0, xmm6 ; +0x8d, 0x18006ca6d lea rcx, [rsp+88h+var_58]; this ; +0x91, 0x18006ca71 movaps xmm3, xmm8; float ; +0x96, 0x18006ca76 movss [rsp+88h+var_68], xmm9; float ; +0x9a, 0x18006ca7a movaps xmm2, xmm7; float ; +0xa1, 0x18006ca81 movaps xmm1, xmm0; float ; +0xa4, 0x18006ca84 call ??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xa7, 0x18006ca87 mov rcx, [rdi+2A0h] ; +0xac, 0x18006ca8c movss xmm7, dword ptr [rbx+8] ; +0xb3, 0x18006ca93 movss xmm0, dword ptr [rbx+0Ch] ; +0xb8, 0x18006ca98 test rcx, rcx ; +0xbd, 0x18006ca9d jz short loc_18006CAC9 ; +0xc0, 0x18006caa0 mov rax, [rcx] ; +0xc2, 0x18006caa2 call qword ptr [rax+50h] ; +0xc5, 0x18006caa5 mov rcx, [rdi+2A0h] ; +0xc8, 0x18006caa8 xorps xmm7, xmm7 ; +0xcf, 0x18006caaf mov eax, eax ; +0xd2, 0x18006cab2 cvtsi2ss xmm7, rax ; +0xd4, 0x18006cab4 mov rax, [rcx] ; +0xd9, 0x18006cab9 call qword ptr [rax+58h] ; +0xdc, 0x18006cabc mov eax, eax ; +0xdf, 0x18006cabf xorps xmm0, xmm0 ; +0xe1, 0x18006cac1 cvtsi2ss xmm0, rax ; +0xe4, 0x18006cac4 movss xmm8, [rsp+88h+var_58] ; +0xe9, 0x18006cac9 movss xmm6, [rsp+88h+var_50] ; +0xf0, 0x18006cad0 movss xmm9, [rsp+88h+var_54] ; +0xf6, 0x18006cad6 mov rcx, [rdi+1B8h] ; +0xfd, 0x18006cadd divss xmm8, xmm7 ; +0x104, 0x18006cae4 divss xmm6, xmm7 ; +0x109, 0x18006cae9 movss xmm7, [rsp+88h+var_4C] ; +0x10d, 0x18006caed addss xmm6, xmm8 ; +0x113, 0x18006caf3 divss xmm7, xmm0 ; +0x118, 0x18006caf8 divss xmm9, xmm0 ; +0x11c, 0x18006cafc addss xmm7, xmm9 ; +0x121, 0x18006cb01 test rcx, rcx ; +0x126, 0x18006cb06 jz short loc_18006CB2D ; +0x129, 0x18006cb09 mov rcx, [rcx+148h] ; +0x12b, 0x18006cb0b mov rax, [rcx] ; +0x132, 0x18006cb12 call qword ptr [rax+68h] ; +0x135, 0x18006cb15 mov edx, [rdi+29Ch] ; +0x138, 0x18006cb18 mov r9, rax ; +0x13e, 0x18006cb1e mov r8d, [rdi+1C0h] ; +0x141, 0x18006cb21 add edx, r8d ; +0x148, 0x18006cb28 jmp short loc_18006CB3D ; +0x14b, 0x18006cb2b mov r9, [rdi+318h] ; +0x14d, 0x18006cb2d xor r8d, r8d ; +0x154, 0x18006cb34 mov edx, [rdi+29Ch] ; +0x157, 0x18006cb37 cmp r8d, edx ; +0x15d, 0x18006cb3d jnb short loc_18006CB95 ; +0x160, 0x18006cb40 mov eax, r8d ; +0x162, 0x18006cb42 lea rax, [rax+rax*2] ; +0x165, 0x18006cb45 shl rax, 5 ; +0x169, 0x18006cb49 add rax, 2Ch ; ',' ; +0x16d, 0x18006cb4d add rax, r9 ; +0x171, 0x18006cb51 sub edx, r8d ; +0x174, 0x18006cb54 mov ecx, edx ; +0x177, 0x18006cb57 nop dword ptr [rax+00000000h] ; +0x179, 0x18006cb59 movss dword ptr [rax-4], xmm8 ; +0x180, 0x18006cb60 movss dword ptr [rax], xmm7 ; +0x186, 0x18006cb66 movss dword ptr [rax+2Ch], xmm6 ; +0x18a, 0x18006cb6a movss dword ptr [rax+30h], xmm7 ; +0x18f, 0x18006cb6f movss dword ptr [rax-1Ch], xmm8 ; +0x194, 0x18006cb74 movss dword ptr [rax-18h], xmm9 ; +0x19a, 0x18006cb7a movss dword ptr [rax+14h], xmm6 ; +0x1a0, 0x18006cb80 movss dword ptr [rax+18h], xmm9 ; +0x1a5, 0x18006cb85 lea rax, [rax+60h] ; +0x1ab, 0x18006cb8b sub rcx, 1 ; +0x1af, 0x18006cb8f jnz short loc_18006CB60 ; +0x1b3, 0x18006cb93 mov rbx, [rsp+88h+arg_0] ; +0x1b5, 0x18006cb95 movaps xmm6, [rsp+88h+var_18] ; +0x1bd, 0x18006cb9d movaps xmm7, [rsp+88h+var_28] ; +0x1c2, 0x18006cba2 movaps xmm8, [rsp+88h+var_38] ; +0x1c7, 0x18006cba7 movaps xmm9, [rsp+88h+var_48] ; +0x1cd, 0x18006cbad add rsp, 80h ; +0x1d3, 0x18006cbb3 pop rdi ; +0x1da, 0x18006cbba retn ; +0x1db, 0x18006cbbb