{"type": "func", "start": 5448676, "end": 5448756, "name": "CreateParticlePopup::willClose", "pseudocode": "// \n// CreateParticlePopup::willClose from 0x5323e4 to 0x532434 (80 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::onPasteSettings @ 0x532458\n// > CreateParticlePopup::onClose @ 0x532480\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; // r0\n  cocos2d::CCDictElement *m_pElements; // r3\n  cocos2d::CCDictElement *next; // r4\n  int *m_pObject; // r0\n  int v6; // r3\n  cocos2d::CCDictElement *v7; // r2\n\n  PageInputNodes = CreateParticlePopup::getPageInputNodes(a1, 0);\n  if ( PageInputNodes )\n  {\n    m_pElements = PageInputNodes->m_pElements;\n    if ( m_pElements )\n      next = (cocos2d::CCDictElement *)m_pElements->hh.next;\n    else\n      next = nullptr;\n    while ( m_pElements )\n    {\n      m_pObject = (int *)m_pElements->m_pObject;\n      v6 = *m_pObject;\n      m_pObject[96] = 0;\n      (*(void (__fastcall **)(int *, _DWORD))(v6 + 572))(m_pObject, 0);\n      if ( next )\n        v7 = (cocos2d::CCDictElement *)next->hh.next;\n      else\n        v7 = nullptr;\n      m_pElements = next;\n      next = v7;\n    }\n  }\n  a1->setKeypadEnabled(a1, 0);\n}", "assembly": "; \n; CreateParticlePopup::willClose from 0x5323e4 to 0x532434 (80 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::onPasteSettings @ 0x532458\n; > CreateParticlePopup::onClose @ 0x532480\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x5323e4\nMOVS            R1, #0; int                                            ; +0x2, 0x5323e6\nMOV             R5, R0                                                 ; +0x4, 0x5323e8\nBL              _ZN19CreateParticlePopup17getPageInputNodesEi; CreateParticlePopup::getPageInputNodes(int) ; +0x6, 0x5323ea\nCBNZ            R0, loc_532400                                         ; +0xa, 0x5323ee\nLDR             R3, [R5]                                               ; +0xc, 0x5323f0\nMOV             R0, R5                                                 ; +0xe, 0x5323f2\nMOVS            R1, #0                                                 ; +0x10, 0x5323f4\nPOP.W           {R4-R6,LR}                                             ; +0x12, 0x5323f6\nLDR.W           R3, [R3,#0x210]                                        ; +0x16, 0x5323fa\nBX              R3                                                     ; +0x1a, 0x5323fe\nLDR             R3, [R0,#0x34]                                         ; +0x1c, 0x532400\nCBZ             R3, loc_53240A                                         ; +0x1e, 0x532402\nLDR.W           R4, [R3,#0x110]                                        ; +0x20, 0x532404\nB               loc_53240C                                             ; +0x24, 0x532408\nMOV             R4, R3                                                 ; +0x26, 0x53240a\nMOVS            R6, #0                                                 ; +0x28, 0x53240c\nCMP             R3, #0                                                 ; +0x2a, 0x53240e\nBEQ             loc_5323F0                                             ; +0x2c, 0x532410\nLDR.W           R0, [R3,#0x104]                                        ; +0x2e, 0x532412\nMOVS            R1, #0                                                 ; +0x32, 0x532416\nLDR             R3, [R0]                                               ; +0x34, 0x532418\nSTR.W           R6, [R0,#0x180]                                        ; +0x36, 0x53241a\nLDR.W           R3, [R3,#0x23C]                                        ; +0x3a, 0x53241e\nBLX             R3                                                     ; +0x3e, 0x532422\nCBZ             R4, loc_53242C                                         ; +0x40, 0x532424\nLDR.W           R2, [R4,#0x110]                                        ; +0x42, 0x532426\nB               loc_53242E                                             ; +0x46, 0x53242a\nMOV             R2, R4                                                 ; +0x48, 0x53242c\nMOV             R3, R4                                                 ; +0x4a, 0x53242e\nMOV             R4, R2                                                 ; +0x4c, 0x532430\nB               loc_53240E                                             ; +0x4e, 0x532432", "xrefs": ["CreateParticlePopup::onPasteSettings @ 0x532458", "CreateParticlePopup::onClose @ 0x532480"], "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"}