{"type": "func", "start": 6708192, "end": 6708250, "name": "CreateParticlePopup::onPasteSettings", "pseudocode": "// \n// CreateParticlePopup::onPasteSettings from 0x665be0 to 0x665c1a (58 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:55:40 +0000\n// \n\nGameManager *__fastcall CreateParticlePopup::onPasteSettings(ParticleGameObject **this, cocos2d::CCObject *a2)\n{\n  GameManager *result; // r0\n  int v4; // r0\n\n  result = (GameManager *)GameManager::sharedState((GameManager *)this);\n  if ( *((_DWORD *)result + 102) )\n  {\n    v4 = GameManager::sharedState(result);\n    LevelEditorLayer::pasteParticleState(*(_DWORD *)(v4 + 408), *(this + 132), *(this + 133));\n    CreateParticlePopup::willClose(this);\n    return (GameManager *)(*((int (__fastcall **)(ParticleGameObject **, int))*this + 66))(this, 1);\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::onPasteSettings from 0x665be0 to 0x665c1a (58 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:55:40 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x665be0\nMOV             R4, R0                                                 ; +0x2, 0x665be2\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x665be4\nLDR.W           R3, [R0,#0x198]                                        ; +0x8, 0x665be8\nCBZ             R3, locret_665C18                                      ; +0xc, 0x665bec\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xe, 0x665bee\nLDR.W           R1, [R4,#0x210]; ParticleGameObject *                  ; +0x12, 0x665bf2\nLDR.W           R2, [R4,#0x214]; cocos2d::CCArray *                    ; +0x16, 0x665bf6\nLDR.W           R0, [R0,#0x198]; this                                  ; +0x1a, 0x665bfa\nBL              _ZN16LevelEditorLayer18pasteParticleStateEP18ParticleGameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteParticleState(ParticleGameObject *,cocos2d::CCArray *) ; +0x1e, 0x665bfe\nMOV             R0, R4; this                                           ; +0x22, 0x665c02\nBL              _ZN19CreateParticlePopup9willCloseEv; CreateParticlePopup::willClose(void) ; +0x24, 0x665c04\nLDR             R3, [R4]                                               ; +0x28, 0x665c08\nMOV             R0, R4                                                 ; +0x2a, 0x665c0a\nMOVS            R1, #1                                                 ; +0x2c, 0x665c0c\nPOP.W           {R4,LR}                                                ; +0x2e, 0x665c0e\nLDR.W           R3, [R3,#0x108]                                        ; +0x32, 0x665c12\nBX              R3                                                     ; +0x36, 0x665c16\nPOP             {R4,PC}                                                ; +0x38, 0x665c18", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}