{"type": "func", "start": 4300133520, "end": 4300133605, "name": "GroupCommandObject2::runPlayerFollowCommand", "pseudocode": "// \n// GroupCommandObject2::runPlayerFollowCommand from 0x1004ed490 to 0x1004ed4e5 (85 bytes)\n// \n// 1 xrefs:\n// > GJEffectManager::createPlayerFollowCommand @ 0x1002e0e6e\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 __fastcall GroupCommandObject2::runPlayerFollowCommand(\n        GroupCommandObject2 *a1,\n        double a2,\n        double a3,\n        int a4,\n        double a5,\n        double a6)\n{\n  double v6; // xmm4_8\n\n  a1->m_commandType = 3;\n  v6 = fmax(fmin(500.0, a2), 0.0);\n  a1->m_followYSpeed = v6;\n  a1->m_followYDelay = a3;\n  a1->m_followYOffset = a4;\n  a1->m_followYMaxSpeed = a5;\n  a1->m_duration = a6;\n  if ( v6 <= 0.0 )\n  {\n    a1->m_finished = 1;\n    a1->m_finishRelated = 1;\n  }\n}", "assembly": "; \n; GroupCommandObject2::runPlayerFollowCommand from 0x1004ed490 to 0x1004ed4e5 (85 bytes)\n; \n; 1 xrefs:\n; > GJEffectManager::createPlayerFollowCommand @ 0x1002e0e6e\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, 0x1004ed490\nmov     rbp, rsp                                                       ; +0x1, 0x1004ed491\nmov     dword ptr [rdi+0D0h], 3                                        ; +0x4, 0x1004ed494\nmovsd   xmm4, cs:qword_10081DD18                                       ; +0xe, 0x1004ed49e\nminsd   xmm4, xmm0                                                     ; +0x16, 0x1004ed4a6\nxorpd   xmm0, xmm0                                                     ; +0x1a, 0x1004ed4aa\nmaxsd   xmm4, xmm0                                                     ; +0x1e, 0x1004ed4ae\nmovsd   qword ptr [rdi+138h], xmm4                                     ; +0x22, 0x1004ed4b2\nmovsd   qword ptr [rdi+140h], xmm1                                     ; +0x2a, 0x1004ed4ba\nmov     [rdi+148h], esi                                                ; +0x32, 0x1004ed4c2\nmovsd   qword ptr [rdi+150h], xmm2                                     ; +0x38, 0x1004ed4c8\nmovsd   qword ptr [rdi+18h], xmm3                                      ; +0x40, 0x1004ed4d0\nucomisd xmm0, xmm4                                                     ; +0x45, 0x1004ed4d5\njb      short loc_1004ED4E3                                            ; +0x49, 0x1004ed4d9\nmov     byte ptr [rdi+70h], 1                                          ; +0x4b, 0x1004ed4db\nmov     byte ptr [rdi+72h], 1                                          ; +0x4f, 0x1004ed4df\npop     rbp                                                            ; +0x53, 0x1004ed4e3\nretn                                                                   ; +0x54, 0x1004ed4e4", "xrefs": ["GJEffectManager::createPlayerFollowCommand @ 0x1002e0e6e"], "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"}