{"type": "func", "start": 6443133376, "end": 6443133532, "name": "cocos2d::CCTextureAtlas::mapBuffers", "pseudocode": "// \n// cocos2d::CCTextureAtlas::mapBuffers from 0x1800a69c0 to 0x1800a6a5c (156 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCTextureAtlas::initWithTexture @ 0x1800a66af\n// > cocos2d::CCTextureAtlas::listenBackToForeground @ 0x1800a69ae\n// > cocos2d::CCTextureAtlas::resizeCapacity @ 0x1800a6e0f\n// > cocos2d::CCTextureAtlas::setupVBO @ 0x1800a6f93\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b7d58\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::CCTextureAtlas::mapBuffers(cocos2d::CCTextureAtlas *this, float a2)\n{\n  cocos2d::CCNode::updateTweenActionInt(nullptr, a2);\n  _glewBindBuffer(34962, this->m_pBuffersVBO[0]);\n  _glewBufferData(34962, 96LL * this->m_uCapacity, this->m_pQuads);\n  _glewBindBuffer(34962, 0);\n  _glewBindBuffer(34963, this->m_pBuffersVBO[1]);\n  _glewBufferData(34963, 12LL * this->m_uCapacity, this->m_pIndices);\n  _glewBindBuffer(34963, 0);\n}", "assembly": "; \n; cocos2d::CCTextureAtlas::mapBuffers from 0x1800a69c0 to 0x1800a6a5c (156 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCTextureAtlas::initWithTexture @ 0x1800a66af\n; > cocos2d::CCTextureAtlas::listenBackToForeground @ 0x1800a69ae\n; > cocos2d::CCTextureAtlas::resizeCapacity @ 0x1800a6e0f\n; > cocos2d::CCTextureAtlas::setupVBO @ 0x1800a6f93\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b7d58\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\npush    rbx                                                            ; +0x0, 0x1800a69c0\nsub     rsp, 20h                                                       ; +0x2, 0x1800a69c2\nmov     rbx, rcx                                                       ; +0x6, 0x1800a69c6\nxor     ecx, ecx; this                                                 ; +0x9, 0x1800a69c9\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0xb, 0x1800a69cb\nmov     rax, cs:__glewBindBuffer                                       ; +0x10, 0x1800a69d0\nmov     ecx, 8892h                                                     ; +0x17, 0x1800a69d7\nmov     edx, [rbx+40h]                                                 ; +0x1c, 0x1800a69dc\ncall    qword ptr [rax]                                                ; +0x1f, 0x1800a69df\nmov     eax, [rbx+50h]                                                 ; +0x21, 0x1800a69e1\nmov     r9d, 88E8h                                                     ; +0x24, 0x1800a69e4\nmov     r8, [rbx+60h]                                                  ; +0x2a, 0x1800a69ea\nlea     rdx, [rax+rax*2]                                               ; +0x2e, 0x1800a69ee\nmov     rax, cs:__glewBufferData                                       ; +0x32, 0x1800a69f2\nshl     rdx, 5                                                         ; +0x39, 0x1800a69f9\nlea     ecx, [r9-56h]                                                  ; +0x3d, 0x1800a69fd\ncall    qword ptr [rax]                                                ; +0x41, 0x1800a6a01\nmov     rax, cs:__glewBindBuffer                                       ; +0x43, 0x1800a6a03\nxor     edx, edx                                                       ; +0x4a, 0x1800a6a0a\nmov     ecx, 8892h                                                     ; +0x4c, 0x1800a6a0c\ncall    qword ptr [rax]                                                ; +0x51, 0x1800a6a11\nmov     rax, cs:__glewBindBuffer                                       ; +0x53, 0x1800a6a13\nmov     ecx, 8893h                                                     ; +0x5a, 0x1800a6a1a\nmov     edx, [rbx+44h]                                                 ; +0x5f, 0x1800a6a1f\ncall    qword ptr [rax]                                                ; +0x62, 0x1800a6a22\nmov     eax, [rbx+50h]                                                 ; +0x64, 0x1800a6a24\nmov     r9d, 88E4h                                                     ; +0x67, 0x1800a6a27\nmov     r8, [rbx+38h]                                                  ; +0x6d, 0x1800a6a2d\nlea     rdx, [rax+rax*2]                                               ; +0x71, 0x1800a6a31\nmov     rax, cs:__glewBufferData                                       ; +0x75, 0x1800a6a35\nshl     rdx, 2                                                         ; +0x7c, 0x1800a6a3c\nlea     ecx, [r9-51h]                                                  ; +0x80, 0x1800a6a40\ncall    qword ptr [rax]                                                ; +0x84, 0x1800a6a44\nmov     rax, cs:__glewBindBuffer                                       ; +0x86, 0x1800a6a46\nxor     edx, edx                                                       ; +0x8d, 0x1800a6a4d\nmov     ecx, 8893h                                                     ; +0x8f, 0x1800a6a4f\nadd     rsp, 20h                                                       ; +0x94, 0x1800a6a54\npop     rbx                                                            ; +0x98, 0x1800a6a58\njmp     qword ptr [rax]                                                ; +0x99, 0x1800a6a59", "xrefs": ["cocos2d::CCTextureAtlas::initWithTexture @ 0x1800a66af", "cocos2d::CCTextureAtlas::listenBackToForeground @ 0x1800a69ae", "cocos2d::CCTextureAtlas::resizeCapacity @ 0x1800a6e0f", "cocos2d::CCTextureAtlas::setupVBO @ 0x1800a6f93", "<???> @ 0x1801438a8", "<???> @ 0x1801b7d58"], "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"}