// // cocos2d::CCTextureAtlas::setupVBOandVAO from 0x100307e1c to 0x100307f30 (276 bytes) // // 1 xrefs: // > cocos2d::CCTextureAtlas::initWithTexture @ 0x100307d54 // // This function is hookable on this platform (idp: arm, 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:03:09 +0000 // void __fastcall cocos2d::CCTextureAtlas::setupVBOandVAO(__int64 a1) { glGenVertexArraysOES(1, a1 + 64); cocos2d::ccGLBindVAO(*(unsigned int *)(a1 + 64)); glGenBuffers(2, (GLuint *)(a1 + 68)); glBindBuffer(0x8892u, *(_DWORD *)(a1 + 68)); glBufferData(0x8892u, 96LL * *(unsigned int *)(a1 + 84), *(const GLvoid **)(a1 + 96), 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 + 72)); glBufferData(0x8893u, 12LL * *(unsigned int *)(a1 + 84), *(const GLvoid **)(a1 + 56), 0x88E4u); cocos2d::ccGLBindVAO(0); glBindBuffer(0x8893u, 0); glBindBuffer(0x8892u, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source