{"type": "func", "start": 5373560720, "end": 5373560854, "name": "ParticleGameObject::setParticleString", "pseudocode": "// \n// ParticleGameObject::setParticleString from 0x1404a0790 to 0x1404a0816 (134 bytes)\n// \n// 7 xrefs:\n// > CreateParticlePopup::onCopySettings @ 0x140431ae9\n// > CreateParticlePopup::onCopySettings @ 0x140431c8b\n// > CreateParticlePopup::onPasteSettings @ 0x140431d7c\n// > CreateParticlePopup::onPasteSettings @ 0x140431e08\n// > CreateParticlePopup::onClose @ 0x140435173\n// > CreateParticlePopup::onClose @ 0x140435227\n// > <???> @ 0x1406dc53c\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\n// Hidden C++ exception states: #wind=1\nvoid __fastcall ParticleGameObject::setParticleString(__int64 a1, void **a2)\n{\n  void **v4; // rdi\n  void *v5; // rdx\n\n  v4 = (void **)(a1 + 1464);\n  if ( sub_14003A760((_QWORD *)(a1 + 1464), a2) )\n  {\n    if ( v4 != a2 )\n    {\n      v5 = a2;\n      if ( (unsigned __int64)a2[3] > 0xF )\n        v5 = *a2;\n      sub_14003CCE0(v4, v5, (size_t)a2[2]);\n    }\n    *(_BYTE *)(a1 + 1496) = 1;\n  }\n  sub_14003A830((__int64)a2);\n}", "assembly": "; \n; ParticleGameObject::setParticleString from 0x1404a0790 to 0x1404a0816 (134 bytes)\n; \n; 7 xrefs:\n; > CreateParticlePopup::onCopySettings @ 0x140431ae9\n; > CreateParticlePopup::onCopySettings @ 0x140431c8b\n; > CreateParticlePopup::onPasteSettings @ 0x140431d7c\n; > CreateParticlePopup::onPasteSettings @ 0x140431e08\n; > CreateParticlePopup::onClose @ 0x140435173\n; > CreateParticlePopup::onClose @ 0x140435227\n; > <???> @ 0x1406dc53c\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1404a0790\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1404a0795\npush    rdi                                                            ; +0xa, 0x1404a079a\nsub     rsp, 30h                                                       ; +0xb, 0x1404a079b\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x1404a079f\nxor     rax, rsp                                                       ; +0x16, 0x1404a07a6\nmov     [rsp+38h+var_10], rax                                          ; +0x19, 0x1404a07a9\nmov     rbx, rdx                                                       ; +0x1e, 0x1404a07ae\nmov     rsi, rcx                                                       ; +0x21, 0x1404a07b1\nmov     [rsp+38h+var_18], rdx                                          ; +0x24, 0x1404a07b4\nlea     rdi, [rcx+5B8h]                                                ; +0x29, 0x1404a07b9\nmov     rcx, rdi; Buf1                                                 ; +0x30, 0x1404a07c0\ncall    sub_14003A760                                                  ; +0x33, 0x1404a07c3\ntest    eax, eax                                                       ; +0x38, 0x1404a07c8\njz      short loc_1404A07F1                                            ; +0x3a, 0x1404a07ca\ncmp     rdi, rbx                                                       ; +0x3c, 0x1404a07cc\njz      short loc_1404A07EA                                            ; +0x3f, 0x1404a07cf\nmov     rdx, rbx                                                       ; +0x41, 0x1404a07d1\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x44, 0x1404a07d4\njbe     short loc_1404A07DE                                            ; +0x49, 0x1404a07d9\nmov     rdx, [rbx]; Src                                                ; +0x4b, 0x1404a07db\nmov     r8, [rbx+10h]; Size                                            ; +0x4e, 0x1404a07de\nmov     rcx, rdi; void *                                               ; +0x52, 0x1404a07e2\ncall    sub_14003CCE0                                                  ; +0x55, 0x1404a07e5\nmov     byte ptr [rsi+5D8h], 1                                         ; +0x5a, 0x1404a07ea\nmov     rcx, rbx                                                       ; +0x61, 0x1404a07f1\ncall    sub_14003A830                                                  ; +0x64, 0x1404a07f4\nmov     rcx, [rsp+38h+var_10]                                          ; +0x69, 0x1404a07f9\nxor     rcx, rsp; StackCookie                                          ; +0x6e, 0x1404a07fe\ncall    __security_check_cookie                                        ; +0x71, 0x1404a0801\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x76, 0x1404a0806\nmov     rsi, [rsp+38h+arg_18]                                          ; +0x7b, 0x1404a080b\nadd     rsp, 30h                                                       ; +0x80, 0x1404a0810\npop     rdi                                                            ; +0x84, 0x1404a0814\nretn                                                                   ; +0x85, 0x1404a0815", "xrefs": ["CreateParticlePopup::onCopySettings @ 0x140431ae9", "CreateParticlePopup::onCopySettings @ 0x140431c8b", "CreateParticlePopup::onPasteSettings @ 0x140431d7c", "CreateParticlePopup::onPasteSettings @ 0x140431e08", "CreateParticlePopup::onClose @ 0x140435173", "CreateParticlePopup::onClose @ 0x140435227", "<???> @ 0x1406dc53c"], "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"}