{"type": "func", "start": 6708112, "end": 6708192, "name": "CreateParticlePopup::willClose", "pseudocode": "// \n// CreateParticlePopup::willClose from 0x665b90 to 0x665be0 (80 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::onPasteSettings @ 0x665c04\n// > CreateParticlePopup::onClose @ 0x665daa\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\nint __fastcall CreateParticlePopup::willClose(cocos2d::CCArray **this)\n{\n  int PageInputNodes; // r0\n  int v4; // r3\n  int v5; // r4\n  int *v6; // r0\n  int v7; // r3\n  int v8; // r2\n\n  PageInputNodes = CreateParticlePopup::getPageInputNodes(this, 0);\n  if ( PageInputNodes )\n  {\n    v4 = *(_DWORD *)(PageInputNodes + 52);\n    if ( v4 )\n      v5 = *(_DWORD *)(v4 + 272);\n    else\n      v5 = 0;\n    while ( v4 )\n    {\n      v6 = *(int **)(v4 + 260);\n      v7 = *v6;\n      v6[105] = 0;\n      (*(void (__fastcall **)(int *, _DWORD))(v7 + 580))(v6, 0);\n      if ( v5 )\n        v8 = *(_DWORD *)(v5 + 272);\n      else\n        v8 = 0;\n      v4 = v5;\n      v5 = v8;\n    }\n  }\n  return (*((int (__fastcall **)(cocos2d::CCArray **, _DWORD))*this + 134))(this, 0);\n}", "assembly": "; \n; CreateParticlePopup::willClose from 0x665b90 to 0x665be0 (80 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::onPasteSettings @ 0x665c04\n; > CreateParticlePopup::onClose @ 0x665daa\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-R6,LR}                                             ; +0x0, 0x665b90\nMOVS            R1, #0; int                                            ; +0x2, 0x665b92\nMOV             R5, R0                                                 ; +0x4, 0x665b94\nBL              _ZN19CreateParticlePopup17getPageInputNodesEi; CreateParticlePopup::getPageInputNodes(int) ; +0x6, 0x665b96\nCBNZ            R0, loc_665BAC                                         ; +0xa, 0x665b9a\nLDR             R3, [R5]                                               ; +0xc, 0x665b9c\nMOV             R0, R5                                                 ; +0xe, 0x665b9e\nMOVS            R1, #0                                                 ; +0x10, 0x665ba0\nPOP.W           {R4-R6,LR}                                             ; +0x12, 0x665ba2\nLDR.W           R3, [R3,#0x218]                                        ; +0x16, 0x665ba6\nBX              R3                                                     ; +0x1a, 0x665baa\nLDR             R3, [R0,#0x34]                                         ; +0x1c, 0x665bac\nCBZ             R3, loc_665BB6                                         ; +0x1e, 0x665bae\nLDR.W           R4, [R3,#0x110]                                        ; +0x20, 0x665bb0\nB               loc_665BB8                                             ; +0x24, 0x665bb4\nMOV             R4, R3                                                 ; +0x26, 0x665bb6\nMOVS            R6, #0                                                 ; +0x28, 0x665bb8\nCMP             R3, #0                                                 ; +0x2a, 0x665bba\nBEQ             loc_665B9C                                             ; +0x2c, 0x665bbc\nLDR.W           R0, [R3,#0x104]                                        ; +0x2e, 0x665bbe\nMOVS            R1, #0                                                 ; +0x32, 0x665bc2\nLDR             R3, [R0]                                               ; +0x34, 0x665bc4\nSTR.W           R6, [R0,#0x1A4]                                        ; +0x36, 0x665bc6\nLDR.W           R3, [R3,#0x244]                                        ; +0x3a, 0x665bca\nBLX             R3                                                     ; +0x3e, 0x665bce\nCBZ             R4, loc_665BD8                                         ; +0x40, 0x665bd0\nLDR.W           R2, [R4,#0x110]                                        ; +0x42, 0x665bd2\nB               loc_665BDA                                             ; +0x46, 0x665bd6\nMOV             R2, R4                                                 ; +0x48, 0x665bd8\nMOV             R3, R4                                                 ; +0x4a, 0x665bda\nMOV             R4, R2                                                 ; +0x4c, 0x665bdc\nB               loc_665BBA                                             ; +0x4e, 0x665bde", "xrefs": ["CreateParticlePopup::onPasteSettings @ 0x665c04", "CreateParticlePopup::onClose @ 0x665daa"], "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"}