{"type": "func", "start": 4297898048, "end": 4297898259, "name": "GJEffectManager::createPlayerFollowCommand", "pseudocode": "// \n// GJEffectManager::createPlayerFollowCommand from 0x1002cb840 to 0x1002cb913 (211 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::triggerPlayerFollowCommand @ 0x1000c54ee\n// > EffectGameObject::triggerObject @ 0x10019a6dd\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 12:28:10 +0000\n// \n\n__int64 __fastcall GJEffectManager::createPlayerFollowCommand(\n        __int64 a1,\n        unsigned int a2,\n        int a3,\n        int a4,\n        int a5,\n        float a6,\n        float a7,\n        float a8,\n        float a9)\n{\n  unsigned __int64 v12; // r13\n  __int64 v13; // r13\n\n  v12 = *(_QWORD *)(a1 + 1240);\n  if ( v12 >= *(_QWORD *)(a1 + 1248) )\n  {\n    v13 = sub_1002DB3D0(a1 + 1232);\n  }\n  else\n  {\n    sub_1004E7A00(*(_QWORD *)(a1 + 1240));\n    v13 = v12 + 520;\n    *(_QWORD *)(a1 + 1240) = v13;\n  }\n  *(_QWORD *)(a1 + 1240) = v13;\n  GroupCommandObject2::reset(v13 - 520);\n  *(_DWORD *)(v13 - 480) = a3;\n  *(_DWORD *)(v13 - 176) = a4;\n  *(_DWORD *)(v13 - 172) = a5;\n  return GroupCommandObject2::runPlayerFollowCommand(v13 - 520, a2, a6, a7, a8, a9);\n}", "assembly": "; \n; GJEffectManager::createPlayerFollowCommand from 0x1002cb840 to 0x1002cb913 (211 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::triggerPlayerFollowCommand @ 0x1000c54ee\n; > EffectGameObject::triggerObject @ 0x10019a6dd\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 12:28:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002cb840\nmov     rbp, rsp                                                       ; +0x1, 0x1002cb841\npush    r15                                                            ; +0x4, 0x1002cb844\npush    r14                                                            ; +0x6, 0x1002cb846\npush    r13                                                            ; +0x8, 0x1002cb848\npush    r12                                                            ; +0xa, 0x1002cb84a\npush    rbx                                                            ; +0xc, 0x1002cb84c\nsub     rsp, 18h                                                       ; +0xd, 0x1002cb84d\nmov     r14d, r8d                                                      ; +0x11, 0x1002cb851\nmov     r15d, ecx                                                      ; +0x14, 0x1002cb854\nmov     r12d, edx                                                      ; +0x17, 0x1002cb857\nmovss   [rbp+var_38], xmm3                                             ; +0x1a, 0x1002cb85a\nmovss   [rbp+var_34], xmm2                                             ; +0x1f, 0x1002cb85f\nmov     [rbp+var_3C], esi                                              ; +0x24, 0x1002cb864\nmovss   [rbp+var_30], xmm1                                             ; +0x27, 0x1002cb867\nmovss   [rbp+var_2C], xmm0                                             ; +0x2c, 0x1002cb86c\nmov     rbx, rdi                                                       ; +0x31, 0x1002cb871\nmov     r13, [rdi+4D8h]                                                ; +0x34, 0x1002cb874\ncmp     r13, [rdi+4E0h]                                                ; +0x3b, 0x1002cb87b\njnb     short loc_1002CB89C                                            ; +0x42, 0x1002cb882\nmov     rdi, r13                                                       ; +0x44, 0x1002cb884\ncall    sub_1004E7A00                                                  ; +0x47, 0x1002cb887\nadd     r13, 208h                                                      ; +0x4c, 0x1002cb88c\nmov     [rbx+4D8h], r13                                                ; +0x53, 0x1002cb893\njmp     short loc_1002CB8AB                                            ; +0x5a, 0x1002cb89a\nlea     rdi, [rbx+4D0h]                                                ; +0x5c, 0x1002cb89c\ncall    sub_1002DB3D0                                                  ; +0x63, 0x1002cb8a3\nmov     r13, rax                                                       ; +0x68, 0x1002cb8a8\nmov     [rbx+4D8h], r13                                                ; +0x6b, 0x1002cb8ab\nlea     rbx, [r13-208h]                                                ; +0x72, 0x1002cb8b2\nmov     rdi, rbx                                                       ; +0x79, 0x1002cb8b9\ncall    GroupCommandObject2__reset                                     ; +0x7c, 0x1002cb8bc\nmov     [r13-1E0h], r12d                                               ; +0x81, 0x1002cb8c1\nmov     [r13-0B0h], r15d                                               ; +0x88, 0x1002cb8c8\nmov     [r13-0ACh], r14d                                               ; +0x8f, 0x1002cb8cf\nmovss   xmm0, [rbp+var_2C]                                             ; +0x96, 0x1002cb8d6\ncvtss2sd xmm0, xmm0                                                    ; +0x9b, 0x1002cb8db\nmovss   xmm1, [rbp+var_30]                                             ; +0x9f, 0x1002cb8df\ncvtss2sd xmm1, xmm1                                                    ; +0xa4, 0x1002cb8e4\nmovss   xmm2, [rbp+var_34]                                             ; +0xa8, 0x1002cb8e8\ncvtss2sd xmm2, xmm2                                                    ; +0xad, 0x1002cb8ed\nmovss   xmm3, [rbp+var_38]                                             ; +0xb1, 0x1002cb8f1\ncvtss2sd xmm3, xmm3                                                    ; +0xb6, 0x1002cb8f6\nmov     rdi, rbx                                                       ; +0xba, 0x1002cb8fa\nmov     esi, [rbp+var_3C]                                              ; +0xbd, 0x1002cb8fd\nadd     rsp, 18h                                                       ; +0xc0, 0x1002cb900\npop     rbx                                                            ; +0xc4, 0x1002cb904\npop     r12                                                            ; +0xc5, 0x1002cb905\npop     r13                                                            ; +0xc7, 0x1002cb907\npop     r14                                                            ; +0xc9, 0x1002cb909\npop     r15                                                            ; +0xcb, 0x1002cb90b\npop     rbp                                                            ; +0xcd, 0x1002cb90d\njmp     GroupCommandObject2__runPlayerFollowCommand                    ; +0xce, 0x1002cb90e", "xrefs": ["LevelEditorLayer::triggerPlayerFollowCommand @ 0x1000c54ee", "EffectGameObject::triggerObject @ 0x10019a6dd"], "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"}