// // GameToolbox::getEasedAction from 0x1004eeec0 to 0x1004eef6c (172 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:31:23 +0000 // __int64 __fastcall GameToolbox::getEasedAction(__int64 a1, int a2, __m128 a3) { __m128 v3; // xmm2 __int64 v4; // xmm1_8 __m128 v5; // xmm0 double v6; // xmm0_8 __int64 result; // rax if ( !a2 ) return a1; v3.i32[0] = 0; v4 = a3.i64[0]; v5 = _mm_cmpgt_ss(a3, v3); *(_QWORD *)&v6 = _mm_andnot_ps(v5, (__m128)0x40000000u).u64[0] | v4 & v5.i64[0]; switch ( a2 ) { case 1: result = cocos2d::CCEaseInOut::create(a1, *(float *)&v6); break; case 2: result = cocos2d::CCEaseIn::create(a1, *(float *)&v6); break; case 3: result = cocos2d::CCEaseOut::create(a1, *(float *)&v6); break; case 4: result = cocos2d::CCEaseElasticInOut::create(v6); break; case 5: result = cocos2d::CCEaseElasticIn::create(a1, *(float *)&v6); break; case 6: result = cocos2d::CCEaseElasticOut::create(a1, *(float *)&v6); break; case 7: result = cocos2d::CCEaseBounceInOut::create(v6); break; case 8: result = cocos2d::CCEaseBounceIn::create(v6); break; case 9: result = cocos2d::CCEaseBounceOut::create(a1); break; case 10: result = cocos2d::CCEaseExponentialInOut::create(v6); break; case 11: result = cocos2d::CCEaseExponentialIn::create(a1); break; case 12: result = cocos2d::CCEaseExponentialOut::create(a1); break; case 13: result = cocos2d::CCEaseSineInOut::create(v6); break; case 14: result = cocos2d::CCEaseSineIn::create(v6); break; case 15: result = cocos2d::CCEaseSineOut::create(v6); break; case 16: result = cocos2d::CCEaseBackInOut::create(v6); break; case 17: result = cocos2d::CCEaseBackIn::create(v6); break; case 18: result = cocos2d::CCEaseBackOut::create(v6); break; default: return a1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source