//
// CreateParticlePopup::onPasteSettings from 0x665be0 to 0x665c1a (58 bytes)
//
// 0 xrefs:
//
// 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:55:40 +0000
//
GameManager *__fastcall CreateParticlePopup::onPasteSettings(ParticleGameObject **this, cocos2d::CCObject *a2)
{
GameManager *result; // r0
int v4; // r0
result = (GameManager *)GameManager::sharedState((GameManager *)this);
if ( *((_DWORD *)result + 102) )
{
v4 = GameManager::sharedState(result);
LevelEditorLayer::pasteParticleState(*(_DWORD *)(v4 + 408), *(this + 132), *(this + 133));
CreateParticlePopup::willClose(this);
return (GameManager *)(*((int (__fastcall **)(ParticleGameObject **, int))*this + 66))(this, 1);
}
return result;
}