{"type": "func", "start": 9120108, "end": 9120304, "name": "GJEffectManager::createFollowCommand", "pseudocode": "// \n// GJEffectManager::createFollowCommand from 0x8b296c to 0x8b2a30 (196 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::triggerFollowCommand @ 0x661364\n// > EffectGameObject::triggerObject @ 0x76fbf0\n// > <???> @ 0x87b70\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 GJEffectManager::createFollowCommand(\n        GJEffectManager *a1,\n        float a2,\n        float a3,\n        float a4,\n        int a5,\n        int a6,\n        int a7,\n        int a8)\n{\n  std::vector<GroupCommandObject2> *p_m_unkVector560; // x20\n  GroupCommandObject2 *m_finish; // x0\n  GroupCommandObject2 *v18; // x19\n\n  p_m_unkVector560 = &a1->m_unkVector560;\n  m_finish = a1->m_unkVector560.m_finish;\n  if ( m_finish == p_m_unkVector560->m_reserveEnd )\n  {\n    std::vector<GroupCommandObject2>::_M_emplace_back_aux<>((char **)p_m_unkVector560);\n    v18 = a1->m_unkVector560.m_finish;\n  }\n  else\n  {\n    if ( m_finish )\n    {\n      GroupCommandObject2::GroupCommandObject2(m_finish);\n      m_finish = p_m_unkVector560->m_finish;\n    }\n    v18 = m_finish + 1;\n    p_m_unkVector560->m_finish = m_finish + 1;\n  }\n  GroupCommandObject2::reset(v18 - 1);\n  v18[-1].m_targetGroupID = a5;\n  v18[-1].m_centerGroupID = a6;\n  v18[-1].m_triggerUniqueID = a7;\n  v18[-1].m_controlID = a8;\n  GroupCommandObject2::runFollowCommand(v18 - 1, a2, a3, a4);\n}", "assembly": "; \n; GJEffectManager::createFollowCommand from 0x8b296c to 0x8b2a30 (196 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::triggerFollowCommand @ 0x661364\n; > EffectGameObject::triggerObject @ 0x76fbf0\n; > <???> @ 0x87b70\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\nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x8b296c\nMOV             X29, SP                                                ; +0x4, 0x8b2970\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x8b2974\nSTP             D8, D9, [SP,#0x60+var_20]                              ; +0xc, 0x8b2978\nADD             X20, X0, #0x5D0                                        ; +0x10, 0x8b297c\nMOV             X19, X0                                                ; +0x14, 0x8b2980\nSTP             X23, X24, [SP,#0x60+var_30]                            ; +0x18, 0x8b2984\nMOV             W24, W1                                                ; +0x1c, 0x8b2988\nMOV             W23, W2                                                ; +0x20, 0x8b298c\nLDR             X0, [X20,#8]; this                                     ; +0x24, 0x8b2990\nLDR             X1, [X20,#0x10]                                        ; +0x28, 0x8b2994\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x2c, 0x8b2998\nCMP             X0, X1                                                 ; +0x30, 0x8b299c\nMOV             W22, W3                                                ; +0x34, 0x8b29a0\nSTR             D10, [SP,#0x60+var_10]                                 ; +0x38, 0x8b29a4\nMOV             W21, W4                                                ; +0x3c, 0x8b29a8\nFMOV            S10, S0                                                ; +0x40, 0x8b29ac\nFMOV            S9, S1                                                 ; +0x44, 0x8b29b0\nFMOV            S8, S2                                                 ; +0x48, 0x8b29b4\nB.EQ            loc_8B2A20                                             ; +0x4c, 0x8b29b8\nCBZ             X0, loc_8B29C8                                         ; +0x50, 0x8b29bc\nBL              _ZN19GroupCommandObject2C2Ev; GroupCommandObject2::GroupCommandObject2(void) ; +0x54, 0x8b29c0\nLDR             X0, [X20,#8]                                           ; +0x58, 0x8b29c4\nADD             X19, X0, #0x208                                        ; +0x5c, 0x8b29c8\nSTR             X19, [X20,#8]                                          ; +0x60, 0x8b29cc\nSUB             X20, X19, #0x208                                       ; +0x64, 0x8b29d0\nMOV             X0, X20; this                                          ; +0x68, 0x8b29d4\nBL              _ZN19GroupCommandObject25resetEv; GroupCommandObject2::reset(void) ; +0x6c, 0x8b29d8\nSUB             X2, X19, #0x1E0                                        ; +0x70, 0x8b29dc\nSUB             X1, X19, #0x1DC                                        ; +0x74, 0x8b29e0\nFCVT            D0, S10; double                                        ; +0x78, 0x8b29e4\nMOV             X0, X20; this                                          ; +0x7c, 0x8b29e8\nLDR             D10, [SP,#0x60+var_10]                                 ; +0x80, 0x8b29ec\nSTR             W24, [X2]                                              ; +0x84, 0x8b29f0\nSTR             W23, [X1]                                              ; +0x88, 0x8b29f4\nSTUR            W22, [X19,#-0xB0]                                      ; +0x8c, 0x8b29f8\nSTUR            W21, [X19,#-0xAC]                                      ; +0x90, 0x8b29fc\nFCVT            D1, S9; double                                         ; +0x94, 0x8b2a00\nFCVT            D2, S8; double                                         ; +0x98, 0x8b2a04\nLDP             D8, D9, [SP,#0x60+var_20]                              ; +0x9c, 0x8b2a08\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0xa0, 0x8b2a0c\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0xa4, 0x8b2a10\nLDP             X23, X24, [SP,#0x60+var_30]                            ; +0xa8, 0x8b2a14\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0xac, 0x8b2a18\nB               _ZN19GroupCommandObject216runFollowCommandEddd; GroupCommandObject2::runFollowCommand(double,double,double) ; +0xb0, 0x8b2a1c\nMOV             X0, X20                                                ; +0xb4, 0x8b2a20\nBL              _ZNSt6vectorI19GroupCommandObject2SaIS0_EE19_M_emplace_back_auxIJEEEvDpOT_; std::vector<GroupCommandObject2>::_M_emplace_back_aux<>() ; +0xb8, 0x8b2a24\nLDR             X19, [X19,#0x5D8]                                      ; +0xbc, 0x8b2a28\nB               loc_8B29D0                                             ; +0xc0, 0x8b2a2c", "xrefs": ["LevelEditorLayer::triggerFollowCommand @ 0x661364", "EffectGameObject::triggerObject @ 0x76fbf0", "<???> @ 0x87b70"], "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"}