{"type": "func", "start": 4811912, "end": 4812094, "name": "GJBaseGameLayer::processMoveActionsStep", "pseudocode": "// \n// GJBaseGameLayer::processMoveActionsStep from 0x496c88 to 0x496d3e (182 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::loadUpToPosition @ 0x496ef8\n// > GJBaseGameLayer::update @ 0x497836\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; // r8\n  DynamicObjectAction *m_start; // r6\n  CCMoveCNode *MoveCommandNode; // r0\n  int i; // r5\n  GameObject *v10; // r0\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  a1->m_disabledObjectsCount = 0;\n  a1->m_unked8 = 0;\n  a1->m_areaObjectsCount = 0;\n  while ( m_start != m_finish )\n  {\n    MoveCommandNode = GJEffectManager::tryGetMoveCommandNode(\n                        a1->m_effectManager,\n                        m_start->m_gameObject1->m_targetGroupID);\n    if ( MoveCommandNode )\n      MoveCommandNode->m_unk0d1 = 1;\n    ++m_start;\n  }\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 )\n  {\n    for ( i = 0; i < a1->m_disabledObjectsCount; ++i )\n    {\n      v10 = a1->m_disabledObjects.m_start[i];\n      GameObject::quickUpdatePosition(v10);\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::processMoveActionsStep from 0x496c88 to 0x496d3e (182 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::loadUpToPosition @ 0x496ef8\n; > GJBaseGameLayer::update @ 0x497836\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.W          {R3-R9,LR}                                             ; +0x0, 0x496c88\nMOV             R4, R0                                                 ; +0x4, 0x496c8c\nLDR.W           R8, [R0,#0x54C]                                        ; +0x6, 0x496c8e\nMOV             R5, R1                                                 ; +0xa, 0x496c92\nLDR.W           R6, [R0,#0x548]                                        ; +0xc, 0x496c94\nMOV             R7, R2                                                 ; +0x10, 0x496c98\nMOV.W           R9, #1                                                 ; +0x12, 0x496c9a\nMOVS            R3, #0                                                 ; +0x16, 0x496c9e\nSTR.W           R3, [R0,#0x958]                                        ; +0x18, 0x496ca0\nSTR.W           R3, [R0,#0x95C]                                        ; +0x1c, 0x496ca4\nSTR.W           R3, [R0,#0x960]                                        ; +0x20, 0x496ca8\nSTR.W           R3, [R0,#0x964]                                        ; +0x24, 0x496cac\nCMP             R6, R8                                                 ; +0x28, 0x496cb0\nBEQ             loc_496CCC                                             ; +0x2a, 0x496cb2\nLDR             R3, [R6]                                               ; +0x2c, 0x496cb4\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x2e, 0x496cb6\nLDR.W           R1, [R3,#0x4FC]; int                                   ; +0x32, 0x496cba\nBL              _ZN15GJEffectManager21tryGetMoveCommandNodeEi; GJEffectManager::tryGetMoveCommandNode(int) ; +0x36, 0x496cbe\nCBZ             R0, loc_496CC8                                         ; +0x3a, 0x496cc2\nSTRB.W          R9, [R0,#0xCD]                                         ; +0x3c, 0x496cc4\nADDS            R6, #0x3C ; '<'                                        ; +0x40, 0x496cc8\nB               loc_496CB0                                             ; +0x42, 0x496cca\nMOV             R2, R5; float                                          ; +0x44, 0x496ccc\nMOV             R0, R4; this                                           ; +0x46, 0x496cce\nMOVS            R1, #1; int                                            ; +0x48, 0x496cd0\nBL              _ZN15GJBaseGameLayer27processDynamicObjectActionsEif; GJBaseGameLayer::processDynamicObjectActions(int,float) ; +0x4a, 0x496cd2\nMOV             R1, R7; bool                                           ; +0x4e, 0x496cd6\nMOV             R0, R4; this                                           ; +0x50, 0x496cd8\nBL              _ZN15GJBaseGameLayer23processTransformActionsEb; GJBaseGameLayer::processTransformActions(bool) ; +0x52, 0x496cda\nMOV             R0, R4; this                                           ; +0x56, 0x496cde\nBL              _ZN15GJBaseGameLayer22processRotationActionsEv; GJBaseGameLayer::processRotationActions(void) ; +0x58, 0x496ce0\nMOV             R2, R5; float                                          ; +0x5c, 0x496ce4\nMOVS            R1, #0; int                                            ; +0x5e, 0x496ce6\nMOV             R0, R4; this                                           ; +0x60, 0x496ce8\nBL              _ZN15GJBaseGameLayer27processDynamicObjectActionsEif; GJBaseGameLayer::processDynamicObjectActions(int,float) ; +0x62, 0x496cea\nMOV             R0, R4; this                                           ; +0x66, 0x496cee\nBL              _ZN15GJBaseGameLayer18processMoveActionsEv; GJBaseGameLayer::processMoveActions(void) ; +0x68, 0x496cf0\nMOV             R0, R4; this                                           ; +0x6c, 0x496cf4\nMOV             R1, R5; float                                          ; +0x6e, 0x496cf6\nBL              _ZN15GJBaseGameLayer26processPlayerFollowActionsEf; GJBaseGameLayer::processPlayerFollowActions(float) ; +0x70, 0x496cf8\nMOV             R1, R5; float                                          ; +0x74, 0x496cfc\nMOV             R0, R4; this                                           ; +0x76, 0x496cfe\nBL              _ZN15GJBaseGameLayer28processAdvancedFollowActionsEf; GJBaseGameLayer::processAdvancedFollowActions(float) ; +0x78, 0x496d00\nMOV             R0, R4; this                                           ; +0x7c, 0x496d04\nBL              _ZN15GJBaseGameLayer20processFollowActionsEv; GJBaseGameLayer::processFollowActions(void) ; +0x7e, 0x496d06\nMOV             R0, R4; this                                           ; +0x82, 0x496d0a\nMOV             R1, R5; float                                          ; +0x84, 0x496d0c\nMOV             R2, R7; bool                                           ; +0x86, 0x496d0e\nBL              _ZN15GJBaseGameLayer18processAreaActionsEfb; GJBaseGameLayer::processAreaActions(float,bool) ; +0x88, 0x496d10\nMOVW            R3, #0x2A10                                            ; +0x8c, 0x496d14\nLDRB            R3, [R4,R3]                                            ; +0x90, 0x496d18\nCBNZ            R3, loc_496D20                                         ; +0x92, 0x496d1a\nPOP.W           {R3-R9,PC}                                             ; +0x94, 0x496d1c\nMOVS            R5, #0                                                 ; +0x98, 0x496d20\nLDR.W           R3, [R4,#0x95C]                                        ; +0x9a, 0x496d22\nCMP             R5, R3                                                 ; +0x9e, 0x496d26\nBGE             locret_496D3A                                          ; +0xa0, 0x496d28\nLDR.W           R3, [R4,#0x8E4]                                        ; +0xa2, 0x496d2a\nLDR.W           R0, [R3,R5,LSL#2]; this                                ; +0xa6, 0x496d2e\nADDS            R5, #1                                                 ; +0xaa, 0x496d32\nBL              _ZN10GameObject19quickUpdatePositionEv; GameObject::quickUpdatePosition(void) ; +0xac, 0x496d34\nB               loc_496D22                                             ; +0xb0, 0x496d38\nPOP.W           {R3-R9,PC}                                             ; +0xb2, 0x496d3a", "xrefs": ["GJBaseGameLayer::loadUpToPosition @ 0x496ef8", "GJBaseGameLayer::update @ 0x497836"], "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"}