{"type": "func", "start": 4295012076, "end": 4295012148, "name": "GroupCommandObject2::runPlayerFollowCommand", "pseudocode": "// \n// GroupCommandObject2::runPlayerFollowCommand from 0x10000aeec to 0x10000af34 (72 bytes)\n// \n// 1 xrefs:\n// > GJEffectManager::createPlayerFollowCommand @ 0x100010a90\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; // d0\n\n  a1->m_commandType = 3;\n  if ( a2 > 500.0 )\n    a2 = 500.0;\n  v6 = fmax(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 0x10000aeec to 0x10000af34 (72 bytes)\n; \n; 1 xrefs:\n; > GJEffectManager::createPlayerFollowCommand @ 0x100010a90\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\nMOV             W8, #3                                                 ; +0x0, 0x10000aeec\nSTR             W8, [X0,#0xD0]                                         ; +0x4, 0x10000aef0\nADRP            X8, #qword_100635390@PAGE                              ; +0x8, 0x10000aef4\nLDR             D4, [X8,#qword_100635390@PAGEOFF]                      ; +0xc, 0x10000aef8\nFCMP            D0, D4                                                 ; +0x10, 0x10000aefc\nFCSEL           D0, D4, D0, GT                                         ; +0x14, 0x10000af00\nFMOV            D4, XZR                                                ; +0x18, 0x10000af04\nFMAXNM          D0, D0, D4                                             ; +0x1c, 0x10000af08\nSTP             D0, D1, [X0,#0x138]                                    ; +0x20, 0x10000af0c\nSTR             W1, [X0,#0x148]                                        ; +0x24, 0x10000af10\nSTR             D2, [X0,#0x150]                                        ; +0x28, 0x10000af14\nSTR             D3, [X0,#0x18]                                         ; +0x2c, 0x10000af18\nFCMP            D0, #0.0                                               ; +0x30, 0x10000af1c\nB.HI            locret_10000AF30                                       ; +0x34, 0x10000af20\nMOV             W8, #1                                                 ; +0x38, 0x10000af24\nSTRB            W8, [X0,#0x70]                                         ; +0x3c, 0x10000af28\nSTRB            W8, [X0,#0x72]                                         ; +0x40, 0x10000af2c\nRET                                                                    ; +0x44, 0x10000af30", "xrefs": ["GJEffectManager::createPlayerFollowCommand @ 0x100010a90"], "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"}