// // LevelEditorLayer::pasteParticleState from 0x466b68 to 0x466c48 (224 bytes) // // 1 xrefs: // > CreateParticlePopup::onPasteSettings @ 0x665bfe // // 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:48:57 +0000 // int __fastcall LevelEditorLayer::pasteParticleState(int this, ParticleGameObject *a2, cocos2d::CCArray *a3) { int v4; // r7 int v5; // r1 _DWORD *v6; // r2 ParticleGameObject **v7; // r4 int v8; // r7 ParticleGameObject **v9; // r5 ParticleGameObject *v10; // r6 ParticleGameObject *v11; // t1 int v12[3]; // [sp+0h] [bp-14h] BYREF v4 = this; v5 = *(_DWORD *)(this + 11772); if ( v5 ) { if ( a2 ) { std::string::basic_string(v12, v5 + 1268); ParticleGameObject::setParticleString(a2, v12); std::string::~string((int)v12); *((_BYTE *)a2 + 1560) = *(_BYTE *)(*(_DWORD *)(v4 + 11772) + 1560); *((_BYTE *)a2 + 1237) = *(_BYTE *)(*(_DWORD *)(v4 + 11772) + 1237); return ParticleGameObject::updateParticle(a2); } else if ( a3 ) { v6 = *((_DWORD **)a3 + 13); if ( *v6 ) { v7 = (ParticleGameObject **)v6[3]; v8 = this + 11772; v9 = &v7[*v6] + 0x3FFFFFFF; while ( v7 <= v9 ) { v11 = *v7++; v10 = v11; if ( !v11 ) break; std::string::basic_string(v12, *(_DWORD *)v8 + 1268); ParticleGameObject::setParticleString(v10, v12); std::string::~string((int)v12); *((_BYTE *)v10 + 1560) = *(_BYTE *)(*(_DWORD *)v8 + 1560); *((_BYTE *)v10 + 1237) = *(_BYTE *)(*(_DWORD *)v8 + 1237); this = ParticleGameObject::updateParticle(v10); } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source