{"type": "func", "start": 5370385056, "end": 5370385291, "name": "GameObject::unclaimParticle", "pseudocode": "// \n// GameObject::unclaimParticle from 0x1401992a0 to 0x14019938b (235 bytes)\n// \n// 46 xrefs:\n// > <???> @ 0x140556888\n// > <???> @ 0x140556ff8\n// > <???> @ 0x14055e030\n// > <???> @ 0x14055e6b0\n// > <???> @ 0x1405c8748\n// > <???> @ 0x14060e228\n// > <???> @ 0x14060e948\n// > <???> @ 0x14060f180\n// > <???> @ 0x14060f828\n// > <???> @ 0x14060fef8\n// > <???> @ 0x1406105b0\n// > <???> @ 0x140610cf8\n// > <???> @ 0x140611558\n// > <???> @ 0x140611c90\n// > <???> @ 0x140612478\n// > <???> @ 0x140612b20\n// > <???> @ 0x1406131c8\n// > <???> @ 0x140613938\n// > <???> @ 0x140613fe0\n// > <???> @ 0x1406147c8\n// > <???> @ 0x140615000\n// > <???> @ 0x140615748\n// > <???> @ 0x140615df0\n// > <???> @ 0x140616538\n// > <???> @ 0x140616cf8\n// > <???> @ 0x1406173a0\n// > <???> @ 0x140617a48\n// > <???> @ 0x1406181b8\n// > <???> @ 0x140618860\n// > <???> @ 0x140618fa8\n// > <???> @ 0x140619a48\n// > <???> @ 0x14061a0f0\n// > <???> @ 0x14061a798\n// > <???> @ 0x14061aeb8\n// > <???> @ 0x14061b560\n// > <???> @ 0x14061bca8\n// > <???> @ 0x14061c440\n// > <???> @ 0x14061cae8\n// > <???> @ 0x14061d190\n// > <???> @ 0x14061d838\n// > <???> @ 0x14061dee0\n// > <???> @ 0x14061e588\n// > <???> @ 0x14061ec30\n// > <???> @ 0x14061f440\n// > <???> @ 0x14061fbd8\n// > <???> @ 0x1406cbce8\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=2\nvoid GameObject::unclaimParticle(GameObject *a1)\n{\n  std::string *p_m_particleString; // rbx\n  __int64 v3; // rax\n  GJBaseGameLayer *v4; // rcx\n  __int64 v5; // rax\n  void *v6; // [rsp+30h] [rbp+8h]\n  void *v7; // [rsp+30h] [rbp+8h]\n\n  p_m_particleString = &a1->m_particleString;\n  if ( a1->m_editorEnabled )\n  {\n    if ( a1->m_particleString.m_data.m_capacity > 0xF )\n      p_m_particleString = (std::string *)p_m_particleString->m_data.m_bigStorage;\n    v3 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v6 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v6);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v3 = qword_1406C2ED8;\n    }\n    v4 = *(GJBaseGameLayer **)(v3 + 528);\n  }\n  else\n  {\n    if ( a1->m_particleString.m_data.m_capacity > 0xF )\n      p_m_particleString = (std::string *)p_m_particleString->m_data.m_bigStorage;\n    v5 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v7 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v7);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v5 = qword_1406C2ED8;\n    }\n    v4 = *(GJBaseGameLayer **)(v5 + 520);\n  }\n  GJBaseGameLayer::unclaimParticle(v4, p_m_particleString->m_data.m_smallStorage._Elems, a1->m_particle);\n  a1->m_particle = nullptr;\n}", "assembly": "; \n; GameObject::unclaimParticle from 0x1401992a0 to 0x14019938b (235 bytes)\n; \n; 46 xrefs:\n; > <???> @ 0x140556888\n; > <???> @ 0x140556ff8\n; > <???> @ 0x14055e030\n; > <???> @ 0x14055e6b0\n; > <???> @ 0x1405c8748\n; > <???> @ 0x14060e228\n; > <???> @ 0x14060e948\n; > <???> @ 0x14060f180\n; > <???> @ 0x14060f828\n; > <???> @ 0x14060fef8\n; > <???> @ 0x1406105b0\n; > <???> @ 0x140610cf8\n; > <???> @ 0x140611558\n; > <???> @ 0x140611c90\n; > <???> @ 0x140612478\n; > <???> @ 0x140612b20\n; > <???> @ 0x1406131c8\n; > <???> @ 0x140613938\n; > <???> @ 0x140613fe0\n; > <???> @ 0x1406147c8\n; > <???> @ 0x140615000\n; > <???> @ 0x140615748\n; > <???> @ 0x140615df0\n; > <???> @ 0x140616538\n; > <???> @ 0x140616cf8\n; > <???> @ 0x1406173a0\n; > <???> @ 0x140617a48\n; > <???> @ 0x1406181b8\n; > <???> @ 0x140618860\n; > <???> @ 0x140618fa8\n; > <???> @ 0x140619a48\n; > <???> @ 0x14061a0f0\n; > <???> @ 0x14061a798\n; > <???> @ 0x14061aeb8\n; > <???> @ 0x14061b560\n; > <???> @ 0x14061bca8\n; > <???> @ 0x14061c440\n; > <???> @ 0x14061cae8\n; > <???> @ 0x14061d190\n; > <???> @ 0x14061d838\n; > <???> @ 0x14061dee0\n; > <???> @ 0x14061e588\n; > <???> @ 0x14061ec30\n; > <???> @ 0x14061f440\n; > <???> @ 0x14061fbd8\n; > <???> @ 0x1406cbce8\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_8], rbx                                               ; +0x0, 0x1401992a0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1401992a5\npush    rdi                                                            ; +0xa, 0x1401992aa\nsub     rsp, 20h                                                       ; +0xb, 0x1401992ab\nmov     rdi, rcx                                                       ; +0xf, 0x1401992af\nlea     rbx, [rcx+310h]                                                ; +0x12, 0x1401992b2\ncmp     byte ptr [rcx+28Dh], 0                                         ; +0x19, 0x1401992b9\njz      short loc_140199310                                            ; +0x20, 0x1401992c0\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x22, 0x1401992c2\njbe     short loc_1401992CC                                            ; +0x27, 0x1401992c7\nmov     rbx, [rbx]                                                     ; +0x29, 0x1401992c9\nmov     rax, cs:qword_1406C2ED8                                        ; +0x2c, 0x1401992cc\ntest    rax, rax                                                       ; +0x33, 0x1401992d3\njnz     short loc_140199307                                            ; +0x36, 0x1401992d6\nmov     ecx, 668h; Size                                                ; +0x38, 0x1401992d8\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3d, 0x1401992dd\nmov     [rsp+28h+arg_0], rax                                           ; +0x42, 0x1401992e2\nmov     rcx, rax                                                       ; +0x47, 0x1401992e7\ncall    sub_14017AB00                                                  ; +0x4a, 0x1401992ea\nnop                                                                    ; +0x4f, 0x1401992ef\nmov     cs:qword_1406C2ED8, rax                                        ; +0x50, 0x1401992f0\nmov     rdx, [rax]                                                     ; +0x57, 0x1401992f7\nmov     rcx, rax                                                       ; +0x5a, 0x1401992fa\ncall    qword ptr [rdx+48h]                                            ; +0x5d, 0x1401992fd\nmov     rax, cs:qword_1406C2ED8                                        ; +0x60, 0x140199300\nmov     rcx, [rax+210h]                                                ; +0x67, 0x140199307\njmp     short loc_14019935D                                            ; +0x6e, 0x14019930e\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x70, 0x140199310\njbe     short loc_14019931A                                            ; +0x75, 0x140199315\nmov     rbx, [rbx]                                                     ; +0x77, 0x140199317\nmov     rax, cs:qword_1406C2ED8                                        ; +0x7a, 0x14019931a\ntest    rax, rax                                                       ; +0x81, 0x140199321\njnz     short loc_140199356                                            ; +0x84, 0x140199324\nmov     ecx, 668h; Size                                                ; +0x86, 0x140199326\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x8b, 0x14019932b\nmov     [rsp+28h+arg_0], rax                                           ; +0x90, 0x140199330\nmov     rcx, rax                                                       ; +0x95, 0x140199335\ncall    sub_14017AB00                                                  ; +0x98, 0x140199338\nnop                                                                    ; +0x9d, 0x14019933d\nmov     cs:qword_1406C2ED8, rax                                        ; +0x9e, 0x14019933e\nmov     r8, [rax]                                                      ; +0xa5, 0x140199345\nmov     rcx, rax                                                       ; +0xa8, 0x140199348\ncall    qword ptr [r8+48h]                                             ; +0xab, 0x14019934b\nmov     rax, cs:qword_1406C2ED8                                        ; +0xaf, 0x14019934f\nmov     rcx, [rax+208h]                                                ; +0xb6, 0x140199356\nmov     esi, 308h                                                      ; +0xbd, 0x14019935d\nmov     eax, esi                                                       ; +0xc2, 0x140199362\nmov     r8, rdi                                                        ; +0xc4, 0x140199364\nmov     r8, [rax+rdi]                                                  ; +0xc7, 0x140199367\nmov     rdx, rbx                                                       ; +0xcb, 0x14019936b\ncall    GJBaseGameLayer__unclaimParticle                               ; +0xce, 0x14019936e\nmov     qword ptr [rdi+rsi], 0                                         ; +0xd3, 0x140199373\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xdb, 0x14019937b\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xe0, 0x140199380\nadd     rsp, 20h                                                       ; +0xe5, 0x140199385\npop     rdi                                                            ; +0xe9, 0x140199389\nretn                                                                   ; +0xea, 0x14019938a", "xrefs": ["<???> @ 0x140556888", "<???> @ 0x140556ff8", "<???> @ 0x14055e030", "<???> @ 0x14055e6b0", "<???> @ 0x1405c8748", "<???> @ 0x14060e228", "<???> @ 0x14060e948", "<???> @ 0x14060f180", "<???> @ 0x14060f828", "<???> @ 0x14060fef8", "<???> @ 0x1406105b0", "<???> @ 0x140610cf8", "<???> @ 0x140611558", "<???> @ 0x140611c90", "<???> @ 0x140612478", "<???> @ 0x140612b20", "<???> @ 0x1406131c8", "<???> @ 0x140613938", "<???> @ 0x140613fe0", "<???> @ 0x1406147c8", "<???> @ 0x140615000", "<???> @ 0x140615748", "<???> @ 0x140615df0", "<???> @ 0x140616538", "<???> @ 0x140616cf8", "<???> @ 0x1406173a0", "<???> @ 0x140617a48", "<???> @ 0x1406181b8", "<???> @ 0x140618860", "<???> @ 0x140618fa8", "<???> @ 0x140619a48", "<???> @ 0x14061a0f0", "<???> @ 0x14061a798", "<???> @ 0x14061aeb8", "<???> @ 0x14061b560", "<???> @ 0x14061bca8", "<???> @ 0x14061c440", "<???> @ 0x14061cae8", "<???> @ 0x14061d190", "<???> @ 0x14061d838", "<???> @ 0x14061dee0", "<???> @ 0x14061e588", "<???> @ 0x14061ec30", "<???> @ 0x14061f440", "<???> @ 0x14061fbd8", "<???> @ 0x1406cbce8"], "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"}