{"type": "func", "start": 6443150112, "end": 6443150204, "name": "cocos2d::CCTextureAtlas::updateQuad", "pseudocode": "// \n// cocos2d::CCTextureAtlas::updateQuad from 0x1800aab20 to 0x1800aab7c (92 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCSprite::updateColor @ 0x180090751\n// > cocos2d::CCSprite::updateTransform @ 0x180090e6a\n// > <???> @ 0x18014cf68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:17 +0000\n// \n\nvoid __fastcall cocos2d::CCTextureAtlas::updateQuad(\n        cocos2d::CCTextureAtlas *this,\n        struct cocos2d::_ccV3F_C4B_T2F_Quad *a2,\n        unsigned int a3)\n{\n  unsigned int v3; // eax\n  __int64 v4; // rax\n  __int64 v5; // r8\n\n  v3 = a3 + 1;\n  if ( a3 + 1 <= *((_DWORD *)this + 19) )\n    v3 = *((_DWORD *)this + 19);\n  *((_DWORD *)this + 19) = v3;\n  v4 = *((_QWORD *)this + 12);\n  v5 = 96LL * a3;\n  *(_OWORD *)(v5 + v4) = *(_OWORD *)a2;\n  *(_OWORD *)(v5 + v4 + 16) = *((_OWORD *)a2 + 1);\n  *(_OWORD *)(v5 + v4 + 32) = *((_OWORD *)a2 + 2);\n  *(_OWORD *)(v5 + v4 + 48) = *((_OWORD *)a2 + 3);\n  *(_OWORD *)(v5 + v4 + 64) = *((_OWORD *)a2 + 4);\n  *(_OWORD *)(v5 + v4 + 80) = *((_OWORD *)a2 + 5);\n  *((_BYTE *)this + 72) = 1;\n}", "assembly": "; \n; cocos2d::CCTextureAtlas::updateQuad from 0x1800aab20 to 0x1800aab7c (92 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCSprite::updateColor @ 0x180090751\n; > cocos2d::CCSprite::updateTransform @ 0x180090e6a\n; > <???> @ 0x18014cf68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:17 +0000\n; \nlea     eax, [r8+1]                                                    ; +0x0, 0x1800aab20\ncmp     eax, [rcx+4Ch]                                                 ; +0x4, 0x1800aab24\ncmovbe  eax, [rcx+4Ch]                                                 ; +0x7, 0x1800aab27\nmov     [rcx+4Ch], eax                                                 ; +0xb, 0x1800aab2b\nmovups  xmm0, xmmword ptr [rdx]                                        ; +0xe, 0x1800aab2e\nmov     eax, r8d                                                       ; +0x11, 0x1800aab31\nlea     r8, [rax+rax*2]                                                ; +0x14, 0x1800aab34\nmov     rax, [rcx+60h]                                                 ; +0x18, 0x1800aab38\nshl     r8, 5                                                          ; +0x1c, 0x1800aab3c\nmovups  xmmword ptr [r8+rax], xmm0                                     ; +0x20, 0x1800aab40\nmovups  xmm1, xmmword ptr [rdx+10h]                                    ; +0x25, 0x1800aab45\nmovups  xmmword ptr [r8+rax+10h], xmm1                                 ; +0x29, 0x1800aab49\nmovups  xmm0, xmmword ptr [rdx+20h]                                    ; +0x2f, 0x1800aab4f\nmovups  xmmword ptr [r8+rax+20h], xmm0                                 ; +0x33, 0x1800aab53\nmovups  xmm1, xmmword ptr [rdx+30h]                                    ; +0x39, 0x1800aab59\nmovups  xmmword ptr [r8+rax+30h], xmm1                                 ; +0x3d, 0x1800aab5d\nmovups  xmm0, xmmword ptr [rdx+40h]                                    ; +0x43, 0x1800aab63\nmovups  xmmword ptr [r8+rax+40h], xmm0                                 ; +0x47, 0x1800aab67\nmovups  xmm1, xmmword ptr [rdx+50h]                                    ; +0x4d, 0x1800aab6d\nmovups  xmmword ptr [r8+rax+50h], xmm1                                 ; +0x51, 0x1800aab71\nmov     byte ptr [rcx+48h], 1                                          ; +0x57, 0x1800aab77\nretn                                                                   ; +0x5b, 0x1800aab7b", "xrefs": ["cocos2d::CCSprite::updateColor @ 0x180090751", "cocos2d::CCSprite::updateTransform @ 0x180090e6a", "<???> @ 0x18014cf68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}