// // cocos2d::CCAccelDeccelAmplitude::update from 0x10020a680 to 0x10020a6d2 (82 bytes) // // 1 xrefs: // > @ 0x1008dc1a0 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall cocos2d::CCAccelDeccelAmplitude::update(cocos2d::CCAccelDeccelAmplitude *a1, float a2) { __m128 v2; // xmm0 __m128 v3; // xmm2 cocos2d::CCActionInterval *v4; // rbx v2.f32[0] = a2 + a2; v3 = _mm_cmplt_ss((__m128)0x3F800000u, v2); v4 = (cocos2d::CCActionInterval *)a1[1].__vftable; v2.f32[0] = powf( COERCE_FLOAT(_mm_andnot_ps(v3, v2).u32[0] | COERCE_UNSIGNED_INT(1.0 - (float)(v2.f32[0] + -1.0)) & v3.i32[0]), *((float *)&a1->m_bFirstTick + 1)); cocos2d::CCActionInterval::setAmplitudeRate(v4, v2.f32[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source