// // cocos2d::CCTextureAtlas::setupVBOandVAO from 0x10026a094 to 0x10026a1a8 (276 bytes) // // 1 xrefs: // > cocos2d::CCTextureAtlas::initWithTexture @ 0x100269fcc // // 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 // void __fastcall cocos2d::CCTextureAtlas::setupVBOandVAO(cocos2d::CCTextureAtlas *a1) { glGenVertexArraysOES(1, a1->m_pBuffersVBO); cocos2d::ccGLBindVAO(a1->m_pBuffersVBO[0]); glGenBuffers(2, &a1->m_pBuffersVBO[1]); glBindBuffer(0x8892u, a1->m_pBuffersVBO[1]); glBufferData(0x8892u, 96LL * *(&a1->m_uCapacity + 1), a1->m_pQuads, 0x88E8u); glEnableVertexAttribArray(0); glVertexAttribPointer(0, 3, 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->m_bDirty); glBufferData(0x8893u, 12LL * *(&a1->m_uCapacity + 1), a1->m_pIndices, 0x88E4u); cocos2d::ccGLBindVAO(0); glBindBuffer(0x8893u, 0); glBindBuffer(0x8892u, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source