; ; cocos2d::CCParticleSystemQuad::draw from 0x18006a5e0 to 0x18006a762 (386 bytes) ; ; 14 xrefs: ; > @ 0x1800fa9d0 ; > @ 0x1800fb040 ; > @ 0x1800fb6b0 ; > @ 0x1800fbd20 ; > @ 0x1800fc390 ; > @ 0x1800fca00 ; > @ 0x1800fd070 ; > @ 0x1800fd6e0 ; > @ 0x1800fdd50 ; > @ 0x1800fe3c0 ; > @ 0x1800fea30 ; > @ 0x1800ffd18 ; > @ 0x1801438a8 ; > @ 0x1801b3ccc ; ; 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 rbx ; +0x0, 0x18006a5e0 sub rsp, 30h ; +0x2, 0x18006a5e2 cmp qword ptr [rcx+2A0h], 0 ; +0x6, 0x18006a5e6 mov rbx, rcx ; +0xe, 0x18006a5ee jz loc_18006A75C ; +0x11, 0x18006a5f1 cmp dword ptr [rcx+1D0h], 0 ; +0x17, 0x18006a5f7 jz loc_18006A75C ; +0x1e, 0x18006a5fe mov ecx, [rcx+0F8h]; this ; +0x24, 0x18006a604 call ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x2a, 0x18006a60a mov rax, [rbx] ; +0x2f, 0x18006a60f mov rcx, rbx ; +0x32, 0x18006a612 call qword ptr [rax+278h] ; +0x35, 0x18006a615 mov rax, [rbx] ; +0x3b, 0x18006a61b mov rcx, rbx ; +0x3e, 0x18006a61e call qword ptr [rax+278h] ; +0x41, 0x18006a621 mov rcx, rax; this ; +0x47, 0x18006a627 call ?use@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::use(void) ; +0x4a, 0x18006a62a mov rax, [rbx] ; +0x4f, 0x18006a62f mov rcx, rbx ; +0x52, 0x18006a632 call qword ptr [rax+278h] ; +0x55, 0x18006a635 mov rcx, rax; this ; +0x5b, 0x18006a63b call ?setUniformsForBuiltins@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::setUniformsForBuiltins(void) ; +0x5e, 0x18006a63e mov rcx, [rbx+2A0h] ; +0x63, 0x18006a643 mov rax, [rcx] ; +0x6a, 0x18006a64a call qword ptr [rax+60h] ; +0x6d, 0x18006a64d mov ecx, eax; this ; +0x70, 0x18006a650 call ?ccGLBindTexture2D@cocos2d@@YAXI@Z; cocos2d::ccGLBindTexture2D(uint) ; +0x72, 0x18006a652 mov edx, [rbx+2ACh]; dfactor ; +0x77, 0x18006a657 mov ecx, [rbx+2A8h]; sfactor ; +0x7d, 0x18006a65d call ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x83, 0x18006a663 mov ecx, 7; this ; +0x88, 0x18006a668 call ?ccGLEnableVertexAttribs@cocos2d@@YAXI@Z; cocos2d::ccGLEnableVertexAttribs(uint) ; +0x8d, 0x18006a66d mov rax, cs:__glewBindBuffer ; +0x92, 0x18006a672 mov ecx, 8892h ; +0x99, 0x18006a679 mov edx, [rbx+328h] ; +0x9e, 0x18006a67e call qword ptr [rax] ; +0xa4, 0x18006a684 mov rax, cs:__glewVertexAttribPointer ; +0xa6, 0x18006a686 xor r9d, r9d ; +0xad, 0x18006a68d mov [rsp+38h+var_10], 0 ; +0xb0, 0x18006a690 xor ecx, ecx ; +0xb9, 0x18006a699 mov r8d, 1406h ; +0xbb, 0x18006a69b mov [rsp+38h+var_18], 18h ; +0xc1, 0x18006a6a1 lea edx, [r9+3] ; +0xc9, 0x18006a6a9 call qword ptr [rax] ; +0xcd, 0x18006a6ad mov rax, cs:__glewVertexAttribPointer ; +0xcf, 0x18006a6af mov edx, 4 ; +0xd6, 0x18006a6b6 mov [rsp+38h+var_10], 0Ch ; +0xdb, 0x18006a6bb mov r9b, 1 ; +0xe4, 0x18006a6c4 mov r8d, 1401h ; +0xe7, 0x18006a6c7 mov [rsp+38h+var_18], 18h ; +0xed, 0x18006a6cd lea ecx, [rdx-3] ; +0xf5, 0x18006a6d5 call qword ptr [rax] ; +0xf8, 0x18006a6d8 mov rax, cs:__glewVertexAttribPointer ; +0xfa, 0x18006a6da mov edx, 2 ; +0x101, 0x18006a6e1 mov [rsp+38h+var_10], 10h ; +0x106, 0x18006a6e6 xor r9d, r9d ; +0x10f, 0x18006a6ef mov ecx, edx ; +0x112, 0x18006a6f2 mov [rsp+38h+var_18], 18h ; +0x114, 0x18006a6f4 mov r8d, 1406h ; +0x11c, 0x18006a6fc call qword ptr [rax] ; +0x122, 0x18006a702 mov rax, cs:__glewBindBuffer ; +0x124, 0x18006a704 mov ecx, 8893h ; +0x12b, 0x18006a70b mov edx, [rbx+32Ch] ; +0x130, 0x18006a710 call qword ptr [rax] ; +0x136, 0x18006a716 mov eax, [rbx+1B4h] ; +0x138, 0x18006a718 xor r9d, r9d; indices ; +0x13e, 0x18006a71e mov r8d, 1403h; type ; +0x141, 0x18006a721 lea edx, [rax+rax*2] ; +0x147, 0x18006a727 add edx, edx; count ; +0x14a, 0x18006a72a lea ecx, [r9+4]; mode ; +0x14c, 0x18006a72c call cs:glDrawElements ; +0x150, 0x18006a730 mov rax, cs:__glewBindBuffer ; +0x156, 0x18006a736 xor edx, edx ; +0x15d, 0x18006a73d mov ecx, 8892h ; +0x15f, 0x18006a73f call qword ptr [rax] ; +0x164, 0x18006a744 mov rax, cs:__glewBindBuffer ; +0x166, 0x18006a746 xor edx, edx ; +0x16d, 0x18006a74d mov ecx, 8893h ; +0x16f, 0x18006a74f call qword ptr [rax] ; +0x174, 0x18006a754 inc cs:?g_uNumberOfDraws@@3IA; uint g_uNumberOfDraws ; +0x176, 0x18006a756 add rsp, 30h ; +0x17c, 0x18006a75c pop rbx ; +0x180, 0x18006a760 retn ; +0x181, 0x18006a761