// // cocos2d::CCEaseElasticInOut::update from 0xd28b10 to 0xd28c30 (288 bytes) // // 2 xrefs: // > @ 0xaa1d0 // > @ 0x1511c68 // // This function is hookable on this platform (idp: arm, 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 13:07:15 +0000 // __int64 __fastcall cocos2d::CCEaseElasticInOut::update(cocos2d::CCEaseElasticInOut *this, long double a2) { float v2; // s1 float v3; // s0 float v4; // s11 float v5; // s8 float v6; // s9 float v7; // s0 float v8; // s10 float v10; // s10 float *v11; // [xsp+38h] [xbp+38h] if ( *(float *)&a2 != 1.0 && *(float *)&a2 != 0.0 ) { v2 = *((float *)this + 26); v3 = *(float *)&a2 + *(float *)&a2; if ( v2 == 0.0 ) { v4 = 1.0; v11 = (float *)this; v5 = v3 - 1.0; v6 = 0.1125; v7 = 2.0; *((_DWORD *)this + 26) = 1055286887; if ( v5 >= 0.0 ) goto LABEL_5; } else { v4 = 1.0; v11 = (float *)this; v5 = v3 - 1.0; v6 = v2 * 0.25; v7 = 2.0; if ( v5 >= 0.0 ) { LABEL_5: v8 = powf(v7, v5 * -10.0); *(float *)&a2 = sinf((float)((float)((float)(v5 - v6) * 3.1416) + (float)((float)(v5 - v6) * 3.1416)) / v11[26]); this = (cocos2d::CCEaseElasticInOut *)v11; *(float *)&a2 = v4 + (float)((float)(v8 * *(float *)&a2) * 0.5); return (*(__int64 (__fastcall **)(_QWORD, long double))(**((_QWORD **)this + 12) + 40LL))( *((_QWORD *)this + 12), a2); } } v10 = powf(v7, v5 * 10.0); *(float *)&a2 = sinf((float)((float)((float)(v5 - v6) * 3.1416) + (float)((float)(v5 - v6) * 3.1416)) / v11[26]); this = (cocos2d::CCEaseElasticInOut *)v11; *(float *)&a2 = (float)(v10 * -0.5) * *(float *)&a2; } return (*(__int64 (__fastcall **)(_QWORD, long double))(**((_QWORD **)this + 12) + 40LL))(*((_QWORD *)this + 12), a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source