{"type": "func", "start": 6443134880, "end": 6443134975, "name": "cocos2d::CCTextureAtlas::updateQuad", "pseudocode": "// \n// cocos2d::CCTextureAtlas::updateQuad from 0x1800a6fa0 to 0x1800a6fff (95 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCSprite::updateColor @ 0x18008d514\n// > cocos2d::CCSprite::updateTransform @ 0x18008dc51\n// > <???> @ 0x1801438a8\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::updateQuad(\n        cocos2d::CCTextureAtlas *this,\n        struct cocos2d::_ccV3F_C4B_T2F_Quad *a2,\n        int a3)\n{\n  unsigned int m_uTotalQuads; // r9d\n\n  m_uTotalQuads = a3 + 1;\n  if ( a3 + 1 <= this->m_uTotalQuads )\n    m_uTotalQuads = this->m_uTotalQuads;\n  this->m_uTotalQuads = m_uTotalQuads;\n  this->m_pQuads[a3] = *a2;\n  this->m_bDirty = 1;\n}", "assembly": "; \n; cocos2d::CCTextureAtlas::updateQuad from 0x1800a6fa0 to 0x1800a6fff (95 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCSprite::updateColor @ 0x18008d514\n; > cocos2d::CCSprite::updateTransform @ 0x18008dc51\n; > <???> @ 0x1801438a8\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\nlea     r9d, [r8+1]                                                    ; +0x0, 0x1800a6fa0\nmov     eax, r8d                                                       ; +0x4, 0x1800a6fa4\ncmp     r9d, [rcx+4Ch]                                                 ; +0x7, 0x1800a6fa7\ncmovbe  r9d, [rcx+4Ch]                                                 ; +0xb, 0x1800a6fab\nmov     [rcx+4Ch], r9d                                                 ; +0x10, 0x1800a6fb0\nlea     r8, [rax+rax*2]                                                ; +0x14, 0x1800a6fb4\nmovups  xmm0, xmmword ptr [rdx]                                        ; +0x18, 0x1800a6fb8\nmov     rax, [rcx+60h]                                                 ; +0x1b, 0x1800a6fbb\nshl     r8, 5                                                          ; +0x1f, 0x1800a6fbf\nmovups  xmmword ptr [r8+rax], xmm0                                     ; +0x23, 0x1800a6fc3\nmovups  xmm1, xmmword ptr [rdx+10h]                                    ; +0x28, 0x1800a6fc8\nmovups  xmmword ptr [r8+rax+10h], xmm1                                 ; +0x2c, 0x1800a6fcc\nmovups  xmm0, xmmword ptr [rdx+20h]                                    ; +0x32, 0x1800a6fd2\nmovups  xmmword ptr [r8+rax+20h], xmm0                                 ; +0x36, 0x1800a6fd6\nmovups  xmm1, xmmword ptr [rdx+30h]                                    ; +0x3c, 0x1800a6fdc\nmovups  xmmword ptr [r8+rax+30h], xmm1                                 ; +0x40, 0x1800a6fe0\nmovups  xmm0, xmmword ptr [rdx+40h]                                    ; +0x46, 0x1800a6fe6\nmovups  xmmword ptr [r8+rax+40h], xmm0                                 ; +0x4a, 0x1800a6fea\nmovups  xmm1, xmmword ptr [rdx+50h]                                    ; +0x50, 0x1800a6ff0\nmovups  xmmword ptr [r8+rax+50h], xmm1                                 ; +0x54, 0x1800a6ff4\nmov     byte ptr [rcx+48h], 1                                          ; +0x5a, 0x1800a6ffa\nretn                                                                   ; +0x5e, 0x1800a6ffe", "xrefs": ["cocos2d::CCSprite::updateColor @ 0x18008d514", "cocos2d::CCSprite::updateTransform @ 0x18008dc51", "<???> @ 0x1801438a8"], "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"}