// // cocos2d::CCParticleSystemQuad::setupVBOandVAO from 0x1006da1b0 to 0x1006da320 (368 bytes) // // 4 xrefs: // > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x1006d9b1a // > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x1006db446 // > cocos2d::CCParticleSystemQuad::listenBackToForeground @ 0x1006db485 // > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x1006db62f // // 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 12:35:42 +0000 // void __fastcall cocos2d::CCParticleSystemQuad::setupVBOandVAO(__int64 a1) { glDeleteBuffers(2, (const GLuint *)(a1 + 804)); glDeleteVertexArraysAPPLE(1, (const GLuint *)(a1 + 800)); cocos2d::ccGLBindVAO(0); glGenVertexArraysAPPLE(1, (GLuint *)(a1 + 800)); cocos2d::ccGLBindVAO(*(_DWORD *)(a1 + 800)); glGenBuffers(2, (GLuint *)(a1 + 804)); glBindBuffer(0x8892u, *(_DWORD *)(a1 + 804)); glBufferData(0x8892u, 96LL * *(unsigned int *)(a1 + 660), *(const GLvoid **)(a1 + 784), 0x88E8u); glEnableVertexAttribArray(0); glVertexAttribPointer(0, 2, 0x1406u, 0, 24, nullptr); glEnableVertexAttribArray(1u); glVertexAttribPointer(1u, 4, 0x1401u, 1u, 24, (const GLvoid *)0xC); glEnableVertexAttribArray(2u); glVertexAttribPointer(2u, 2, 0x1406u, 0, 24, (const GLvoid *)0x10); glBindBuffer(0x8893u, *(_DWORD *)(a1 + 808)); glBufferData(0x8893u, 12LL * *(unsigned int *)(a1 + 660), *(const GLvoid **)(a1 + 792), 0x88E4u); cocos2d::ccGLBindVAO(0); glBindBuffer(0x8893u, 0); glBindBuffer(0x8892u, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source