// // ParticleGameObject::updateParticle from 0x4e7be6 to 0x4e7c8e (168 bytes) // // 4 xrefs: // > LevelEditorLayer::pasteParticleState @ 0x466bc2 // > LevelEditorLayer::pasteParticleState @ 0x466c2e // > CreateParticlePopup::onClose @ 0x665dee // > CreateParticlePopup::onClose @ 0x665e42 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:51:06 +0000 // int __fastcall ParticleGameObject::updateParticle(ParticleGameObject *this) { int result; // r0 float v3; // s15 int v4; // r0 char v5; // r3 int v6; // r1 int v7; // r2 float v8; // r0 float v9; // r0 result = *((_DWORD *)this + 165); if ( result ) { cocos2d::CCParticleSystem::stopSystem((cocos2d::CCParticleSystem *)result); GameToolbox::particleFromString((unsigned __int8 *)this + 1268, *((_DWORD *)this + 165), 0); v3 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 165) + 460))(*((_DWORD *)this + 165))); v4 = *((_DWORD *)this + 165); if ( v3 >= 0.0 ) v5 = 1; else v5 = *((_BYTE *)this + 1237); *((_BYTE *)this + 1206) = v5; result = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 780))(v4) != 2; *((_BYTE *)this + 688) = result; *((_BYTE *)this + 928) = result; if ( result ) { v8 = (*(float (__fastcall **)(ParticleGameObject *))(*(_DWORD *)this + 184))(this); result = (int)ParticleGameObject::updateParticleAngle(this, v8, *((cocos2d::CCParticleSystemQuad **)this + 165)); } if ( *((_BYTE *)this + 688) ) { v9 = (*(float (__fastcall **)(ParticleGameObject *))(*(_DWORD *)this + 68))(this); result = (int)ParticleGameObject::updateParticleScale((cocos2d::CCParticleSystemQuad **)this, v9); } if ( *((_DWORD *)this + 165) && (*((_BYTE *)this + 677) || *((_BYTE *)this + 1560)) ) return GameObject::updateObjectEditorColor(this, v6, v7); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source