{"type": "func", "start": 4297985216, "end": 4297985421, "name": "GJEffectManager::createFollowCommand", "pseudocode": "// \n// GJEffectManager::createFollowCommand from 0x1002e0cc0 to 0x1002e0d8d (205 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::triggerFollowCommand @ 0x1000f1ba6\n// > EffectGameObject::triggerObject @ 0x1001b9b5a\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// local variable allocation has failed, the output may be wrong!\nvoid __fastcall 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  GroupCommandObject2 *end; // r13\n  GroupCommandObject2 *v11; // r13\n\n  end = a1->m_unkVector560.__end_;\n  if ( end >= a1->m_unkVector560.__end_cap_.__value_ )\n  {\n    v11 = (GroupCommandObject2 *)sub_1002F0910(&a1->m_unkVector560, *(double *)&a2, *(double *)&a3, *(double *)&a4);\n  }\n  else\n  {\n    sub_1004ECE70(a1->m_unkVector560.__end_, *(double *)&a2, *(double *)&a3, *(double *)&a4);\n    v11 = end + 1;\n    a1->m_unkVector560.__end_ = v11;\n  }\n  a1->m_unkVector560.__end_ = v11;\n  GroupCommandObject2::reset(v11 - 1);\n  v11[-1].m_targetGroupID = a5;\n  v11[-1].m_centerGroupID = a6;\n  v11[-1].m_triggerUniqueID = a7;\n  v11[-1].m_controlID = a8;\n  GroupCommandObject2::runFollowCommand(v11 - 1, a2, a3, a4);\n}", "assembly": "; \n; GJEffectManager::createFollowCommand from 0x1002e0cc0 to 0x1002e0d8d (205 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::triggerFollowCommand @ 0x1000f1ba6\n; > EffectGameObject::triggerObject @ 0x1001b9b5a\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\npush    rbp                                                            ; +0x0, 0x1002e0cc0\nmov     rbp, rsp                                                       ; +0x1, 0x1002e0cc1\npush    r15                                                            ; +0x4, 0x1002e0cc4\npush    r14                                                            ; +0x6, 0x1002e0cc6\npush    r13                                                            ; +0x8, 0x1002e0cc8\npush    r12                                                            ; +0xa, 0x1002e0cca\npush    rbx                                                            ; +0xc, 0x1002e0ccc\nsub     rsp, 18h                                                       ; +0xd, 0x1002e0ccd\nmov     [rbp+var_38], r8d                                              ; +0x11, 0x1002e0cd1\nmov     r14d, ecx                                                      ; +0x15, 0x1002e0cd5\nmov     r15d, edx                                                      ; +0x18, 0x1002e0cd8\nmov     r12d, esi                                                      ; +0x1b, 0x1002e0cdb\nmovss   [rbp+var_34], xmm2                                             ; +0x1e, 0x1002e0cde\nmovss   [rbp+var_30], xmm1                                             ; +0x23, 0x1002e0ce3\nmovss   [rbp+var_2C], xmm0                                             ; +0x28, 0x1002e0ce8\nmov     rbx, rdi                                                       ; +0x2d, 0x1002e0ced\nmov     r13, [rdi+4D0h]                                                ; +0x30, 0x1002e0cf0\ncmp     r13, [rdi+4D8h]                                                ; +0x37, 0x1002e0cf7\njnb     short loc_1002E0D18                                            ; +0x3e, 0x1002e0cfe\nmov     rdi, r13                                                       ; +0x40, 0x1002e0d00\ncall    sub_1004ECE70                                                  ; +0x43, 0x1002e0d03\nadd     r13, 208h                                                      ; +0x48, 0x1002e0d08\nmov     [rbx+4D0h], r13                                                ; +0x4f, 0x1002e0d0f\njmp     short loc_1002E0D27                                            ; +0x56, 0x1002e0d16\nlea     rdi, [rbx+4C8h]                                                ; +0x58, 0x1002e0d18\ncall    sub_1002F0910                                                  ; +0x5f, 0x1002e0d1f\nmov     r13, rax                                                       ; +0x64, 0x1002e0d24\nmov     [rbx+4D0h], r13                                                ; +0x67, 0x1002e0d27\nlea     rbx, [r13-208h]                                                ; +0x6e, 0x1002e0d2e\nmov     rdi, rbx                                                       ; +0x75, 0x1002e0d35\ncall    GroupCommandObject2__reset                                     ; +0x78, 0x1002e0d38\nmov     [r13-1E0h], r12d                                               ; +0x7d, 0x1002e0d3d\nmov     [r13-1DCh], r15d                                               ; +0x84, 0x1002e0d44\nmov     [r13-0B0h], r14d                                               ; +0x8b, 0x1002e0d4b\nmov     eax, [rbp+var_38]                                              ; +0x92, 0x1002e0d52\nmov     [r13-0ACh], eax                                                ; +0x95, 0x1002e0d55\nmovss   xmm0, [rbp+var_2C]                                             ; +0x9c, 0x1002e0d5c\ncvtss2sd xmm0, xmm0                                                    ; +0xa1, 0x1002e0d61\nmovss   xmm1, [rbp+var_30]                                             ; +0xa5, 0x1002e0d65\ncvtss2sd xmm1, xmm1                                                    ; +0xaa, 0x1002e0d6a\nmovss   xmm2, [rbp+var_34]                                             ; +0xae, 0x1002e0d6e\ncvtss2sd xmm2, xmm2                                                    ; +0xb3, 0x1002e0d73\nmov     rdi, rbx                                                       ; +0xb7, 0x1002e0d77\nadd     rsp, 18h                                                       ; +0xba, 0x1002e0d7a\npop     rbx                                                            ; +0xbe, 0x1002e0d7e\npop     r12                                                            ; +0xbf, 0x1002e0d7f\npop     r13                                                            ; +0xc1, 0x1002e0d81\npop     r14                                                            ; +0xc3, 0x1002e0d83\npop     r15                                                            ; +0xc5, 0x1002e0d85\npop     rbp                                                            ; +0xc7, 0x1002e0d87\njmp     GroupCommandObject2__runFollowCommand                          ; +0xc8, 0x1002e0d88", "xrefs": ["LevelEditorLayer::triggerFollowCommand @ 0x1000f1ba6", "EffectGameObject::triggerObject @ 0x1001b9b5a"], "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"}