// // cocos2d::CCTextureAtlas::setupVBOandVAO from 0x1004a68f0 to 0x1004a6a16 (294 bytes) // // 2 xrefs: // > cocos2d::CCTextureAtlas::initWithTexture @ 0x1004a65d7 // > cocos2d::CCTextureAtlas::listenBackToForeground @ 0x1004a6a29 // // 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:30:55 +0000 // void __fastcall cocos2d::CCTextureAtlas::setupVBOandVAO(__int64 a1) { glGenVertexArraysAPPLE(1, (GLuint *)(a1 + 64)); cocos2d::ccGLBindVAO(*(_DWORD *)(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