// // cocos2d::CCTextureAtlas::updateQuad from 0xb332ac to 0xb33310 (100 bytes) // // 3 xrefs: // > cocos2d::CCSprite::updateColor @ 0xb15fc0 // > cocos2d::CCSprite::updateTransform @ 0xb1631c // > @ 0x97c68 // // 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 cocos2d::CCTextureAtlas::updateQuad(cocos2d::CCTextureAtlas *a1, cocos2d::ccV3F_C4B_T2F_Quad *a2, unsigned int a3) { unsigned int m_uTotalQuads; // w3 __int64 v4; // x2 cocos2d::ccV3F_C4B_T2F_Quad *v5; // x2 __int64 v6; // x5 __int64 v7; // x5 cocos2d::ccTex2F texCoords; // x5 __int64 v9; // x5 __int64 v10; // x5 cocos2d::ccTex2F v11; // x5 m_uTotalQuads = a3 + 1; v4 = a3; if ( m_uTotalQuads < a1->m_uTotalQuads ) m_uTotalQuads = a1->m_uTotalQuads; v5 = &a1->m_pQuads[v4]; a1->m_uTotalQuads = m_uTotalQuads; v6 = *(_QWORD *)&a2->tl.vertices.z; *(_QWORD *)&v5->tl.vertices.x = *(_QWORD *)&a2->tl.vertices.x; *(_QWORD *)&v5->tl.vertices.z = v6; v7 = *(_QWORD *)&a2->bl.vertices.x; v5->tl.texCoords = a2->tl.texCoords; *(_QWORD *)&v5->bl.vertices.x = v7; texCoords = a2->bl.texCoords; *(_QWORD *)&v5->bl.vertices.z = *(_QWORD *)&a2->bl.vertices.z; v5->bl.texCoords = texCoords; v9 = *(_QWORD *)&a2->tr.vertices.z; *(_QWORD *)&v5->tr.vertices.x = *(_QWORD *)&a2->tr.vertices.x; *(_QWORD *)&v5->tr.vertices.z = v9; v10 = *(_QWORD *)&a2->br.vertices.x; v5->tr.texCoords = a2->tr.texCoords; *(_QWORD *)&v5->br.vertices.x = v10; v11 = a2->br.texCoords; *(_QWORD *)&v5->br.vertices.z = *(_QWORD *)&a2->br.vertices.z; v5->br.texCoords = v11; a1->m_bDirty = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source