{"type": "func", "start": 6443132096, "end": 6443132173, "name": "cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex", "pseudocode": "// \n// cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex from 0x1800a64c0 to 0x1800a650d (77 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCParticleBatchNode::insertChild @ 0x18006188b\n// > cocos2d::CCParticleBatchNode::removeChild @ 0x180061a62\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::fillWithEmptyQuadsFromIndex(\n        cocos2d::CCTextureAtlas *this,\n        unsigned int a2,\n        unsigned int a3)\n{\n  __int64 v4; // rax\n  __int64 v5; // rdx\n  __int64 v6; // rcx\n  cocos2d::ccV3F_C4B_T2F_Quad *m_pQuads; // rax\n\n  if ( a2 < a2 + a3 )\n  {\n    v4 = a2;\n    v5 = a3;\n    v6 = v4;\n    do\n    {\n      m_pQuads = this->m_pQuads;\n      *(_OWORD *)&m_pQuads[v6++].tl.vertices.x = 0;\n      *(_OWORD *)&m_pQuads[v6 - 1].tl.texCoords.u = 0;\n      *(_OWORD *)&m_pQuads[v6 - 1].bl.vertices.z = 0;\n      *(_OWORD *)&m_pQuads[v6 - 1].tr.vertices.x = 0;\n      *(_OWORD *)&m_pQuads[v6 - 1].tr.texCoords.u = 0;\n      *(_OWORD *)&m_pQuads[v6 - 1].br.vertices.z = 0;\n      --v5;\n    }\n    while ( v5 );\n  }\n}", "assembly": "; \n; cocos2d::CCTextureAtlas::fillWithEmptyQuadsFromIndex from 0x1800a64c0 to 0x1800a650d (77 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCParticleBatchNode::insertChild @ 0x18006188b\n; > cocos2d::CCParticleBatchNode::removeChild @ 0x180061a62\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     eax, [rdx+r8]                                                  ; +0x0, 0x1800a64c0\nmov     r9, rcx                                                        ; +0x4, 0x1800a64c4\nxorps   xmm0, xmm0                                                     ; +0x7, 0x1800a64c7\ncmp     edx, eax                                                       ; +0xa, 0x1800a64ca\njnb     short locret_1800A650C                                         ; +0xc, 0x1800a64cc\nmov     eax, edx                                                       ; +0xe, 0x1800a64ce\nmov     edx, r8d                                                       ; +0x10, 0x1800a64d0\nlea     rcx, [rax+rax*2]                                               ; +0x13, 0x1800a64d3\nshl     rcx, 5                                                         ; +0x17, 0x1800a64d7\nnop     dword ptr [rax+rax+00h]                                        ; +0x1b, 0x1800a64db\nmov     rax, [r9+60h]                                                  ; +0x20, 0x1800a64e0\nlea     rcx, [rcx+60h]                                                 ; +0x24, 0x1800a64e4\nmovups  xmmword ptr [rcx+rax-60h], xmm0                                ; +0x28, 0x1800a64e8\nmovups  xmmword ptr [rcx+rax-50h], xmm0                                ; +0x2d, 0x1800a64ed\nmovups  xmmword ptr [rcx+rax-40h], xmm0                                ; +0x32, 0x1800a64f2\nmovups  xmmword ptr [rcx+rax-30h], xmm0                                ; +0x37, 0x1800a64f7\nmovups  xmmword ptr [rcx+rax-20h], xmm0                                ; +0x3c, 0x1800a64fc\nmovups  xmmword ptr [rcx+rax-10h], xmm0                                ; +0x41, 0x1800a6501\nsub     rdx, 1                                                         ; +0x46, 0x1800a6506\njnz     short loc_1800A64E0                                            ; +0x4a, 0x1800a650a\nretn                                                                   ; +0x4c, 0x1800a650c", "xrefs": ["cocos2d::CCParticleBatchNode::insertChild @ 0x18006188b", "cocos2d::CCParticleBatchNode::removeChild @ 0x180061a62", "<???> @ 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"}