// // cocos2d::CCEaseElasticIn::update from 0x5b1668 to 0x5b16f0 (136 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 cocos2d::CCEaseElasticIn::update(cocos2d::CCEaseElasticIn *a1, float a2) { float v2; // s15 float v4; // s16 float v5; // s17 float v6; // s18 v2 = a2; if ( a2 != 0.0 && a2 != 1.0 ) { v4 = a2 - 1.0; v5 = *(float *)&a1[1].m_uID * 0.25; v6 = powf(2.0, (float)(a2 - 1.0) * 10.0); v2 = -(float)(v6 * sinf( (float)((float)((float)(v4 - v5) * 3.1416) + (float)((float)(v4 - v5) * 3.1416)) / *(float *)&a1[1].m_uID)); } (*((void (__fastcall **)(cocos2d::CCEaseElasticIn_vtbl *, float))a1[1].copyWithZone + 5))( a1[1].__vftable, COERCE_FLOAT(LODWORD(v2))); }
GD Web Decomp Icon

GD Web Decomp

Raw Source