// // ParticleGameObject::updateParticle from 0x871ee8 to 0x871fdc (244 bytes) // // 5 xrefs: // > LevelEditorLayer::pasteParticleState @ 0x793ae8 // > LevelEditorLayer::pasteParticleState @ 0x793bc4 // > CreateParticlePopup::onClose @ 0xaff3e4 // > CreateParticlePopup::onClose @ 0xaff454 // > @ 0xf4a20 // // 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:46 +0000 // __int64 __fastcall ParticleGameObject::updateParticle(ParticleGameObject *this) { __int64 result; // x0 float v3; // s0 char v4; // w0 __int64 v5; // x1 _BOOL4 v6; // w0 float v7; // s0 float v8; // s0 result = *((_QWORD *)this + 97); if ( result ) { cocos2d::CCParticleSystem::stopSystem((cocos2d::CCParticleSystem *)result); GameToolbox::particleFromString((__int64)this + 1448, *((_QWORD *)this + 97), 0); v3 = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 920LL))(*((_QWORD *)this + 97)); v4 = 1; if ( v3 < 0.0 ) v4 = *((_BYTE *)this + 1417); v5 = *((_QWORD *)this + 97); *((_BYTE *)this + 1386) = v4; v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1560LL))(v5) != 2; *((_BYTE *)this + 820) = v6; *((_BYTE *)this + 1064) = v6; if ( v6 ) { v7 = (*(float (__fastcall **)(ParticleGameObject *))(*(_QWORD *)this + 368LL))(this); ParticleGameObject::updateParticleAngle(this, v7, *((cocos2d::CCParticleSystemQuad **)this + 97)); if ( *((_BYTE *)this + 820) ) { v8 = (*(float (__fastcall **)(ParticleGameObject *))(*(_QWORD *)this + 136LL))(this); ParticleGameObject::updateParticleScale((cocos2d::CCParticleSystemQuad **)this, v8); } } result = *((_QWORD *)this + 97); if ( result ) { if ( *((_BYTE *)this + 809) ) return GameObject::updateObjectEditorColor(this); result = *((unsigned __int8 *)this + 1768); if ( *((_BYTE *)this + 1768) ) return GameObject::updateObjectEditorColor(this); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source