{"type": "func", "start": 10243984, "end": 10244100, "name": "CreateParticlePopup::willClose", "pseudocode": "// \n// CreateParticlePopup::willClose from 0x9c4f90 to 0x9c5004 (116 bytes)\n// \n// 3 xrefs:\n// > CreateParticlePopup::onPasteSettings @ 0x9c5038\n// > CreateParticlePopup::onClose @ 0x9c508c\n// > <???> @ 0x44010\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::willClose(CreateParticlePopup *a1)\n{\n  cocos2d::CCDictionary *PageInputNodes; // x0\n  cocos2d::CCDictElement *m_pElements; // x0\n  cocos2d::CCDictElement *i; // x19\n  __int64 *m_pObject; // x0\n  __int64 v6; // x3\n\n  PageInputNodes = CreateParticlePopup::getPageInputNodes(a1, 0);\n  if ( PageInputNodes )\n  {\n    m_pElements = PageInputNodes->m_pElements;\n    if ( m_pElements )\n    {\n      for ( i = (cocos2d::CCDictElement *)m_pElements->hh.next; ; i = (cocos2d::CCDictElement *)i->hh.next )\n      {\n        m_pObject = (__int64 *)m_pElements->m_pObject;\n        v6 = *m_pObject;\n        m_pObject[64] = 0;\n        (*(void (__fastcall **)(__int64 *, _QWORD))(v6 + 1144))(m_pObject, 0);\n        m_pElements = i;\n        if ( !i )\n          break;\n      }\n    }\n  }\n  a1->setKeypadEnabled(a1, 0);\n}", "assembly": "; \n; CreateParticlePopup::willClose from 0x9c4f90 to 0x9c5004 (116 bytes)\n; \n; 3 xrefs:\n; > CreateParticlePopup::onPasteSettings @ 0x9c5038\n; > CreateParticlePopup::onClose @ 0x9c508c\n; > <???> @ 0x44010\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,#-0x20+var_s0]!                          ; +0x0, 0x9c4f90\nMOV             W1, #0; int                                            ; +0x4, 0x9c4f94\nMOV             X29, SP                                                ; +0x8, 0x9c4f98\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x9c4f9c\nMOV             X20, X0                                                ; +0x10, 0x9c4fa0\nBL              _ZN19CreateParticlePopup17getPageInputNodesEi; CreateParticlePopup::getPageInputNodes(int) ; +0x14, 0x9c4fa4\nCBZ             X0, loc_9C4FE4                                         ; +0x18, 0x9c4fa8\nLDR             X0, [X0,#0x38]                                         ; +0x1c, 0x9c4fac\nCBZ             X0, loc_9C4FE4                                         ; +0x20, 0x9c4fb0\nLDR             X19, [X0,#0x120]                                       ; +0x24, 0x9c4fb4\nB               loc_9C4FC0                                             ; +0x28, 0x9c4fb8\nLDR             X19, [X19,#0x120]                                      ; +0x2c, 0x9c4fbc\nLDR             X2, [X0,#0x108]                                        ; +0x30, 0x9c4fc0\nMOV             W1, #0                                                 ; +0x34, 0x9c4fc4\nMOV             X0, X2                                                 ; +0x38, 0x9c4fc8\nLDR             X3, [X2]                                               ; +0x3c, 0x9c4fcc\nSTR             XZR, [X2,#0x200]                                       ; +0x40, 0x9c4fd0\nLDR             X2, [X3,#0x478]                                        ; +0x44, 0x9c4fd4\nBLR             X2                                                     ; +0x48, 0x9c4fd8\nMOV             X0, X19                                                ; +0x4c, 0x9c4fdc\nCBNZ            X19, loc_9C4FBC                                        ; +0x50, 0x9c4fe0\nLDR             X2, [X20]                                              ; +0x54, 0x9c4fe4\nMOV             X0, X20                                                ; +0x58, 0x9c4fe8\nMOV             W1, #0                                                 ; +0x5c, 0x9c4fec\nLDR             X2, [X2,#0x420]                                        ; +0x60, 0x9c4ff0\nBLR             X2                                                     ; +0x64, 0x9c4ff4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0x9c4ff8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x6c, 0x9c4ffc\nRET                                                                    ; +0x70, 0x9c5000", "xrefs": ["CreateParticlePopup::onPasteSettings @ 0x9c5038", "CreateParticlePopup::onClose @ 0x9c508c", "<???> @ 0x44010"], "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"}