// // CCPartAnimSprite::transformSprite from 0x10007ec68 to 0x10007edd0 (360 bytes) // // 1 xrefs: // > CCPartAnimSprite::setDisplayFrame @ 0x10007f178 // // 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 CCPartAnimSprite::transformSprite(CCPartAnimSprite *a1, SpriteDescription *a2) { __int64 v4; // x19 __n128 v5; // q0 __n128 v6; // q0 cocos2d::CCSpriteFrame *m_texture; // x8 std::string __p; // [xsp+0h] [xbp-40h] BYREF v4 = sub_10024A388(a1->m_spriteParts, (unsigned int)a2->m_tag); cocos2d::CCNode::stopAllActions((cocos2d::CCNode *)v4); (*(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v4 + 184LL))(v4, &a2->m_position); if ( a2->m_flipped.x == 0.0 ) v5.n128_u32[0] = LODWORD(a2->m_scale.x); else v5.n128_f32[0] = -a2->m_scale.x; (*(void (__fastcall **)(__int64, __n128))(*(_QWORD *)v4 + 128LL))(v4, v5); if ( a2->m_flipped.y == 0.0 ) v6.n128_u32[0] = LODWORD(a2->m_scale.y); else v6.n128_f32[0] = -a2->m_scale.y; (*(void (__fastcall **)(__int64, __n128))(*(_QWORD *)v4 + 144LL))(v4, v6); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 344LL))(v4, a2->m_rotation); if ( a2->m_usesCustomTag ) { (*(void (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v4 + 1144LL))(v4, a2->m_texture); m_texture = a2->m_texture; if ( m_texture->m_strFrameName.m_data.m_short.shortStorage.__elems_[22] < 0 ) sub_1000097D0( &__p, (void *)m_texture->m_strFrameName.m_data.m_long.capacitym1, m_texture->m_strFrameName.m_data.m_long.size); else __p = m_texture->m_strFrameName; CCSpritePart::frameChanged(v4, (std::string *)&__p); if ( __p.m_data.m_short.shortStorage.__elems_[22] < 0 ) operator delete((void *)__p.m_data.m_long.capacitym1); } if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v4 + 104LL))(v4) != a2->m_zValue ) ((void (__fastcall *)(CCPartAnimSprite *, __int64))a1->reorderChild)(a1, v4); *(_BYTE *)(v4 + 619) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 328LL))(v4, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source