{"type": "func", "start": 9032116, "end": 9032420, "name": "GJBaseGameLayer::processMoveActionsStep", "pseudocode": "// \n// GJBaseGameLayer::processMoveActionsStep from 0x89d1b4 to 0x89d2e4 (304 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::loadUpToPosition @ 0x89d590\n// > GJBaseGameLayer::update @ 0x89e008\n// > <???> @ 0x62a48\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 GJBaseGameLayer::processMoveActionsStep(GJBaseGameLayer *a1, float a2, bool a3)\n{\n  DynamicObjectAction *m_finish; // x21\n  DynamicObjectAction *m_start; // x19\n  bool v8; // zf\n  EffectGameObject *m_gameObject1; // x1\n  CCMoveCNode *MoveCommandNode; // x0\n  __int64 v11; // x21\n  int v12; // w19\n  GameObject *v13; // x0\n\n  m_finish = a1->m_gameState.m_dynamicMoveActions.m_finish;\n  m_start = a1->m_gameState.m_dynamicMoveActions.m_start;\n  a1->m_unked0 = 0;\n  v8 = m_finish == m_start;\n  a1->m_disabledObjectsCount = 0;\n  a1->m_unked8 = 0;\n  a1->m_areaObjectsCount = 0;\n  while ( !v8 )\n  {\n    while ( 1 )\n    {\n      m_gameObject1 = m_start->m_gameObject1;\n      ++m_start;\n      MoveCommandNode = GJEffectManager::tryGetMoveCommandNode(a1->m_effectManager, m_gameObject1->m_targetGroupID);\n      v8 = m_finish == m_start;\n      if ( !MoveCommandNode )\n        break;\n      MoveCommandNode->m_unk0d1 = 1;\n      if ( m_finish == m_start )\n        goto LABEL_5;\n    }\n  }\nLABEL_5:\n  GJBaseGameLayer::processDynamicObjectActions(a1, 1, a2);\n  GJBaseGameLayer::processTransformActions(a1, a3);\n  GJBaseGameLayer::processRotationActions(a1);\n  GJBaseGameLayer::processDynamicObjectActions(a1, 0, a2);\n  GJBaseGameLayer::processMoveActions(a1);\n  GJBaseGameLayer::processPlayerFollowActions(a1, a2);\n  GJBaseGameLayer::processAdvancedFollowActions(a1, a2);\n  GJBaseGameLayer::processFollowActions(a1);\n  GJBaseGameLayer::processAreaActions(a1, a2, a3);\n  if ( a1->m_isEditor && a1->m_disabledObjectsCount > 0 )\n  {\n    v11 = 0;\n    v12 = 0;\n    do\n    {\n      ++v12;\n      v13 = a1->m_disabledObjects.m_start[v11++];\n      GameObject::quickUpdatePosition(v13);\n    }\n    while ( a1->m_disabledObjectsCount > v12 );\n  }\n}", "assembly": "; \n; GJBaseGameLayer::processMoveActionsStep from 0x89d1b4 to 0x89d2e4 (304 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::loadUpToPosition @ 0x89d590\n; > GJBaseGameLayer::update @ 0x89e008\n; > <???> @ 0x62a48\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,#-0x40+var_s0]!                          ; +0x0, 0x89d1b4\nMOV             X29, SP                                                ; +0x4, 0x89d1b8\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x89d1bc\nSTP             X21, X22, [SP,#var_s20]                                ; +0xc, 0x89d1c0\nSTR             D8, [SP,#var_s38]                                      ; +0x10, 0x89d1c4\nLDR             X21, [X0,#0x758]                                       ; +0x14, 0x89d1c8\nLDR             X19, [X0,#0x750]                                       ; +0x18, 0x89d1cc\nMOV             X20, X0                                                ; +0x1c, 0x89d1d0\nFMOV            S8, S0                                                 ; +0x20, 0x89d1d4\nSTR             X23, [SP,#var_s30]                                     ; +0x24, 0x89d1d8\nMOV             W22, #1                                                ; +0x28, 0x89d1dc\nUXTB            W23, W1                                                ; +0x2c, 0x89d1e0\nSTR             WZR, [X0,#0xF28]                                       ; +0x30, 0x89d1e4\nCMP             X21, X19                                               ; +0x34, 0x89d1e8\nSTR             WZR, [X0,#0xF2C]                                       ; +0x38, 0x89d1ec\nSTR             WZR, [X0,#0xF30]                                       ; +0x3c, 0x89d1f0\nSTR             WZR, [X0,#0xF34]                                       ; +0x40, 0x89d1f4\nB.EQ            loc_89D220                                             ; +0x44, 0x89d1f8\nLDR             X1, [X19]                                              ; +0x48, 0x89d1fc\nADD             X19, X19, #0x60 ; '`'                                  ; +0x4c, 0x89d200\nLDR             X0, [X20,#0x9A8]; this                                 ; +0x50, 0x89d204\nLDR             W1, [X1,#0x5A8]; int                                   ; +0x54, 0x89d208\nBL              _ZN15GJEffectManager21tryGetMoveCommandNodeEi; GJEffectManager::tryGetMoveCommandNode(int) ; +0x58, 0x89d20c\nCMP             X21, X19                                               ; +0x5c, 0x89d210\nCBZ             X0, loc_89D1F8                                         ; +0x60, 0x89d214\nSTRB            W22, [X0,#0xD1]                                        ; +0x64, 0x89d218\nB.NE            loc_89D1FC                                             ; +0x68, 0x89d21c\nFMOV            S0, S8; float                                          ; +0x6c, 0x89d220\nMOV             X0, X20; this                                          ; +0x70, 0x89d224\nMOV             W1, #1; int                                            ; +0x74, 0x89d228\nBL              _ZN15GJBaseGameLayer27processDynamicObjectActionsEif; GJBaseGameLayer::processDynamicObjectActions(int,float) ; +0x78, 0x89d22c\nMOV             W1, W23; bool                                          ; +0x7c, 0x89d230\nMOV             X0, X20; this                                          ; +0x80, 0x89d234\nBL              _ZN15GJBaseGameLayer23processTransformActionsEb; GJBaseGameLayer::processTransformActions(bool) ; +0x84, 0x89d238\nMOV             X0, X20; this                                          ; +0x88, 0x89d23c\nBL              _ZN15GJBaseGameLayer22processRotationActionsEv; GJBaseGameLayer::processRotationActions(void) ; +0x8c, 0x89d240\nFMOV            S0, S8; float                                          ; +0x90, 0x89d244\nMOV             W1, #0; int                                            ; +0x94, 0x89d248\nMOV             X0, X20; this                                          ; +0x98, 0x89d24c\nBL              _ZN15GJBaseGameLayer27processDynamicObjectActionsEif; GJBaseGameLayer::processDynamicObjectActions(int,float) ; +0x9c, 0x89d250\nMOV             X0, X20; this                                          ; +0xa0, 0x89d254\nBL              _ZN15GJBaseGameLayer18processMoveActionsEv; GJBaseGameLayer::processMoveActions(void) ; +0xa4, 0x89d258\nFMOV            S0, S8; float                                          ; +0xa8, 0x89d25c\nMOV             X0, X20; this                                          ; +0xac, 0x89d260\nBL              _ZN15GJBaseGameLayer26processPlayerFollowActionsEf; GJBaseGameLayer::processPlayerFollowActions(float) ; +0xb0, 0x89d264\nFMOV            S0, S8; float                                          ; +0xb4, 0x89d268\nMOV             X0, X20; this                                          ; +0xb8, 0x89d26c\nBL              _ZN15GJBaseGameLayer28processAdvancedFollowActionsEf; GJBaseGameLayer::processAdvancedFollowActions(float) ; +0xbc, 0x89d270\nMOV             X0, X20; this                                          ; +0xc0, 0x89d274\nBL              _ZN15GJBaseGameLayer20processFollowActionsEv; GJBaseGameLayer::processFollowActions(void) ; +0xc4, 0x89d278\nFMOV            S0, S8; float                                          ; +0xc8, 0x89d27c\nMOV             X0, X20; this                                          ; +0xcc, 0x89d280\nMOV             W1, W23; bool                                          ; +0xd0, 0x89d284\nBL              _ZN15GJBaseGameLayer18processAreaActionsEfb; GJBaseGameLayer::processAreaActions(float,bool) ; +0xd4, 0x89d288\nADD             X0, X20, #3,LSL#12                                     ; +0xd8, 0x89d28c\nLDRB            W0, [X0,#0x10C]                                        ; +0xdc, 0x89d290\nCBZ             W0, loc_89D2CC                                         ; +0xe0, 0x89d294\nLDR             W0, [X20,#0xF2C]                                       ; +0xe4, 0x89d298\nCMP             W0, WZR                                                ; +0xe8, 0x89d29c\nB.LE            loc_89D2CC                                             ; +0xec, 0x89d2a0\nMOV             X21, #0                                                ; +0xf0, 0x89d2a4\nMOV             W19, #0                                                ; +0xf4, 0x89d2a8\nLDR             X0, [X20,#0xE50]                                       ; +0xf8, 0x89d2ac\nADD             W19, W19, #1                                           ; +0xfc, 0x89d2b0\nLDR             X0, [X0,X21]; this                                     ; +0x100, 0x89d2b4\nADD             X21, X21, #8                                           ; +0x104, 0x89d2b8\nBL              _ZN10GameObject19quickUpdatePositionEv; GameObject::quickUpdatePosition(void) ; +0x108, 0x89d2bc\nLDR             W0, [X20,#0xF2C]                                       ; +0x10c, 0x89d2c0\nCMP             W0, W19                                                ; +0x110, 0x89d2c4\nB.GT            loc_89D2AC                                             ; +0x114, 0x89d2c8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x118, 0x89d2cc\nLDP             X21, X22, [SP,#var_s20]                                ; +0x11c, 0x89d2d0\nLDR             X23, [SP,#var_s30]                                     ; +0x120, 0x89d2d4\nLDR             D8, [SP,#var_s38]                                      ; +0x124, 0x89d2d8\nLDP             X29, X30, [SP+var_s0],#0x40                            ; +0x128, 0x89d2dc\nRET                                                                    ; +0x12c, 0x89d2e0", "xrefs": ["GJBaseGameLayer::loadUpToPosition @ 0x89d590", "GJBaseGameLayer::update @ 0x89e008", "<???> @ 0x62a48"], "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"}