//
// CreateParticlePopup::onPasteSettings from 0xaff310 to 0xaff368 (88 bytes)
//
// 3 xrefs:
// > ??> @ 0xec920
// > CreateParticlePopup::init @ 0xb019f0
// > ??> @ 0x1547250
//
// 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:01:19 +0000
//
GameManager *__fastcall CreateParticlePopup::onPasteSettings(ParticleGameObject **this, cocos2d::CCObject *a2)
{
GameManager *result; // x0
__int64 v4; // x0
result = *(GameManager **)(GameManager::sharedState((GameManager *)this) + 552);
if ( result )
{
v4 = GameManager::sharedState(result);
LevelEditorLayer::pasteParticleState(*(LevelEditorLayer **)(v4 + 552), *(this + 85), *(this + 86));
CreateParticlePopup::willClose(this);
return (GameManager *)(*((__int64 (__fastcall **)(ParticleGameObject **, __int64))*this + 66))(this, 1);
}
return result;
}