// // ParticleGameObject::updateSyncedAnimation from 0x86f8d4 to 0x86fa40 (364 bytes) // // 2 xrefs: // > @ 0x96e68 // > @ 0x1447b68 // // 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 12:55:45 +0000 // float __fastcall ParticleGameObject::updateSyncedAnimation(ParticleGameObject *this, float result) { float *v2; // x1 float v4; // s8 float v5; // s9 float v6; // s10 float v7; // s0 float v8; // s1 float v9; // s4 float v10; // s1 v2 = *((float **)this + 97); if ( v2 ) { v4 = result; if ( *((_BYTE *)this + 1417) ) { if ( *((_BYTE *)this + 1425) ) { cocos2d::CCParticleSystem::resetSystem((cocos2d::CCParticleSystem *)v2); *((_BYTE *)this + 1425) = 0; } } else { result = *((float *)this + 445); if ( result < 0.0 ) { v5 = (*(float (__fastcall **)(float *))(*(_QWORD *)v2 + 968LL))(v2); v6 = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 984LL))(*((_QWORD *)this + 97)); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 920LL))(*((_QWORD *)this + 97)); v2 = *((float **)this + 97); v8 = v2[134]; v9 = v2[135]; qword_155CA60 = 214013 * qword_155CA60 + 2531011; v10 = v8 + (float)((float)((float)((float)((float)(((unsigned __int64)qword_155CA60 >> 16) & 0x7FFF) / 32767.0) * 2.0) + -1.0) * v9); if ( v10 <= 0.0 ) v10 = 0.0; if ( *((_BYTE *)this + 1784) ) { result = v10 + v4; *((_BYTE *)this + 1784) = 0; *((float *)this + 445) = v10 + v4; } else { result = v10 + (float)(v4 + (float)((float)(v5 + v6) + v7)); *((float *)this + 445) = result; } } if ( v4 > result ) { cocos2d::CCParticleSystem::resetSystem((cocos2d::CCParticleSystem *)v2); *((float *)this + 445) = -1.0; return -1.0; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source