{"type": "func", "start": 4297897824, "end": 4297898029, "name": "GJEffectManager::createFollowCommand", "pseudocode": "// \n// GJEffectManager::createFollowCommand from 0x1002cb760 to 0x1002cb82d (205 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::triggerFollowCommand @ 0x1000c5496\n// > EffectGameObject::triggerObject @ 0x10019a1ca\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::createFollowCommand(\n        __int64 a1,\n        int a2,\n        int a3,\n        int a4,\n        int a5,\n        float a6,\n        float a7,\n        float a8)\n{\n  unsigned __int64 v10; // r13\n  __int64 v11; // r13\n\n  v10 = *(_QWORD *)(a1 + 1240);\n  if ( v10 >= *(_QWORD *)(a1 + 1248) )\n  {\n    v11 = sub_1002DB3D0(a1 + 1232);\n  }\n  else\n  {\n    sub_1004E7A00(*(_QWORD *)(a1 + 1240));\n    v11 = v10 + 520;\n    *(_QWORD *)(a1 + 1240) = v11;\n  }\n  *(_QWORD *)(a1 + 1240) = v11;\n  GroupCommandObject2::reset(v11 - 520);\n  *(_DWORD *)(v11 - 480) = a2;\n  *(_DWORD *)(v11 - 476) = a3;\n  *(_DWORD *)(v11 - 176) = a4;\n  *(_DWORD *)(v11 - 172) = a5;\n  return GroupCommandObject2::runFollowCommand(v11 - 520, a6, a7, a8);\n}", "assembly": "; \n; GJEffectManager::createFollowCommand from 0x1002cb760 to 0x1002cb82d (205 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::triggerFollowCommand @ 0x1000c5496\n; > EffectGameObject::triggerObject @ 0x10019a1ca\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, 0x1002cb760\nmov     rbp, rsp                                                       ; +0x1, 0x1002cb761\npush    r15                                                            ; +0x4, 0x1002cb764\npush    r14                                                            ; +0x6, 0x1002cb766\npush    r13                                                            ; +0x8, 0x1002cb768\npush    r12                                                            ; +0xa, 0x1002cb76a\npush    rbx                                                            ; +0xc, 0x1002cb76c\nsub     rsp, 18h                                                       ; +0xd, 0x1002cb76d\nmov     [rbp+var_38], r8d                                              ; +0x11, 0x1002cb771\nmov     r14d, ecx                                                      ; +0x15, 0x1002cb775\nmov     r15d, edx                                                      ; +0x18, 0x1002cb778\nmov     r12d, esi                                                      ; +0x1b, 0x1002cb77b\nmovss   [rbp+var_34], xmm2                                             ; +0x1e, 0x1002cb77e\nmovss   [rbp+var_30], xmm1                                             ; +0x23, 0x1002cb783\nmovss   [rbp+var_2C], xmm0                                             ; +0x28, 0x1002cb788\nmov     rbx, rdi                                                       ; +0x2d, 0x1002cb78d\nmov     r13, [rdi+4D8h]                                                ; +0x30, 0x1002cb790\ncmp     r13, [rdi+4E0h]                                                ; +0x37, 0x1002cb797\njnb     short loc_1002CB7B8                                            ; +0x3e, 0x1002cb79e\nmov     rdi, r13                                                       ; +0x40, 0x1002cb7a0\ncall    sub_1004E7A00                                                  ; +0x43, 0x1002cb7a3\nadd     r13, 208h                                                      ; +0x48, 0x1002cb7a8\nmov     [rbx+4D8h], r13                                                ; +0x4f, 0x1002cb7af\njmp     short loc_1002CB7C7                                            ; +0x56, 0x1002cb7b6\nlea     rdi, [rbx+4D0h]                                                ; +0x58, 0x1002cb7b8\ncall    sub_1002DB3D0                                                  ; +0x5f, 0x1002cb7bf\nmov     r13, rax                                                       ; +0x64, 0x1002cb7c4\nmov     [rbx+4D8h], r13                                                ; +0x67, 0x1002cb7c7\nlea     rbx, [r13-208h]                                                ; +0x6e, 0x1002cb7ce\nmov     rdi, rbx                                                       ; +0x75, 0x1002cb7d5\ncall    GroupCommandObject2__reset                                     ; +0x78, 0x1002cb7d8\nmov     [r13-1E0h], r12d                                               ; +0x7d, 0x1002cb7dd\nmov     [r13-1DCh], r15d                                               ; +0x84, 0x1002cb7e4\nmov     [r13-0B0h], r14d                                               ; +0x8b, 0x1002cb7eb\nmov     eax, [rbp+var_38]                                              ; +0x92, 0x1002cb7f2\nmov     [r13-0ACh], eax                                                ; +0x95, 0x1002cb7f5\nmovss   xmm0, [rbp+var_2C]                                             ; +0x9c, 0x1002cb7fc\ncvtss2sd xmm0, xmm0                                                    ; +0xa1, 0x1002cb801\nmovss   xmm1, [rbp+var_30]                                             ; +0xa5, 0x1002cb805\ncvtss2sd xmm1, xmm1                                                    ; +0xaa, 0x1002cb80a\nmovss   xmm2, [rbp+var_34]                                             ; +0xae, 0x1002cb80e\ncvtss2sd xmm2, xmm2                                                    ; +0xb3, 0x1002cb813\nmov     rdi, rbx                                                       ; +0xb7, 0x1002cb817\nadd     rsp, 18h                                                       ; +0xba, 0x1002cb81a\npop     rbx                                                            ; +0xbe, 0x1002cb81e\npop     r12                                                            ; +0xbf, 0x1002cb81f\npop     r13                                                            ; +0xc1, 0x1002cb821\npop     r14                                                            ; +0xc3, 0x1002cb823\npop     r15                                                            ; +0xc5, 0x1002cb825\npop     rbp                                                            ; +0xc7, 0x1002cb827\njmp     GroupCommandObject2__runFollowCommand                          ; +0xc8, 0x1002cb828", "xrefs": ["LevelEditorLayer::triggerFollowCommand @ 0x1000c5496", "EffectGameObject::triggerObject @ 0x10019a1ca"], "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"}