// // cocos2d::CCTextureAtlas::insertQuad from 0x1800a66d0 to 0x1800a6781 (177 bytes) // // 5 xrefs: // > cocos2d::CCSpriteBatchNode::appendChild @ 0x18008e043 // > cocos2d::CCSpriteBatchNode::insertChild @ 0x18008e888 // > cocos2d::CCSpriteBatchNode::insertQuadFromSprite @ 0x18008eb64 // > @ 0x1801438a8 // > @ 0x1801b7d28 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCTextureAtlas::insertQuad( cocos2d::CCTextureAtlas *this, struct cocos2d::_ccV3F_C4B_T2F_Quad *a2, unsigned int a3) { unsigned int v5; // ecx unsigned int m_uMaxQuads; // eax unsigned int v7; // ecx unsigned __int64 v8; // rbx cocos2d::ccV3F_C4B_T2F_Quad *m_pQuads; // rax v5 = this->m_uTotalQuads + 1; m_uMaxQuads = this->m_uMaxQuads; this->m_uTotalQuads = v5; if ( m_uMaxQuads <= v5 ) m_uMaxQuads = v5; this->m_uMaxQuads = m_uMaxQuads; v7 = v5 - a3 - 1; v8 = a3; if ( v7 ) memmove(&this->m_pQuads[a3 + 1], &this->m_pQuads[v8], 96LL * v7); m_pQuads = this->m_pQuads; *(_OWORD *)&m_pQuads[v8].tl.vertices.x = *(_OWORD *)&a2->tl.vertices.x; *(_OWORD *)&m_pQuads[v8].tl.texCoords.u = *(_OWORD *)&a2->tl.texCoords.u; *(_OWORD *)&m_pQuads[v8].bl.vertices.z = *(_OWORD *)&a2->bl.vertices.z; *(_OWORD *)&m_pQuads[v8].tr.vertices.x = *(_OWORD *)&a2->tr.vertices.x; *(_OWORD *)&m_pQuads[v8].tr.texCoords.u = *(_OWORD *)&a2->tr.texCoords.u; *(_OWORD *)&m_pQuads[v8].br.vertices.z = *(_OWORD *)&a2->br.vertices.z; this->m_bDirty = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source