{"type": "func", "start": 6442888944, "end": 6442889162, "name": "cocos2d::CCParticleSystemQuad::setupVBO", "pseudocode": "// \n// cocos2d::CCParticleSystemQuad::setupVBO from 0x18006aef0 to 0x18006afca (218 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x18006aa4b\n// > cocos2d::CCParticleSystemQuad::listenBackToForeground @ 0x18006aa80\n// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ab6c\n// > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x18006ae79\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3d8c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCParticleSystemQuad::setupVBO(cocos2d::CCParticleSystemQuad *this)\n{\n  _glewDeleteBuffers(2, this->m_pBuffersVBO);\n  _glewGenBuffers(2, this->m_pBuffersVBO);\n  _glewBindBuffer(34962, this->m_pBuffersVBO[0]);\n  _glewBufferData(34962, 96LL * this->m_uTotalParticles, this->m_pQuads);\n  _glewBindBuffer(34962, 0);\n  _glewBindBuffer(34963, this->m_pBuffersVBO[1]);\n  _glewBufferData(34963, 12LL * this->m_uTotalParticles, this->m_pIndices);\n  _glewBindBuffer(34963, 0);\n}", "assembly": "; \n; cocos2d::CCParticleSystemQuad::setupVBO from 0x18006aef0 to 0x18006afca (218 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x18006aa4b\n; > cocos2d::CCParticleSystemQuad::listenBackToForeground @ 0x18006aa80\n; > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ab6c\n; > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x18006ae79\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3d8c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18006aef0\npush    rdi                                                            ; +0x5, 0x18006aef5\nsub     rsp, 20h                                                       ; +0x6, 0x18006aef6\nmov     rax, cs:__glewDeleteBuffers                                    ; +0xa, 0x18006aefa\nlea     rdx, [rcx+328h]                                                ; +0x11, 0x18006af01\nmov     rdi, rcx                                                       ; +0x18, 0x18006af08\nmov     ecx, 2                                                         ; +0x1b, 0x18006af0b\ncall    qword ptr [rax]                                                ; +0x20, 0x18006af10\nmov     rax, cs:__glewGenBuffers                                       ; +0x22, 0x18006af12\nlea     rdx, [rdi+328h]                                                ; +0x29, 0x18006af19\nmov     ecx, 2                                                         ; +0x30, 0x18006af20\ncall    qword ptr [rax]                                                ; +0x35, 0x18006af25\nmov     rax, cs:__glewBindBuffer                                       ; +0x37, 0x18006af27\nmov     ecx, 8892h                                                     ; +0x3e, 0x18006af2e\nmov     edx, [rdi+328h]                                                ; +0x43, 0x18006af33\ncall    qword ptr [rax]                                                ; +0x49, 0x18006af39\nmov     eax, [rdi+298h]                                                ; +0x4b, 0x18006af3b\nmov     r9d, 88E8h                                                     ; +0x51, 0x18006af41\nmov     r8, [rdi+318h]                                                 ; +0x57, 0x18006af47\nlea     rdx, [rax+rax*2]                                               ; +0x5e, 0x18006af4e\nmov     rax, cs:__glewBufferData                                       ; +0x62, 0x18006af52\nshl     rdx, 5                                                         ; +0x69, 0x18006af59\nlea     ecx, [r9-56h]                                                  ; +0x6d, 0x18006af5d\ncall    qword ptr [rax]                                                ; +0x71, 0x18006af61\nmov     rax, cs:__glewBindBuffer                                       ; +0x73, 0x18006af63\nxor     edx, edx                                                       ; +0x7a, 0x18006af6a\nmov     ecx, 8892h                                                     ; +0x7c, 0x18006af6c\ncall    qword ptr [rax]                                                ; +0x81, 0x18006af71\nmov     rax, cs:__glewBindBuffer                                       ; +0x83, 0x18006af73\nmov     ecx, 8893h                                                     ; +0x8a, 0x18006af7a\nmov     edx, [rdi+32Ch]                                                ; +0x8f, 0x18006af7f\ncall    qword ptr [rax]                                                ; +0x95, 0x18006af85\nmov     eax, [rdi+298h]                                                ; +0x97, 0x18006af87\nmov     r9d, 88E4h                                                     ; +0x9d, 0x18006af8d\nmov     r8, [rdi+320h]                                                 ; +0xa3, 0x18006af93\nlea     rdx, [rax+rax*2]                                               ; +0xaa, 0x18006af9a\nmov     rax, cs:__glewBufferData                                       ; +0xae, 0x18006af9e\nshl     rdx, 2                                                         ; +0xb5, 0x18006afa5\nlea     ecx, [r9-51h]                                                  ; +0xb9, 0x18006afa9\ncall    qword ptr [rax]                                                ; +0xbd, 0x18006afad\nmov     rax, cs:__glewBindBuffer                                       ; +0xbf, 0x18006afaf\nxor     edx, edx                                                       ; +0xc6, 0x18006afb6\nmov     ecx, 8893h                                                     ; +0xc8, 0x18006afb8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xcd, 0x18006afbd\nadd     rsp, 20h                                                       ; +0xd2, 0x18006afc2\npop     rdi                                                            ; +0xd6, 0x18006afc6\njmp     qword ptr [rax]                                                ; +0xd7, 0x18006afc7", "xrefs": ["cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x18006aa4b", "cocos2d::CCParticleSystemQuad::listenBackToForeground @ 0x18006aa80", "cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ab6c", "cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x18006ae79", "<???> @ 0x1801438a8", "<???> @ 0x1801b3d8c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}