{"type": "func", "start": 6443133952, "end": 6443134061, "name": "cocos2d::CCTextureAtlas::removeQuadsAtIndex", "pseudocode": "// \n// cocos2d::CCTextureAtlas::removeQuadsAtIndex from 0x1800a6c00 to 0x1800a6c6d (109 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCParticleBatchNode::removeChild @ 0x180061a33\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b7d94\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::removeQuadsAtIndex(cocos2d::CCTextureAtlas *this, int a2, int a3)\n{\n  unsigned int m_uTotalQuads; // r10d\n  unsigned int v5; // r10d\n\n  m_uTotalQuads = this->m_uTotalQuads;\n  this->m_uTotalQuads = m_uTotalQuads - a3;\n  v5 = m_uTotalQuads - a2 - a3;\n  if ( v5 )\n  {\n    memmove(&this->m_pQuads[a2], &this->m_pQuads[a2 + a3], 96LL * v5);\n    this->m_bDirty = 1;\n  }\n  else\n  {\n    this->m_bDirty = 1;\n  }\n}", "assembly": "; \n; cocos2d::CCTextureAtlas::removeQuadsAtIndex from 0x1800a6c00 to 0x1800a6c6d (109 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCParticleBatchNode::removeChild @ 0x180061a33\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b7d94\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, 0x1800a6c00\npush    rdi                                                            ; +0x5, 0x1800a6c05\nsub     rsp, 20h                                                       ; +0x6, 0x1800a6c06\nmov     eax, [rcx+4Ch]                                                 ; +0xa, 0x1800a6c0a\nmov     r11d, r8d                                                      ; +0xd, 0x1800a6c0d\nmov     r10d, eax                                                      ; +0x10, 0x1800a6c10\nmov     edi, edx                                                       ; +0x13, 0x1800a6c13\nsub     eax, r8d                                                       ; +0x15, 0x1800a6c15\nsub     r10d, edx                                                      ; +0x18, 0x1800a6c18\nmov     [rcx+4Ch], eax                                                 ; +0x1b, 0x1800a6c1b\nmov     rbx, rcx                                                       ; +0x1e, 0x1800a6c1e\nsub     r10d, r8d                                                      ; +0x21, 0x1800a6c21\njz      short loc_1800A6C5E                                            ; +0x24, 0x1800a6c24\nlea     eax, [rdi+r11]                                                 ; +0x26, 0x1800a6c26\nlea     rdx, [rax+rax*2]                                               ; +0x2a, 0x1800a6c2a\nshl     rdx, 5                                                         ; +0x2e, 0x1800a6c2e\nlea     r8, [r10+r10*2]                                                ; +0x32, 0x1800a6c32\nadd     rdx, [rcx+60h]; Src                                            ; +0x36, 0x1800a6c36\nlea     rcx, [rdi+rdi*2]                                               ; +0x3a, 0x1800a6c3a\nshl     rcx, 5                                                         ; +0x3e, 0x1800a6c3e\nadd     rcx, [rbx+60h]; void *                                         ; +0x42, 0x1800a6c42\nshl     r8, 5; Size                                                    ; +0x46, 0x1800a6c46\ncall    memmove                                                        ; +0x4a, 0x1800a6c4a\nmov     byte ptr [rbx+48h], 1                                          ; +0x4f, 0x1800a6c4f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x53, 0x1800a6c53\nadd     rsp, 20h                                                       ; +0x58, 0x1800a6c58\npop     rdi                                                            ; +0x5c, 0x1800a6c5c\nretn                                                                   ; +0x5d, 0x1800a6c5d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5e, 0x1800a6c5e\nmov     byte ptr [rcx+48h], 1                                          ; +0x63, 0x1800a6c63\nadd     rsp, 20h                                                       ; +0x67, 0x1800a6c67\npop     rdi                                                            ; +0x6b, 0x1800a6c6b\nretn                                                                   ; +0x6c, 0x1800a6c6c", "xrefs": ["cocos2d::CCParticleBatchNode::removeChild @ 0x180061a33", "<???> @ 0x1801438a8", "<???> @ 0x1801b7d94"], "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"}