{"type": "func", "start": 11530908, "end": 11531024, "name": "CreateParticlePopup::willClose", "pseudocode": "// \n// CreateParticlePopup::willClose from 0xaff29c to 0xaff310 (116 bytes)\n// \n// 3 xrefs:\n// > CreateParticlePopup::onPasteSettings @ 0xaff344\n// > CreateParticlePopup::onClose @ 0xaff390\n// > <???> @ 0x60e68\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:01:19 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::willClose(cocos2d::CCArray **this)\n{\n  __int64 PageInputNodes; // x0\n  __int64 v3; // x0\n  __int64 i; // x19\n  __int64 *v5; // x0\n  __int64 v6; // x3\n\n  PageInputNodes = CreateParticlePopup::getPageInputNodes(this, 0);\n  if ( PageInputNodes )\n  {\n    v3 = *(_QWORD *)(PageInputNodes + 56);\n    if ( v3 )\n    {\n      for ( i = *(_QWORD *)(v3 + 288); ; i = *(_QWORD *)(i + 288) )\n      {\n        v5 = *(__int64 **)(v3 + 264);\n        v6 = *v5;\n        v5[73] = 0;\n        (*(void (__fastcall **)(__int64 *, _QWORD))(v6 + 1160))(v5, 0);\n        v3 = i;\n        if ( !i )\n          break;\n      }\n    }\n  }\n  return (*((__int64 (__fastcall **)(cocos2d::CCArray **, _QWORD))*this + 134))(this, 0);\n}", "assembly": "; \n; CreateParticlePopup::willClose from 0xaff29c to 0xaff310 (116 bytes)\n; \n; 3 xrefs:\n; > CreateParticlePopup::onPasteSettings @ 0xaff344\n; > CreateParticlePopup::onClose @ 0xaff390\n; > <???> @ 0x60e68\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:01:19 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xaff29c\nMOV             W1, #0; int                                            ; +0x4, 0xaff2a0\nMOV             X29, SP                                                ; +0x8, 0xaff2a4\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0xaff2a8\nMOV             X20, X0                                                ; +0x10, 0xaff2ac\nBL              _ZN19CreateParticlePopup17getPageInputNodesEi; CreateParticlePopup::getPageInputNodes(int) ; +0x14, 0xaff2b0\nCBZ             X0, loc_AFF2F0                                         ; +0x18, 0xaff2b4\nLDR             X0, [X0,#0x38]                                         ; +0x1c, 0xaff2b8\nCBZ             X0, loc_AFF2F0                                         ; +0x20, 0xaff2bc\nLDR             X19, [X0,#0x120]                                       ; +0x24, 0xaff2c0\nB               loc_AFF2CC                                             ; +0x28, 0xaff2c4\nLDR             X19, [X19,#0x120]                                      ; +0x2c, 0xaff2c8\nLDR             X2, [X0,#0x108]                                        ; +0x30, 0xaff2cc\nMOV             W1, #0                                                 ; +0x34, 0xaff2d0\nMOV             X0, X2                                                 ; +0x38, 0xaff2d4\nLDR             X3, [X2]                                               ; +0x3c, 0xaff2d8\nSTR             XZR, [X2,#0x248]                                       ; +0x40, 0xaff2dc\nLDR             X2, [X3,#0x488]                                        ; +0x44, 0xaff2e0\nBLR             X2                                                     ; +0x48, 0xaff2e4\nMOV             X0, X19                                                ; +0x4c, 0xaff2e8\nCBNZ            X19, loc_AFF2C8                                        ; +0x50, 0xaff2ec\nLDR             X2, [X20]                                              ; +0x54, 0xaff2f0\nMOV             X0, X20                                                ; +0x58, 0xaff2f4\nMOV             W1, #0                                                 ; +0x5c, 0xaff2f8\nLDR             X2, [X2,#0x430]                                        ; +0x60, 0xaff2fc\nBLR             X2                                                     ; +0x64, 0xaff300\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0xaff304\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x6c, 0xaff308\nRET                                                                    ; +0x70, 0xaff30c", "xrefs": ["CreateParticlePopup::onPasteSettings @ 0xaff344", "CreateParticlePopup::onClose @ 0xaff390", "<???> @ 0x60e68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}