; ; cocos2d::CCParticleSystemQuad::draw from 0x18006c770 to 0x18006c91f (431 bytes) ; ; 14 xrefs: ; > @ 0x180100f10 ; > @ 0x180101590 ; > @ 0x180101c10 ; > @ 0x180102290 ; > @ 0x180102910 ; > @ 0x180102f90 ; > @ 0x180103610 ; > @ 0x180103c90 ; > @ 0x180104310 ; > @ 0x180104990 ; > @ 0x180105010 ; > @ 0x180106368 ; > @ 0x18014cf68 ; > @ 0x1801be014 ; ; 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 ; push rbx ; +0x0, 0x18006c770 sub rsp, 30h ; +0x2, 0x18006c772 cmp qword ptr [rcx+2A0h], 0 ; +0x6, 0x18006c776 mov rbx, rcx ; +0xe, 0x18006c77e jz loc_18006C919 ; +0x11, 0x18006c781 cmp dword ptr [rcx+1D0h], 0 ; +0x17, 0x18006c787 jz loc_18006C919 ; +0x1e, 0x18006c78e cmp byte ptr [rcx+346h], 0 ; +0x24, 0x18006c794 jz loc_18006C919 ; +0x2b, 0x18006c79b mov ecx, [rcx+0F8h]; this ; +0x31, 0x18006c7a1 call ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x37, 0x18006c7a7 mov rax, [rbx] ; +0x3c, 0x18006c7ac mov rcx, rbx ; +0x3f, 0x18006c7af call qword ptr [rax+288h] ; +0x42, 0x18006c7b2 mov rax, [rbx] ; +0x48, 0x18006c7b8 mov rcx, rbx ; +0x4b, 0x18006c7bb call qword ptr [rax+288h] ; +0x4e, 0x18006c7be mov rcx, rax; this ; +0x54, 0x18006c7c4 call ?use@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::use(void) ; +0x57, 0x18006c7c7 mov rax, [rbx] ; +0x5c, 0x18006c7cc mov rcx, rbx ; +0x5f, 0x18006c7cf call qword ptr [rax+288h] ; +0x62, 0x18006c7d2 mov rcx, rax; this ; +0x68, 0x18006c7d8 call ?setUniformsForBuiltins@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::setUniformsForBuiltins(void) ; +0x6b, 0x18006c7db mov rcx, [rbx+2A0h] ; +0x70, 0x18006c7e0 mov rax, [rcx] ; +0x77, 0x18006c7e7 call qword ptr [rax+60h] ; +0x7a, 0x18006c7ea mov ecx, eax; this ; +0x7d, 0x18006c7ed call ?ccGLBindTexture2D@cocos2d@@YAXI@Z; cocos2d::ccGLBindTexture2D(uint) ; +0x7f, 0x18006c7ef mov edx, [rbx+2ACh]; dfactor ; +0x84, 0x18006c7f4 mov ecx, [rbx+2A8h]; sfactor ; +0x8a, 0x18006c7fa call ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x90, 0x18006c800 mov ecx, 7; this ; +0x95, 0x18006c805 call ?ccGLEnableVertexAttribs@cocos2d@@YAXI@Z; cocos2d::ccGLEnableVertexAttribs(uint) ; +0x9a, 0x18006c80a mov rax, cs:__glewBindBuffer ; +0x9f, 0x18006c80f mov ecx, 8892h ; +0xa6, 0x18006c816 mov edx, [rbx+328h] ; +0xab, 0x18006c81b mov r8, [rax] ; +0xb1, 0x18006c821 call r8 ; +0xb4, 0x18006c824 mov rax, cs:__glewVertexAttribPointer ; +0xb7, 0x18006c827 xor r9d, r9d ; +0xbe, 0x18006c82e mov [rsp+38h+var_10], 0 ; +0xc1, 0x18006c831 mov edx, 3 ; +0xca, 0x18006c83a xor ecx, ecx ; +0xcf, 0x18006c83f mov [rsp+38h+var_18], 18h ; +0xd1, 0x18006c841 mov r8d, 1406h ; +0xd9, 0x18006c849 mov r10, [rax] ; +0xdf, 0x18006c84f call r10 ; +0xe2, 0x18006c852 mov rax, cs:__glewVertexAttribPointer ; +0xe5, 0x18006c855 mov r9b, 1 ; +0xec, 0x18006c85c mov [rsp+38h+var_10], 0Ch ; +0xef, 0x18006c85f mov edx, 4 ; +0xf8, 0x18006c868 mov ecx, 1 ; +0xfd, 0x18006c86d mov [rsp+38h+var_18], 18h ; +0x102, 0x18006c872 mov r8d, 1401h ; +0x10a, 0x18006c87a mov r10, [rax] ; +0x110, 0x18006c880 call r10 ; +0x113, 0x18006c883 mov rax, cs:__glewVertexAttribPointer ; +0x116, 0x18006c886 mov edx, 2 ; +0x11d, 0x18006c88d mov [rsp+38h+var_10], 10h ; +0x122, 0x18006c892 xor r9d, r9d ; +0x12b, 0x18006c89b mov ecx, edx ; +0x12e, 0x18006c89e mov [rsp+38h+var_18], 18h ; +0x130, 0x18006c8a0 mov r8d, 1406h ; +0x138, 0x18006c8a8 mov r10, [rax] ; +0x13e, 0x18006c8ae call r10 ; +0x141, 0x18006c8b1 mov rax, cs:__glewBindBuffer ; +0x144, 0x18006c8b4 mov ecx, 8893h ; +0x14b, 0x18006c8bb mov edx, [rbx+32Ch] ; +0x150, 0x18006c8c0 mov r8, [rax] ; +0x156, 0x18006c8c6 call r8 ; +0x159, 0x18006c8c9 mov eax, [rbx+1B4h] ; +0x15c, 0x18006c8cc xor r9d, r9d; indices ; +0x162, 0x18006c8d2 mov ecx, 4; mode ; +0x165, 0x18006c8d5 mov r8d, 1403h; type ; +0x16a, 0x18006c8da lea edx, [rax+rax*2] ; +0x170, 0x18006c8e0 add edx, edx; count ; +0x173, 0x18006c8e3 call cs:glDrawElements ; +0x175, 0x18006c8e5 mov rax, cs:__glewBindBuffer ; +0x17b, 0x18006c8eb xor edx, edx ; +0x182, 0x18006c8f2 mov ecx, 8892h ; +0x184, 0x18006c8f4 mov r8, [rax] ; +0x189, 0x18006c8f9 call r8 ; +0x18c, 0x18006c8fc mov rax, cs:__glewBindBuffer ; +0x18f, 0x18006c8ff xor edx, edx ; +0x196, 0x18006c906 mov ecx, 8893h ; +0x198, 0x18006c908 mov r8, [rax] ; +0x19d, 0x18006c90d call r8 ; +0x1a0, 0x18006c910 inc cs:?g_uNumberOfDraws@@3IA; uint g_uNumberOfDraws ; +0x1a3, 0x18006c913 add rsp, 30h ; +0x1a9, 0x18006c919 pop rbx ; +0x1ad, 0x18006c91d retn ; +0x1ae, 0x18006c91e