{"type": "func", "start": 4297917168, "end": 4297917272, "name": "CreateParticlePopup::willClose", "pseudocode": "// \n// CreateParticlePopup::willClose from 0x1002d02f0 to 0x1002d0358 (104 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::onClose @ 0x1002cda7c\n// > CreateParticlePopup::onPasteSettings @ 0x1002cdccc\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 __fastcall CreateParticlePopup::willClose(CreateParticlePopup *a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x8\n  __int64 v4; // x20\n  _QWORD *v5; // x0\n\n  v2 = sub_10024A388((__int64)a1->m_inputDicts, 0);\n  if ( v2 )\n  {\n    v3 = *(_QWORD *)(v2 + 56);\n    if ( v3 )\n    {\n      do\n      {\n        v4 = *(_QWORD *)(v3 + 288);\n        v5 = *(_QWORD **)(v3 + 264);\n        v5[68] = 0;\n        (*(void (__fastcall **)(_QWORD *, _QWORD))(*v5 + 1144LL))(v5, 0);\n        v3 = v4;\n      }\n      while ( v4 );\n    }\n  }\n  ((void (__fastcall *)(CreateParticlePopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n}", "assembly": "; \n; CreateParticlePopup::willClose from 0x1002d02f0 to 0x1002d0358 (104 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::onClose @ 0x1002cda7c\n; > CreateParticlePopup::onPasteSettings @ 0x1002cdccc\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002d02f0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002d02f4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002d02f8\nMOV             X19, X0                                                ; +0xc, 0x1002d02fc\nLDR             X0, [X0,#0x2D0]                                        ; +0x10, 0x1002d0300\nMOV             W1, #0                                                 ; +0x14, 0x1002d0304\nBL              sub_10024A388                                          ; +0x18, 0x1002d0308\nCBZ             X0, loc_1002D033C                                      ; +0x1c, 0x1002d030c\nLDR             X8, [X0,#0x38]                                         ; +0x20, 0x1002d0310\nCBZ             X8, loc_1002D033C                                      ; +0x24, 0x1002d0314\nLDR             X20, [X8,#0x120]                                       ; +0x28, 0x1002d0318\nLDR             X0, [X8,#0x108]                                        ; +0x2c, 0x1002d031c\nSTR             XZR, [X0,#0x220]                                       ; +0x30, 0x1002d0320\nLDR             X8, [X0]                                               ; +0x34, 0x1002d0324\nLDR             X8, [X8,#0x478]                                        ; +0x38, 0x1002d0328\nMOV             W1, #0                                                 ; +0x3c, 0x1002d032c\nBLR             X8                                                     ; +0x40, 0x1002d0330\nMOV             X8, X20                                                ; +0x44, 0x1002d0334\nCBNZ            X20, loc_1002D0318                                     ; +0x48, 0x1002d0338\nLDR             X8, [X19]                                              ; +0x4c, 0x1002d033c\nLDR             X2, [X8,#0x420]                                        ; +0x50, 0x1002d0340\nMOV             X0, X19                                                ; +0x54, 0x1002d0344\nMOV             W1, #0                                                 ; +0x58, 0x1002d0348\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1002d034c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1002d0350\nBR              X2                                                     ; +0x64, 0x1002d0354", "xrefs": ["CreateParticlePopup::onClose @ 0x1002cda7c", "CreateParticlePopup::onPasteSettings @ 0x1002cdccc"], "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"}