{"type": "func", "start": 10244100, "end": 10244188, "name": "CreateParticlePopup::onPasteSettings", "pseudocode": "// \n// CreateParticlePopup::onPasteSettings from 0x9c5004 to 0x9c505c (88 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xb51d0\n// > CreateParticlePopup::init @ 0x9c5a28\n// > <???> @ 0x122e490\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CreateParticlePopup::onPasteSettings(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n\n  if ( GameManager::sharedState()->m_levelEditorLayer )\n  {\n    v3 = GameManager::sharedState();\n    LevelEditorLayer::pasteParticleState(v3->m_levelEditorLayer, a1->m_targetObject, a1->m_targetObjects);\n    CreateParticlePopup::willClose(a1);\n    a1->removeFromParentAndCleanup(a1, 1);\n  }\n}", "assembly": "; \n; CreateParticlePopup::onPasteSettings from 0x9c5004 to 0x9c505c (88 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xb51d0\n; > CreateParticlePopup::init @ 0x9c5a28\n; > <???> @ 0x122e490\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x9c5004\nMOV             X29, SP                                                ; +0x4, 0x9c5008\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x9c500c\nMOV             X19, X0                                                ; +0xc, 0x9c5010\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x9c5014\nLDR             X0, [X0,#0x1E0]; this                                  ; +0x14, 0x9c5018\nCBZ             X0, loc_9C5050                                         ; +0x18, 0x9c501c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1c, 0x9c5020\nLDR             X0, [X0,#0x1E0]; this                                  ; +0x20, 0x9c5024\nLDR             X1, [X19,#0x290]; ParticleGameObject *                 ; +0x24, 0x9c5028\nLDR             X2, [X19,#0x298]; cocos2d::CCArray *                   ; +0x28, 0x9c502c\nBL              _ZN16LevelEditorLayer18pasteParticleStateEP18ParticleGameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteParticleState(ParticleGameObject *,cocos2d::CCArray *) ; +0x2c, 0x9c5030\nMOV             X0, X19; this                                          ; +0x30, 0x9c5034\nBL              _ZN19CreateParticlePopup9willCloseEv; CreateParticlePopup::willClose(void) ; +0x34, 0x9c5038\nLDR             X2, [X19]                                              ; +0x38, 0x9c503c\nMOV             X0, X19                                                ; +0x3c, 0x9c5040\nMOV             W1, #1                                                 ; +0x40, 0x9c5044\nLDR             X2, [X2,#0x200]                                        ; +0x44, 0x9c5048\nBLR             X2                                                     ; +0x48, 0x9c504c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x4c, 0x9c5050\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x50, 0x9c5054\nRET                                                                    ; +0x54, 0x9c5058", "xrefs": ["<???> @ 0xb51d0", "CreateParticlePopup::init @ 0x9c5a28", "<???> @ 0x122e490"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}