{"type": "func", "start": 5372255152, "end": 5372255649, "name": "GroupCommandObject2::reset", "pseudocode": "// \n// GroupCommandObject2::reset from 0x140361bb0 to 0x140361da1 (497 bytes)\n// \n// 5 xrefs:\n// > GroupCommandObject2::GroupCommandObject2 @ 0x140361b98\n// > GJEffectManager::createFollowCommand @ 0x140366e09\n// > GJEffectManager::createPlayerFollowCommand @ 0x140366f17\n// > GJEffectManager::resetTempGroupCommands @ 0x140369a55\n// > <???> @ 0x1409213bc\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:30:53 +0000\n// \n\n__int64 __fastcall GroupCommandObject2::reset(__int64 a1)\n{\n  int v1; // eax\n  __int64 result; // rax\n\n  v1 = dword_1408FE47C;\n  *(_DWORD *)a1 = dword_1408FE47C;\n  *(_DWORD *)(a1 + 12) = 0;\n  *(_QWORD *)(a1 + 16) = 0;\n  *(_QWORD *)(a1 + 24) = 0;\n  *(_QWORD *)(a1 + 32) = 0;\n  *(_QWORD *)(a1 + 40) = 0;\n  *(_QWORD *)(a1 + 48) = 0;\n  *(_QWORD *)(a1 + 56) = 0;\n  *(_QWORD *)(a1 + 64) = 0;\n  *(_QWORD *)(a1 + 72) = 0;\n  *(_QWORD *)(a1 + 80) = 0;\n  *(_QWORD *)(a1 + 88) = 0;\n  *(_QWORD *)(a1 + 96) = 0;\n  *(_QWORD *)(a1 + 104) = 0;\n  *(_QWORD *)(a1 + 112) = 0;\n  *(_BYTE *)(a1 + 120) = 0;\n  *(_QWORD *)(a1 + 144) = 0;\n  *(_QWORD *)(a1 + 152) = 0;\n  *(_QWORD *)(a1 + 160) = 0;\n  *(_QWORD *)(a1 + 168) = 0;\n  *(_QWORD *)(a1 + 176) = 0;\n  *(_BYTE *)(a1 + 184) = 0;\n  *(_DWORD *)(a1 + 188) = 0;\n  *(_DWORD *)(a1 + 208) = 0;\n  *(_QWORD *)(a1 + 232) = 0;\n  *(_QWORD *)(a1 + 240) = 0;\n  *(_QWORD *)(a1 + 248) = 0;\n  *(_QWORD *)(a1 + 256) = 0;\n  *(_QWORD *)(a1 + 264) = 0;\n  *(_QWORD *)(a1 + 272) = 0;\n  *(_QWORD *)(a1 + 280) = 0;\n  *(_WORD *)(a1 + 288) = 0;\n  *(_BYTE *)(a1 + 290) = 0;\n  *(_QWORD *)(a1 + 296) = 0;\n  *(_QWORD *)(a1 + 304) = 0;\n  *(_QWORD *)(a1 + 312) = 0;\n  *(_QWORD *)(a1 + 320) = 0;\n  *(_DWORD *)(a1 + 328) = 0;\n  *(_QWORD *)(a1 + 336) = 0;\n  *(_QWORD *)(a1 + 344) = 0;\n  *(_QWORD *)(a1 + 352) = 0;\n  *(_QWORD *)(a1 + 360) = 0;\n  *(_QWORD *)(a1 + 368) = 0;\n  *(_QWORD *)(a1 + 376) = 0;\n  *(_QWORD *)(a1 + 384) = 0;\n  *(_QWORD *)(a1 + 392) = 0;\n  *(_QWORD *)(a1 + 400) = 0;\n  *(_QWORD *)(a1 + 408) = 0;\n  *(_QWORD *)(a1 + 416) = 0;\n  *(_BYTE *)(a1 + 424) = 0;\n  *(_DWORD *)(a1 + 428) = 0;\n  *(_WORD *)(a1 + 432) = 1;\n  dword_1408FE47C = v1 + 1;\n  *(_QWORD *)(a1 + 128) = 0x3FF0000000000000LL;\n  *(_QWORD *)(a1 + 136) = 0x3FF0000000000000LL;\n  *(_QWORD *)(a1 + 192) = 0x3FF0000000000000LL;\n  *(_QWORD *)(a1 + 200) = 0x3FF0000000000000LL;\n  *(_QWORD *)(a1 + 216) = 0x3FF0000000000000LL;\n  *(_QWORD *)(a1 + 224) = 0x3FF0000000000000LL;\n  if ( *(_QWORD *)(a1 + 440) != *(_QWORD *)(a1 + 448) )\n  {\n    sub_140361FF0();\n    *(_QWORD *)(a1 + 448) = *(_QWORD *)(a1 + 440);\n  }\n  result = *(_QWORD *)(a1 + 488);\n  if ( result != *(_QWORD *)(a1 + 496) )\n    *(_QWORD *)(a1 + 496) = result;\n  *(_QWORD *)(a1 + 464) = 0;\n  *(_QWORD *)(a1 + 472) = 0;\n  *(_DWORD *)(a1 + 480) = 0;\n  *(_BYTE *)(a1 + 512) = 0;\n  *(_DWORD *)(a1 + 516) = 0;\n  return result;\n}", "assembly": "; \n; GroupCommandObject2::reset from 0x140361bb0 to 0x140361da1 (497 bytes)\n; \n; 5 xrefs:\n; > GroupCommandObject2::GroupCommandObject2 @ 0x140361b98\n; > GJEffectManager::createFollowCommand @ 0x140366e09\n; > GJEffectManager::createPlayerFollowCommand @ 0x140366f17\n; > GJEffectManager::resetTempGroupCommands @ 0x140369a55\n; > <???> @ 0x1409213bc\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:30:53 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140361bb0\npush    rdi                                                            ; +0x5, 0x140361bb5\nsub     rsp, 20h                                                       ; +0x6, 0x140361bb6\nxor     edi, edi                                                       ; +0xa, 0x140361bba\nmov     eax, cs:dword_1408FE47C                                        ; +0xc, 0x140361bbc\nmov     [rcx], eax                                                     ; +0x12, 0x140361bc2\nmov     rbx, rcx                                                       ; +0x14, 0x140361bc4\ninc     eax                                                            ; +0x17, 0x140361bc7\nmov     [rcx+0Ch], edi                                                 ; +0x19, 0x140361bc9\nmov     [rcx+10h], rdi                                                 ; +0x1c, 0x140361bcc\nmov     [rcx+18h], rdi                                                 ; +0x20, 0x140361bd0\nmov     [rcx+20h], rdi                                                 ; +0x24, 0x140361bd4\nmov     [rcx+28h], rdi                                                 ; +0x28, 0x140361bd8\nmov     [rcx+30h], rdi                                                 ; +0x2c, 0x140361bdc\nmov     [rcx+38h], rdi                                                 ; +0x30, 0x140361be0\nmov     [rcx+40h], rdi                                                 ; +0x34, 0x140361be4\nmov     [rcx+48h], rdi                                                 ; +0x38, 0x140361be8\nmov     [rcx+50h], rdi                                                 ; +0x3c, 0x140361bec\nmov     [rcx+58h], rdi                                                 ; +0x40, 0x140361bf0\nmov     [rcx+60h], rdi                                                 ; +0x44, 0x140361bf4\nmov     [rcx+68h], rdi                                                 ; +0x48, 0x140361bf8\nmov     [rcx+70h], rdi                                                 ; +0x4c, 0x140361bfc\nmov     [rcx+78h], dil                                                 ; +0x50, 0x140361c00\nmov     [rcx+90h], rdi                                                 ; +0x54, 0x140361c04\nmov     [rcx+98h], rdi                                                 ; +0x5b, 0x140361c0b\nmov     [rcx+0A0h], rdi                                                ; +0x62, 0x140361c12\nmov     [rcx+0A8h], rdi                                                ; +0x69, 0x140361c19\nmov     [rcx+0B0h], rdi                                                ; +0x70, 0x140361c20\nmov     [rcx+0B8h], dil                                                ; +0x77, 0x140361c27\nmov     [rcx+0BCh], edi                                                ; +0x7e, 0x140361c2e\nmov     [rcx+0D0h], edi                                                ; +0x84, 0x140361c34\nmov     [rcx+0E8h], rdi                                                ; +0x8a, 0x140361c3a\nmov     [rcx+0F0h], rdi                                                ; +0x91, 0x140361c41\nmov     [rcx+0F8h], rdi                                                ; +0x98, 0x140361c48\nmov     [rcx+100h], rdi                                                ; +0x9f, 0x140361c4f\nmov     [rcx+108h], rdi                                                ; +0xa6, 0x140361c56\nmov     [rcx+110h], rdi                                                ; +0xad, 0x140361c5d\nmov     [rcx+118h], rdi                                                ; +0xb4, 0x140361c64\nmov     [rcx+120h], di                                                 ; +0xbb, 0x140361c6b\nmov     [rcx+122h], dil                                                ; +0xc2, 0x140361c72\nmov     [rcx+128h], rdi                                                ; +0xc9, 0x140361c79\nmov     [rcx+130h], rdi                                                ; +0xd0, 0x140361c80\nmov     [rcx+138h], rdi                                                ; +0xd7, 0x140361c87\nmov     [rcx+140h], rdi                                                ; +0xde, 0x140361c8e\nmov     [rcx+148h], edi                                                ; +0xe5, 0x140361c95\nmov     [rcx+150h], rdi                                                ; +0xeb, 0x140361c9b\nmov     [rcx+158h], rdi                                                ; +0xf2, 0x140361ca2\nmov     [rcx+160h], rdi                                                ; +0xf9, 0x140361ca9\nmov     [rcx+168h], rdi                                                ; +0x100, 0x140361cb0\nmov     [rcx+170h], rdi                                                ; +0x107, 0x140361cb7\nmov     [rcx+178h], rdi                                                ; +0x10e, 0x140361cbe\nmov     [rcx+180h], rdi                                                ; +0x115, 0x140361cc5\nmov     [rcx+188h], rdi                                                ; +0x11c, 0x140361ccc\nmov     [rcx+190h], rdi                                                ; +0x123, 0x140361cd3\nmov     [rcx+198h], rdi                                                ; +0x12a, 0x140361cda\nmov     [rcx+1A0h], rdi                                                ; +0x131, 0x140361ce1\nmov     [rcx+1A8h], dil                                                ; +0x138, 0x140361ce8\nmov     [rcx+1ACh], edi                                                ; +0x13f, 0x140361cef\nmov     word ptr [rcx+1B0h], 1                                         ; +0x145, 0x140361cf5\nmov     cs:dword_1408FE47C, eax                                        ; +0x14e, 0x140361cfe\nmov     rax, 3FF0000000000000h                                         ; +0x154, 0x140361d04\nmov     [rcx+80h], rax                                                 ; +0x15e, 0x140361d0e\nmov     [rcx+88h], rax                                                 ; +0x165, 0x140361d15\nmov     [rcx+0C0h], rax                                                ; +0x16c, 0x140361d1c\nmov     [rcx+0C8h], rax                                                ; +0x173, 0x140361d23\nmov     [rcx+0D8h], rax                                                ; +0x17a, 0x140361d2a\nmov     [rcx+0E0h], rax                                                ; +0x181, 0x140361d31\nmov     rdx, [rcx+1C0h]                                                ; +0x188, 0x140361d38\nmov     rcx, [rcx+1B8h]                                                ; +0x18f, 0x140361d3f\ncmp     rcx, rdx                                                       ; +0x196, 0x140361d46\njz      short loc_140361D5E                                            ; +0x199, 0x140361d49\ncall    sub_140361FF0                                                  ; +0x19b, 0x140361d4b\nmov     rax, [rbx+1B8h]                                                ; +0x1a0, 0x140361d50\nmov     [rbx+1C0h], rax                                                ; +0x1a7, 0x140361d57\nmov     rax, [rbx+1E8h]                                                ; +0x1ae, 0x140361d5e\ncmp     rax, [rbx+1F0h]                                                ; +0x1b5, 0x140361d65\njz      short loc_140361D75                                            ; +0x1bc, 0x140361d6c\nmov     [rbx+1F0h], rax                                                ; +0x1be, 0x140361d6e\nmov     [rbx+1D0h], rdi                                                ; +0x1c5, 0x140361d75\nmov     [rbx+1D8h], rdi                                                ; +0x1cc, 0x140361d7c\nmov     [rbx+1E0h], edi                                                ; +0x1d3, 0x140361d83\nmov     [rbx+200h], dil                                                ; +0x1d9, 0x140361d89\nmov     [rbx+204h], edi                                                ; +0x1e0, 0x140361d90\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1e6, 0x140361d96\nadd     rsp, 20h                                                       ; +0x1eb, 0x140361d9b\npop     rdi                                                            ; +0x1ef, 0x140361d9f\nretn                                                                   ; +0x1f0, 0x140361da0", "xrefs": ["GroupCommandObject2::GroupCommandObject2 @ 0x140361b98", "GJEffectManager::createFollowCommand @ 0x140366e09", "GJEffectManager::createPlayerFollowCommand @ 0x140366f17", "GJEffectManager::resetTempGroupCommands @ 0x140369a55", "<???> @ 0x1409213bc"], "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"}