{"type": "func", "start": 4297985440, "end": 4297985651, "name": "GJEffectManager::createPlayerFollowCommand", "pseudocode": "// \n// GJEffectManager::createPlayerFollowCommand from 0x1002e0da0 to 0x1002e0e73 (211 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::triggerPlayerFollowCommand @ 0x1000f1bfe\n// > EffectGameObject::triggerObject @ 0x1001ba00b\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::createPlayerFollowCommand(\n        GJEffectManager *a1,\n        float a2,\n        float a3,\n        int a4,\n        float a5,\n        float a6,\n        int a7,\n        int a8,\n        int a9)\n{\n  GroupCommandObject2 *end; // r13\n  GroupCommandObject2 *v13; // r13\n\n  end = a1->m_unkVector560.__end_;\n  if ( end >= a1->m_unkVector560.__end_cap_.__value_ )\n  {\n    v13 = (GroupCommandObject2 *)sub_1002F0910(&a1->m_unkVector560, *(double *)&a2, *(double *)&a3, *(double *)&a5);\n  }\n  else\n  {\n    sub_1004ECE70(a1->m_unkVector560.__end_, *(double *)&a2, *(double *)&a3, *(double *)&a5);\n    v13 = end + 1;\n    a1->m_unkVector560.__end_ = v13;\n  }\n  a1->m_unkVector560.__end_ = v13;\n  GroupCommandObject2::reset(v13 - 1);\n  v13[-1].m_targetGroupID = a7;\n  v13[-1].m_triggerUniqueID = a8;\n  v13[-1].m_controlID = a9;\n  GroupCommandObject2::runPlayerFollowCommand(v13 - 1, a2, a3, a4, a5, a6);\n}", "assembly": "; \n; GJEffectManager::createPlayerFollowCommand from 0x1002e0da0 to 0x1002e0e73 (211 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::triggerPlayerFollowCommand @ 0x1000f1bfe\n; > EffectGameObject::triggerObject @ 0x1001ba00b\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, 0x1002e0da0\nmov     rbp, rsp                                                       ; +0x1, 0x1002e0da1\npush    r15                                                            ; +0x4, 0x1002e0da4\npush    r14                                                            ; +0x6, 0x1002e0da6\npush    r13                                                            ; +0x8, 0x1002e0da8\npush    r12                                                            ; +0xa, 0x1002e0daa\npush    rbx                                                            ; +0xc, 0x1002e0dac\nsub     rsp, 18h                                                       ; +0xd, 0x1002e0dad\nmov     r14d, r8d                                                      ; +0x11, 0x1002e0db1\nmov     r15d, ecx                                                      ; +0x14, 0x1002e0db4\nmov     r12d, edx                                                      ; +0x17, 0x1002e0db7\nmovss   [rbp+var_38], xmm3                                             ; +0x1a, 0x1002e0dba\nmovss   [rbp+var_34], xmm2                                             ; +0x1f, 0x1002e0dbf\nmov     [rbp+var_3C], esi                                              ; +0x24, 0x1002e0dc4\nmovss   [rbp+var_30], xmm1                                             ; +0x27, 0x1002e0dc7\nmovss   [rbp+var_2C], xmm0                                             ; +0x2c, 0x1002e0dcc\nmov     rbx, rdi                                                       ; +0x31, 0x1002e0dd1\nmov     r13, [rdi+4D0h]                                                ; +0x34, 0x1002e0dd4\ncmp     r13, [rdi+4D8h]                                                ; +0x3b, 0x1002e0ddb\njnb     short loc_1002E0DFC                                            ; +0x42, 0x1002e0de2\nmov     rdi, r13                                                       ; +0x44, 0x1002e0de4\ncall    sub_1004ECE70                                                  ; +0x47, 0x1002e0de7\nadd     r13, 208h                                                      ; +0x4c, 0x1002e0dec\nmov     [rbx+4D0h], r13                                                ; +0x53, 0x1002e0df3\njmp     short loc_1002E0E0B                                            ; +0x5a, 0x1002e0dfa\nlea     rdi, [rbx+4C8h]                                                ; +0x5c, 0x1002e0dfc\ncall    sub_1002F0910                                                  ; +0x63, 0x1002e0e03\nmov     r13, rax                                                       ; +0x68, 0x1002e0e08\nmov     [rbx+4D0h], r13                                                ; +0x6b, 0x1002e0e0b\nlea     rbx, [r13-208h]                                                ; +0x72, 0x1002e0e12\nmov     rdi, rbx                                                       ; +0x79, 0x1002e0e19\ncall    GroupCommandObject2__reset                                     ; +0x7c, 0x1002e0e1c\nmov     [r13-1E0h], r12d                                               ; +0x81, 0x1002e0e21\nmov     [r13-0B0h], r15d                                               ; +0x88, 0x1002e0e28\nmov     [r13-0ACh], r14d                                               ; +0x8f, 0x1002e0e2f\nmovss   xmm0, [rbp+var_2C]                                             ; +0x96, 0x1002e0e36\ncvtss2sd xmm0, xmm0                                                    ; +0x9b, 0x1002e0e3b\nmovss   xmm1, [rbp+var_30]                                             ; +0x9f, 0x1002e0e3f\ncvtss2sd xmm1, xmm1                                                    ; +0xa4, 0x1002e0e44\nmovss   xmm2, [rbp+var_34]                                             ; +0xa8, 0x1002e0e48\ncvtss2sd xmm2, xmm2                                                    ; +0xad, 0x1002e0e4d\nmovss   xmm3, [rbp+var_38]                                             ; +0xb1, 0x1002e0e51\ncvtss2sd xmm3, xmm3                                                    ; +0xb6, 0x1002e0e56\nmov     rdi, rbx                                                       ; +0xba, 0x1002e0e5a\nmov     esi, [rbp+var_3C]                                              ; +0xbd, 0x1002e0e5d\nadd     rsp, 18h                                                       ; +0xc0, 0x1002e0e60\npop     rbx                                                            ; +0xc4, 0x1002e0e64\npop     r12                                                            ; +0xc5, 0x1002e0e65\npop     r13                                                            ; +0xc7, 0x1002e0e67\npop     r14                                                            ; +0xc9, 0x1002e0e69\npop     r15                                                            ; +0xcb, 0x1002e0e6b\npop     rbp                                                            ; +0xcd, 0x1002e0e6d\njmp     GroupCommandObject2__runPlayerFollowCommand                    ; +0xce, 0x1002e0e6e", "xrefs": ["LevelEditorLayer::triggerPlayerFollowCommand @ 0x1000f1bfe", "EffectGameObject::triggerObject @ 0x1001ba00b"], "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"}