{"type": "func", "start": 6443132224, "end": 6443132249, "name": "cocos2d::CCTextureAtlas::increaseTotalQuadsWith", "pseudocode": "// \n// cocos2d::CCTextureAtlas::increaseTotalQuadsWith from 0x1800a6540 to 0x1800a6559 (25 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCLabelAtlas::updateAtlasValues @ 0x180046a1b\n// > cocos2d::CCParticleBatchNode::insertChild @ 0x1800618e9\n// > cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0x1800ab888\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::increaseTotalQuadsWith(cocos2d::CCTextureAtlas *this, int a2)\n{\n  unsigned int m_uMaxQuads; // eax\n  unsigned int v3; // r8d\n\n  m_uMaxQuads = this->m_uMaxQuads;\n  v3 = a2 + this->m_uTotalQuads;\n  this->m_uTotalQuads = v3;\n  if ( m_uMaxQuads <= v3 )\n    m_uMaxQuads = v3;\n  this->m_uMaxQuads = m_uMaxQuads;\n}", "assembly": "; \n; cocos2d::CCTextureAtlas::increaseTotalQuadsWith from 0x1800a6540 to 0x1800a6559 (25 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCLabelAtlas::updateAtlasValues @ 0x180046a1b\n; > cocos2d::CCParticleBatchNode::insertChild @ 0x1800618e9\n; > cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0x1800ab888\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\nmov     eax, [rcx+68h]                                                 ; +0x0, 0x1800a6540\nmov     r8d, [rcx+4Ch]                                                 ; +0x3, 0x1800a6543\nadd     r8d, edx                                                       ; +0x7, 0x1800a6547\ncmp     eax, r8d                                                       ; +0xa, 0x1800a654a\nmov     [rcx+4Ch], r8d                                                 ; +0xd, 0x1800a654d\ncmovbe  eax, r8d                                                       ; +0x11, 0x1800a6551\nmov     [rcx+68h], eax                                                 ; +0x15, 0x1800a6555\nretn                                                                   ; +0x18, 0x1800a6558", "xrefs": ["cocos2d::CCLabelAtlas::updateAtlasValues @ 0x180046a1b", "cocos2d::CCParticleBatchNode::insertChild @ 0x1800618e9", "cocos2d::CCTileMapAtlas::updateAtlasValueAt @ 0x1800ab888", "<???> @ 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"}