{"type": "func", "start": 5374781952, "end": 5374782088, "name": "CreateParticlePopup::willClose", "pseudocode": "// \n// CreateParticlePopup::willClose from 0x1405caa00 to 0x1405caa88 (136 bytes)\n// \n// 5 xrefs:\n// > CreateParticlePopup::onPasteSettings @ 0x1405c74d9\n// > CreateParticlePopup::onClose @ 0x1405caa99\n// > <???> @ 0x1408e0a98\n// > <???> @ 0x1408e0aa8\n// > <???> @ 0x14092e430\n// \n// This function is hookable on this platform (idp: pc, 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 11:34:52 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::willClose(cocos2d::CCArray **a1)\n{\n  struct cocos2d::CCObject *v2; // rax\n  __int64 v3; // rcx\n  __int64 i; // rbx\n  __int64 *v5; // rcx\n  __int64 v6; // rax\n\n  v2 = cocos2d::CCArray::objectAtIndex(a1[93], 0);\n  if ( v2 )\n  {\n    v3 = *((_QWORD *)v2 + 7);\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[75] = 0;\n        (*(void (__fastcall **)(__int64 *, _QWORD))(v6 + 1032))(v5, 0);\n        v3 = i;\n        if ( !i )\n          break;\n      }\n    }\n  }\n  return (*((__int64 (__fastcall **)(cocos2d::CCArray **, _QWORD))*a1 + 124))(a1, 0);\n}", "assembly": "; \n; CreateParticlePopup::willClose from 0x1405caa00 to 0x1405caa88 (136 bytes)\n; \n; 5 xrefs:\n; > CreateParticlePopup::onPasteSettings @ 0x1405c74d9\n; > CreateParticlePopup::onClose @ 0x1405caa99\n; > <???> @ 0x1408e0a98\n; > <???> @ 0x1408e0aa8\n; > <???> @ 0x14092e430\n; \n; This function is hookable on this platform (idp: pc, 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 11:34:52 +0000\n; \npush    rdi                                                            ; +0x0, 0x1405caa00\nsub     rsp, 20h                                                       ; +0x2, 0x1405caa02\nmov     rdi, rcx                                                       ; +0x6, 0x1405caa06\nxor     edx, edx                                                       ; +0x9, 0x1405caa09\nmov     rcx, [rcx+2E8h]                                                ; +0xb, 0x1405caa0b\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x12, 0x1405caa12\ntest    rax, rax                                                       ; +0x18, 0x1405caa18\njz      short loc_1405CAA74                                            ; +0x1b, 0x1405caa1b\nmov     rcx, [rax+38h]                                                 ; +0x1d, 0x1405caa1d\ntest    rcx, rcx                                                       ; +0x21, 0x1405caa21\njz      short loc_1405CAA74                                            ; +0x24, 0x1405caa24\nmov     [rsp+28h+arg_0], rbx                                           ; +0x26, 0x1405caa26\nmov     rbx, [rcx+120h]                                                ; +0x2b, 0x1405caa2b\nmov     [rsp+28h+arg_8], rsi                                           ; +0x32, 0x1405caa32\nxor     esi, esi                                                       ; +0x37, 0x1405caa37\nnop     dword ptr [rax+00000000h]                                      ; +0x39, 0x1405caa39\nmov     rcx, [rcx+108h]                                                ; +0x40, 0x1405caa40\nxor     edx, edx                                                       ; +0x47, 0x1405caa47\nmov     rax, [rcx]                                                     ; +0x49, 0x1405caa49\nmov     [rcx+258h], rsi                                                ; +0x4c, 0x1405caa4c\ncall    qword ptr [rax+408h]                                           ; +0x53, 0x1405caa53\nmov     rcx, rbx                                                       ; +0x59, 0x1405caa59\ntest    rbx, rbx                                                       ; +0x5c, 0x1405caa5c\njz      short loc_1405CAA6A                                            ; +0x5f, 0x1405caa5f\nmov     rbx, [rbx+120h]                                                ; +0x61, 0x1405caa61\njmp     short loc_1405CAA40                                            ; +0x68, 0x1405caa68\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6a, 0x1405caa6a\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6f, 0x1405caa6f\nmov     rax, [rdi]                                                     ; +0x74, 0x1405caa74\nxor     edx, edx                                                       ; +0x77, 0x1405caa77\nmov     rcx, rdi                                                       ; +0x79, 0x1405caa79\nadd     rsp, 20h                                                       ; +0x7c, 0x1405caa7c\npop     rdi                                                            ; +0x80, 0x1405caa80\njmp     qword ptr [rax+3E0h]                                           ; +0x81, 0x1405caa81", "xrefs": ["CreateParticlePopup::onPasteSettings @ 0x1405c74d9", "CreateParticlePopup::onClose @ 0x1405caa99", "<???> @ 0x1408e0a98", "<???> @ 0x1408e0aa8", "<???> @ 0x14092e430"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}