// // CCPartAnimSprite::changeTextureOfID from 0x2e7754 to 0x2e77cc (120 bytes) // // 0 xrefs: // // 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 CCPartAnimSprite::changeTextureOfID(CCPartAnimSprite *a1, const char *a2, const char *a3) { cocos2d::CCDictionary *m_spritePartIDs; // r6 CCSpritePart *v5; // r6 int v6; // r2 std::string v7; // [sp+8h] [bp+4h] BYREF v7.m_data.m_data = (stl::StringData::Internal *)a3; m_spritePartIDs = a1->m_spritePartIDs; sub_776584((int)&v7, (char *)a2); v5 = (CCSpritePart *)cocos2d::CCDictionary::objectForKey(m_spritePartIDs, &v7); sub_774008(&v7); if ( v5 ) { if ( a3 ) { sub_776584((int)&v7, (char *)a3); CCSpritePart::updateDisplayFrame((int)v5, (const char **)&v7, v6); sub_774008(&v7); } else { CCSpritePart::resetTextureRect(v5); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source