{"type": "func", "start": 5371185888, "end": 5371186151, "name": "GJEffectManager::createFollowCommand", "pseudocode": "// \n// GJEffectManager::createFollowCommand from 0x14025cae0 to 0x14025cbe7 (263 bytes)\n// \n// 2 xrefs:\n// > EffectGameObject::triggerObject @ 0x1404a66b4\n// > <???> @ 0x1406cfe58\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\nvoid GJEffectManager::createFollowCommand(\n        GJEffectManager *a1,\n        float a2,\n        float a3,\n        float a4,\n        int a5,\n        int a6,\n        int a7,\n        int a8)\n{\n  std::_Vector_val<std::_Simple_types<GroupCommandObject2>>::pointer v10; // rbx\n  double v11; // xmm2_8\n\n  if ( a1->m_unkVector560._Mypair._Myval2._Mylast == a1->m_unkVector560._Mypair._Myval2._Myend )\n  {\n    sub_14026B310(&a1->m_unkVector560);\n  }\n  else\n  {\n    GroupCommandObject2::GroupCommandObject2(a1->m_unkVector560._Mypair._Myval2._Mylast);\n    ++a1->m_unkVector560._Mypair._Myval2._Mylast;\n  }\n  v10 = a1->m_unkVector560._Mypair._Myval2._Mylast - 1;\n  GroupCommandObject2::reset(v10);\n  v10->m_targetGroupID = a5;\n  v10->m_centerGroupID = a6;\n  v10->m_triggerUniqueID = a7;\n  v10->m_controlID = a8;\n  v10->m_commandType = 2;\n  v11 = a3;\n  v10->m_followXMod = a2;\n  v10->m_followYMod = a3;\n  v10->m_duration = a4;\n  if ( a2 == 0.0 && v11 == 0.0 )\n  {\n    v10->m_finished = 1;\n    v10->m_finishRelated = 1;\n  }\n}", "assembly": "; \n; GJEffectManager::createFollowCommand from 0x14025cae0 to 0x14025cbe7 (263 bytes)\n; \n; 2 xrefs:\n; > EffectGameObject::triggerObject @ 0x1404a66b4\n; > <???> @ 0x1406cfe58\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_0], rbx                                               ; +0x0, 0x14025cae0\npush    rdi                                                            ; +0x5, 0x14025cae5\nsub     rsp, 50h                                                       ; +0x6, 0x14025cae6\nmov     rdx, [rcx+610h]                                                ; +0xa, 0x14025caea\nmov     rdi, rcx                                                       ; +0x11, 0x14025caf1\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x14, 0x14025caf4\nmovaps  xmm6, xmm3                                                     ; +0x19, 0x14025caf9\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0x1c, 0x14025cafc\nmovaps  xmm7, xmm2                                                     ; +0x21, 0x14025cb01\nmovaps  [rsp+58h+var_38], xmm8                                         ; +0x24, 0x14025cb04\nmovaps  xmm8, xmm1                                                     ; +0x2a, 0x14025cb0a\ncmp     rdx, [rcx+618h]                                                ; +0x2e, 0x14025cb0e\njz      short loc_14025CB2C                                            ; +0x35, 0x14025cb15\nmov     rcx, rdx                                                       ; +0x37, 0x14025cb17\ncall    GroupCommandObject2__GroupCommandObject2                       ; +0x3a, 0x14025cb1a\nadd     qword ptr [rdi+610h], 208h                                     ; +0x3f, 0x14025cb1f\njmp     short loc_14025CB38                                            ; +0x4a, 0x14025cb2a\nadd     rcx, 608h                                                      ; +0x4c, 0x14025cb2c\ncall    sub_14026B310                                                  ; +0x53, 0x14025cb33\nmov     rbx, [rdi+610h]                                                ; +0x58, 0x14025cb38\nsub     rbx, 208h                                                      ; +0x5f, 0x14025cb3f\nmov     rcx, rbx                                                       ; +0x66, 0x14025cb46\ncall    GroupCommandObject2__reset                                     ; +0x69, 0x14025cb49\nmov     eax, [rsp+58h+arg_20]                                          ; +0x6e, 0x14025cb4e\nxorps   xmm1, xmm1                                                     ; +0x75, 0x14025cb55\nmov     [rbx+28h], eax                                                 ; +0x78, 0x14025cb58\nxorps   xmm2, xmm2                                                     ; +0x7b, 0x14025cb5b\nmov     eax, [rsp+58h+arg_28]                                          ; +0x7e, 0x14025cb5e\nxorps   xmm0, xmm0                                                     ; +0x85, 0x14025cb65\ncvtss2sd xmm1, xmm8                                                    ; +0x88, 0x14025cb68\nmov     [rbx+2Ch], eax                                                 ; +0x8d, 0x14025cb6d\nmov     eax, [rsp+58h+arg_30]                                          ; +0x90, 0x14025cb70\nmov     [rbx+158h], eax                                                ; +0x97, 0x14025cb77\nmov     eax, [rsp+58h+arg_38]                                          ; +0x9d, 0x14025cb7d\nxorps   xmm3, xmm3                                                     ; +0xa4, 0x14025cb84\nmov     [rbx+15Ch], eax                                                ; +0xa7, 0x14025cb87\nucomisd xmm1, xmm3                                                     ; +0xad, 0x14025cb8d\nmov     dword ptr [rbx+0D0h], 2                                        ; +0xb1, 0x14025cb91\ncvtss2sd xmm2, xmm7                                                    ; +0xbb, 0x14025cb9b\ncvtss2sd xmm0, xmm6                                                    ; +0xbf, 0x14025cb9f\nmovsd   qword ptr [rbx+0C0h], xmm1                                     ; +0xc3, 0x14025cba3\nmovsd   qword ptr [rbx+0C8h], xmm2                                     ; +0xcb, 0x14025cbab\nmovsd   qword ptr [rbx+18h], xmm0                                      ; +0xd3, 0x14025cbb3\njp      short loc_14025CBCC                                            ; +0xd8, 0x14025cbb8\njnz     short loc_14025CBCC                                            ; +0xda, 0x14025cbba\nucomisd xmm2, xmm3                                                     ; +0xdc, 0x14025cbbc\njp      short loc_14025CBCC                                            ; +0xe0, 0x14025cbc0\njnz     short loc_14025CBCC                                            ; +0xe2, 0x14025cbc2\nmov     byte ptr [rbx+70h], 1                                          ; +0xe4, 0x14025cbc4\nmov     byte ptr [rbx+72h], 1                                          ; +0xe8, 0x14025cbc8\nmov     rbx, [rsp+58h+arg_0]                                           ; +0xec, 0x14025cbcc\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0xf1, 0x14025cbd1\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0xf6, 0x14025cbd6\nmovaps  xmm8, [rsp+58h+var_38]                                         ; +0xfb, 0x14025cbdb\nadd     rsp, 50h                                                       ; +0x101, 0x14025cbe1\npop     rdi                                                            ; +0x105, 0x14025cbe5\nretn                                                                   ; +0x106, 0x14025cbe6", "xrefs": ["EffectGameObject::triggerObject @ 0x1404a66b4", "<???> @ 0x1406cfe58"], "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"}