{"type": "func", "start": 9004572, "end": 9005544, "name": "GJBaseGameLayer::processAdvancedFollowActions", "pseudocode": "// \n// GJBaseGameLayer::processAdvancedFollowActions from 0x89661c to 0x8969e8 (972 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::processMoveActionsStep @ 0x89d270\n// > <???> @ 0x5ccb8\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::processAdvancedFollowActions(GJBaseGameLayer *a1, float a2)\n{\n  float v3; // s8\n  AdvancedFollowInstance *m_finish; // x21\n  AdvancedFollowInstance *m_start; // x19\n  bool m_started; // w2\n  AdvancedFollowInstance *v7; // x1\n  __int64 v8; // x3\n  __int64 v9; // x2\n  AdvancedFollowInstance *v10; // x3\n  AdvancedFollowInstance *v11; // x0\n  AdvancedFollowInstance *v12; // x0\n  __int64 v13; // x3\n  __int64 v14; // x3\n  std::__detail::_Hash_node_base *M_nxt; // x1\n  std::_Hashtable<int, std::pair<const int, GameObjectPhysics>, std::allocator<std::pair<const int, GameObjectPhysics>>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>>::size_type M_bucket_count; // x4\n  std::_Hashtable<int, std::pair<const int, GameObjectPhysics>, std::allocator<std::pair<const int, GameObjectPhysics>>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>>::__bucket_type *M_buckets; // x5\n  unsigned __int64 v18; // x3\n  std::_Hashtable<int, std::pair<const int, GameObjectPhysics>, std::allocator<std::pair<const int, GameObjectPhysics>>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>>::__bucket_type *v19; // x8\n  _QWORD *i; // x2\n  std::__detail::_Hash_node_base *v21; // x0\n  unsigned __int64 v22; // x4\n  std::unordered_map<int, GameObjectPhysics> *p_m_gameObjectPhysics; // x22\n  std::__detail::_Hash_node_base *v24; // x19\n  unsigned __int64 v25; // x4\n  AdvancedFollowInstance *v26; // x23\n  AdvancedFollowInstance *v27; // x19\n  AdvancedFollowInstance *v28; // x0\n  GJBaseGameLayer *v29; // x3\n  AdvancedFollowInstance *v30; // x1\n  AdvancedFollowInstance *v31; // x1\n\n  v3 = a2 * 240.0;\n  if ( !a1->m_gameState.m_unkBool27 )\n  {\n    m_finish = a1->m_gameState.m_advanceFollowInstances.m_finish;\n    m_start = a1->m_gameState.m_advanceFollowInstances.m_start;\n    goto LABEL_3;\n  }\n  v26 = a1->m_gameState.m_advanceFollowInstances.m_start;\n  m_finish = a1->m_gameState.m_advanceFollowInstances.m_finish;\n  if ( m_finish == v26 )\n  {\n    m_start = a1->m_gameState.m_advanceFollowInstances.m_finish;\n    a1->m_gameState.m_unkBool27 = 0;\n    goto LABEL_3;\n  }\n  std::__introsort_loop<__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,long,__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>>(\n    (__int64)a1->m_gameState.m_advanceFollowInstances.m_start,\n    (__int64)a1->m_gameState.m_advanceFollowInstances.m_finish,\n    2 * (63 - __clz(m_finish - v26)),\n    (__int64 (__fastcall *)(__int64, __int64))compAdvFollowSort);\n  if ( (char *)m_finish - (char *)v26 <= 543 )\n  {\n    std::__insertion_sort<__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>>(\n      (__int64)v26,\n      (__int64)m_finish,\n      (__int64 (__fastcall *)(__int64 *, _QWORD *))compAdvFollowSort);\n    goto LABEL_59;\n  }\n  v27 = v26 + 16;\n  std::__insertion_sort<__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>>(\n    (__int64)v26,\n    (__int64)&v26[16],\n    (__int64 (__fastcall *)(__int64 *, _QWORD *))compAdvFollowSort);\n  if ( m_finish == &v26[16] )\n  {\nLABEL_59:\n    m_start = a1->m_gameState.m_advanceFollowInstances.m_start;\n    m_finish = a1->m_gameState.m_advanceFollowInstances.m_finish;\n    a1->m_gameState.m_unkBool27 = 0;\n    goto LABEL_3;\n  }\n  do\n  {\n    v28 = v27++;\n    std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__ops::_Val_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>>(\n      v28,\n      (__int64 (__fastcall *)(__int64 *, _QWORD *))compAdvFollowSort);\n  }\n  while ( m_finish != v27 );\n  m_start = a1->m_gameState.m_advanceFollowInstances.m_start;\n  m_finish = a1->m_gameState.m_advanceFollowInstances.m_finish;\n  a1->m_gameState.m_unkBool27 = 0;\nLABEL_3:\n  if ( m_finish == m_start )\n  {\n    v30 = m_finish;\n  }\n  else\n  {\n    do\n    {\n      while ( !m_start->m_finished )\n      {\n        m_started = m_start->m_started;\n        v7 = m_start++;\n        GJBaseGameLayer::processAdvancedFollowAction(a1, v7, m_started, v3);\n        if ( m_start == m_finish )\n          goto LABEL_10;\n      }\n      if ( m_start->m_doStart )\n      {\n        m_start->m_doStart = 0;\n        GJBaseGameLayer::processAdvancedFollowAction(a1, m_start, 1, v3);\n      }\n      ++m_start;\n    }\n    while ( m_start != m_finish );\nLABEL_10:\n    m_finish = a1->m_gameState.m_advanceFollowInstances.m_finish;\n    v30 = a1->m_gameState.m_advanceFollowInstances.m_start;\n  }\n  v8 = ((char *)m_finish - (char *)v30) >> 7;\n  v9 = m_finish - v30;\n  if ( v8 <= 0 )\n  {\n    v11 = v30;\nLABEL_24:\n    if ( v9 != 2 )\n    {\n      if ( v9 != 3 )\n      {\n        v31 = m_finish;\n        if ( v9 != 1 )\n          goto LABEL_35;\n        goto LABEL_27;\n      }\n      if ( v11->m_started )\n        goto LABEL_28;\n      ++v11;\n    }\n    if ( v11->m_started )\n      goto LABEL_28;\n    ++v11;\nLABEL_27:\n    v31 = m_finish;\n    if ( v11->m_started )\n    {\nLABEL_28:\n      v31 = v11;\n      goto LABEL_29;\n    }\nLABEL_35:\n    if ( m_finish != v31 )\n      a1->m_gameState.m_advanceFollowInstances.m_finish = v31;\n    goto LABEL_37;\n  }\n  if ( v30->m_started )\n  {\n    v11 = v30;\n    goto LABEL_28;\n  }\n  if ( v30[1].m_started )\n  {\n    v31 = v30 + 1;\n  }\n  else if ( v30[2].m_started )\n  {\n    v31 = v30 + 2;\n  }\n  else\n  {\n    v10 = &v30[4 * v8];\n    if ( v30[3].m_started )\n    {\n      v31 = v30 + 3;\n    }\n    else\n    {\n      while ( 1 )\n      {\n        v11 = v30 + 4;\n        if ( v10 == &v30[4] )\n        {\n          v9 = m_finish - v11;\n          goto LABEL_24;\n        }\n        if ( v30[4].m_started )\n          goto LABEL_28;\n        if ( v30[5].m_started )\n        {\n          v31 = v30 + 5;\n          goto LABEL_29;\n        }\n        if ( v30[6].m_started )\n        {\n          v31 = v30 + 6;\n          goto LABEL_29;\n        }\n        if ( v30[7].m_started )\n          break;\n        v30 += 4;\n      }\n      v31 = v30 + 7;\n    }\n  }\nLABEL_29:\n  if ( m_finish != v31 )\n  {\n    v12 = v31 + 1;\n    if ( &v31[1] != m_finish )\n    {\n      do\n      {\n        if ( !v12->m_started )\n        {\n          ++v31;\n          v13 = *(_QWORD *)&v12->m_group;\n          v31[-1].m_gameObject = v12->m_gameObject;\n          *(_QWORD *)&v31[-1].m_group = v13;\n          v14 = *(_QWORD *)&v12->m_relatedToGJGameStateUnkUint7;\n          *(_QWORD *)&v31[-1].m_controlId = *(_QWORD *)&v12->m_controlId;\n          *(_QWORD *)&v31[-1].m_relatedToGJGameStateUnkUint7 = v14;\n        }\n        ++v12;\n      }\n      while ( m_finish != v12 );\n      m_finish = a1->m_gameState.m_advanceFollowInstances.m_finish;\n    }\n    goto LABEL_35;\n  }\nLABEL_37:\n  M_nxt = a1->m_gameState.m_gameObjectPhysics._M_h._M_before_begin._M_nxt;\n  while ( M_nxt )\n  {\n    while ( SHIDWORD(M_nxt[6]._M_nxt) >= (signed int)a1->m_gameState.m_commandIndex )\n    {\n      M_nxt = M_nxt->_M_nxt;\n      if ( !M_nxt )\n        return;\n    }\n    M_bucket_count = a1->m_gameState.m_gameObjectPhysics._M_h._M_bucket_count;\n    M_buckets = a1->m_gameState.m_gameObjectPhysics._M_h._M_buckets;\n    v18 = SLODWORD(M_nxt[1]._M_nxt) % M_bucket_count;\n    v19 = &M_buckets[v18];\n    for ( i = *v19; M_nxt != (std::__detail::_Hash_node_base *)*i; i = (_QWORD *)*i )\n      ;\n    v21 = M_nxt->_M_nxt;\n    if ( M_buckets[v18] != (std::_Hashtable<int, std::pair<const int, GameObjectPhysics>, std::allocator<std::pair<const int, GameObjectPhysics>>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>>::__bucket_type)i )\n    {\n      if ( v21 )\n      {\n        v22 = SLODWORD(v21[1]._M_nxt) % M_bucket_count;\n        if ( v18 != v22 )\n        {\n          M_buckets[v22] = (std::_Hashtable<int, std::pair<const int, GameObjectPhysics>, std::allocator<std::pair<const int, GameObjectPhysics>>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>>::__bucket_type)i;\n          p_m_gameObjectPhysics = &a1->m_gameState.m_gameObjectPhysics;\n          v21 = M_nxt->_M_nxt;\n          goto LABEL_49;\n        }\n      }\nLABEL_52:\n      p_m_gameObjectPhysics = &a1->m_gameState.m_gameObjectPhysics;\n      goto LABEL_49;\n    }\n    if ( v21 )\n    {\n      v25 = SLODWORD(v21[1]._M_nxt) % M_bucket_count;\n      if ( v18 == v25 )\n        goto LABEL_52;\n      M_buckets[v25] = (std::_Hashtable<int, std::pair<const int, GameObjectPhysics>, std::allocator<std::pair<const int, GameObjectPhysics>>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>>::__bucket_type)i;\n      p_m_gameObjectPhysics = &a1->m_gameState.m_gameObjectPhysics;\n      v19 = &a1->m_gameState.m_gameObjectPhysics._M_h._M_buckets[v18];\n      v29 = (GJBaseGameLayer *)*v19;\n    }\n    else\n    {\n      v29 = (GJBaseGameLayer *)i;\n      p_m_gameObjectPhysics = &a1->m_gameState.m_gameObjectPhysics;\n    }\n    if ( v29 == (GJBaseGameLayer *)&a1->m_gameState.m_gameObjectPhysics._M_h._M_before_begin )\n      p_m_gameObjectPhysics->_M_h._M_before_begin._M_nxt = v21;\n    *v19 = nullptr;\n    v21 = M_nxt->_M_nxt;\nLABEL_49:\n    *i = v21;\n    v24 = M_nxt->_M_nxt;\n    operator delete(M_nxt);\n    M_nxt = v24;\n    --p_m_gameObjectPhysics->_M_h._M_element_count;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::processAdvancedFollowActions from 0x89661c to 0x8969e8 (972 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::processMoveActionsStep @ 0x89d270\n; > <???> @ 0x5ccb8\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_50]!                                ; +0x0, 0x89661c\nMOV             X29, SP                                                ; +0x4, 0x896620\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0x896624\nMOV             X20, X0                                                ; +0xc, 0x896628\nLDRB            W0, [X0,#0x730]                                        ; +0x10, 0x89662c\nSTR             D8, [SP,#0x50+var_10]                                  ; +0x14, 0x896630\nSTP             X21, X22, [SP,#0x50+var_30]                            ; +0x18, 0x896634\nLDR             S8, =0x43700000                                        ; +0x1c, 0x896638\nSTP             X23, X24, [SP,#0x50+var_20]                            ; +0x20, 0x89663c\nFMUL            S8, S0, S8                                             ; +0x24, 0x896640\nCBNZ            W0, loc_896890                                         ; +0x28, 0x896644\nLDR             X21, [X20,#0x740]                                      ; +0x2c, 0x896648\nLDR             X19, [X20,#0x738]                                      ; +0x30, 0x89664c\nCMP             X21, X19                                               ; +0x34, 0x896650\nB.NE            loc_896670                                             ; +0x38, 0x896654\nB               loc_89697C                                             ; +0x3c, 0x896658\nLDRB            W0, [X19,#0x1D]                                        ; +0x40, 0x89665c\nCBNZ            W0, loc_8967C8                                         ; +0x44, 0x896660\nADD             X19, X19, #0x20 ; ' '                                  ; +0x48, 0x896664\nCMP             X19, X21                                               ; +0x4c, 0x896668\nB.EQ            loc_896698                                             ; +0x50, 0x89666c\nLDRB            W0, [X19,#0x1C]                                        ; +0x54, 0x896670\nCBNZ            W0, loc_89665C                                         ; +0x58, 0x896674\nFMOV            S0, S8                                                 ; +0x5c, 0x896678\nLDRB            W2, [X19,#0x1E]                                        ; +0x60, 0x89667c\nMOV             X1, X19                                                ; +0x64, 0x896680\nMOV             X0, X20                                                ; +0x68, 0x896684\nADD             X19, X19, #0x20 ; ' '                                  ; +0x6c, 0x896688\nBL              _ZN15GJBaseGameLayer27processAdvancedFollowActionER22AdvancedFollowInstancebf; GJBaseGameLayer::processAdvancedFollowAction(AdvancedFollowInstance &,bool,float) ; +0x70, 0x89668c\nCMP             X19, X21                                               ; +0x74, 0x896690\nB.NE            loc_896670                                             ; +0x78, 0x896694\nLDR             X21, [X20,#0x740]                                      ; +0x7c, 0x896698\nLDR             X1, [X20,#0x738]                                       ; +0x80, 0x89669c\nSUB             X2, X21, X1                                            ; +0x84, 0x8966a0\nASR             X3, X2, #7                                             ; +0x88, 0x8966a4\nASR             X2, X2, #5                                             ; +0x8c, 0x8966a8\nCMP             X3, XZR                                                ; +0x90, 0x8966ac\nB.LE            loc_8969D8                                             ; +0x94, 0x8966b0\nLDRB            W0, [X1,#0x1E]                                         ; +0x98, 0x8966b4\nCBNZ            W0, loc_8969D0                                         ; +0x9c, 0x8966b8\nLDRB            W0, [X1,#0x3E]                                         ; +0xa0, 0x8966bc\nCBNZ            W0, loc_8969C8                                         ; +0xa4, 0x8966c0\nLDRB            W0, [X1,#0x5E]                                         ; +0xa8, 0x8966c4\nCBNZ            W0, loc_8969C0                                         ; +0xac, 0x8966c8\nLDRB            W0, [X1,#0x7E]                                         ; +0xb0, 0x8966cc\nADD             X3, X1, X3,LSL#7                                       ; +0xb4, 0x8966d0\nCBZ             W0, loc_896700                                         ; +0xb8, 0x8966d4\nB               loc_8969E0                                             ; +0xbc, 0x8966d8\nLDRB            W2, [X0,#0x1E]                                         ; +0xc0, 0x8966dc\nCBNZ            W2, loc_89673C                                         ; +0xc4, 0x8966e0\nLDRB            W2, [X0,#0x3E]                                         ; +0xc8, 0x8966e4\nCBNZ            W2, loc_896964                                         ; +0xcc, 0x8966e8\nLDRB            W2, [X0,#0x5E]                                         ; +0xd0, 0x8966ec\nCBNZ            W2, loc_89696C                                         ; +0xd4, 0x8966f0\nLDRB            W2, [X0,#0x7E]                                         ; +0xd8, 0x8966f4\nCBNZ            W2, loc_896974                                         ; +0xdc, 0x8966f8\nMOV             X1, X0                                                 ; +0xe0, 0x8966fc\nADD             X0, X1, #0x80                                          ; +0xe4, 0x896700\nCMP             X3, X0                                                 ; +0xe8, 0x896704\nB.NE            loc_8966DC                                             ; +0xec, 0x896708\nSUB             X2, X21, X0                                            ; +0xf0, 0x89670c\nASR             X2, X2, #5                                             ; +0xf4, 0x896710\nCMP             X2, #2                                                 ; +0xf8, 0x896714\nB.EQ            loc_896990                                             ; +0xfc, 0x896718\nCMP             X2, #3                                                 ; +0x100, 0x89671c\nB.EQ            loc_896984                                             ; +0x104, 0x896720\nCMP             X2, #1                                                 ; +0x108, 0x896724\nMOV             X1, X21                                                ; +0x10c, 0x896728\nB.NE            loc_896780                                             ; +0x110, 0x89672c\nLDRB            W2, [X0,#0x1E]                                         ; +0x114, 0x896730\nMOV             X1, X21                                                ; +0x118, 0x896734\nCBZ             W2, loc_896780                                         ; +0x11c, 0x896738\nMOV             X1, X0                                                 ; +0x120, 0x89673c\nCMP             X21, X1                                                ; +0x124, 0x896740\nB.EQ            loc_89678C                                             ; +0x128, 0x896744\nADD             X0, X1, #0x20 ; ' '                                    ; +0x12c, 0x896748\nCMP             X0, X21                                                ; +0x130, 0x89674c\nB.EQ            loc_896780                                             ; +0x134, 0x896750\nLDRB            W2, [X0,#0x1E]                                         ; +0x138, 0x896754\nCBNZ            W2, loc_896770                                         ; +0x13c, 0x896758\nADD             X1, X1, #0x20 ; ' '                                    ; +0x140, 0x89675c\nLDP             X2, X3, [X0]                                           ; +0x144, 0x896760\nSTP             X2, X3, [X1,#-0x20]                                    ; +0x148, 0x896764\nLDP             X2, X3, [X0,#0x10]                                     ; +0x14c, 0x896768\nSTP             X2, X3, [X1,#-0x10]                                    ; +0x150, 0x89676c\nADD             X0, X0, #0x20 ; ' '                                    ; +0x154, 0x896770\nCMP             X21, X0                                                ; +0x158, 0x896774\nB.NE            loc_896754                                             ; +0x15c, 0x896778\nLDR             X21, [X20,#0x740]                                      ; +0x160, 0x89677c\nCMP             X21, X1                                                ; +0x164, 0x896780\nB.EQ            loc_89678C                                             ; +0x168, 0x896784\nSTR             X1, [X20,#0x740]                                       ; +0x16c, 0x896788\nLDR             X1, [X20,#0x470]                                       ; +0x170, 0x89678c\nADD             X21, X20, #0x470                                       ; +0x174, 0x896790\nCBZ             X1, loc_8967B0                                         ; +0x178, 0x896794\nLDR             W2, [X1,#0x34]                                         ; +0x17c, 0x896798\nLDR             W0, [X20,#0x3D0]                                       ; +0x180, 0x89679c\nCMP             W2, W0                                                 ; +0x184, 0x8967a0\nB.LT            loc_8967E4                                             ; +0x188, 0x8967a4\nLDR             X1, [X1]                                               ; +0x18c, 0x8967a8\nCBNZ            X1, loc_896798                                         ; +0x190, 0x8967ac\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x194, 0x8967b0\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0x198, 0x8967b4\nLDP             X23, X24, [SP,#0x50+var_20]                            ; +0x19c, 0x8967b8\nLDR             D8, [SP,#0x50+var_10]                                  ; +0x1a0, 0x8967bc\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x1a4, 0x8967c0\nRET                                                                    ; +0x1a8, 0x8967c4\nFMOV            S0, S8                                                 ; +0x1ac, 0x8967c8\nSTRB            WZR, [X19,#0x1D]                                       ; +0x1b0, 0x8967cc\nMOV             X1, X19                                                ; +0x1b4, 0x8967d0\nMOV             X0, X20                                                ; +0x1b8, 0x8967d4\nMOV             W2, #1                                                 ; +0x1bc, 0x8967d8\nBL              _ZN15GJBaseGameLayer27processAdvancedFollowActionER22AdvancedFollowInstancebf; GJBaseGameLayer::processAdvancedFollowAction(AdvancedFollowInstance &,bool,float) ; +0x1c0, 0x8967dc\nB               loc_896664                                             ; +0x1c4, 0x8967e0\nLDR             X4, [X20,#0x468]                                       ; +0x1c8, 0x8967e4\nLDRSW           X3, [X1,#8]                                            ; +0x1cc, 0x8967e8\nLDR             X5, [X20,#0x460]                                       ; +0x1d0, 0x8967ec\nUDIV            X0, X3, X4                                             ; +0x1d4, 0x8967f0\nMSUB            X3, X0, X4, X3                                         ; +0x1d8, 0x8967f4\nLSL             X7, X3, #3                                             ; +0x1dc, 0x8967f8\nLDR             X6, [X5,X3,LSL#3]                                      ; +0x1e0, 0x8967fc\nADD             X8, X5, X7                                             ; +0x1e4, 0x896800\nMOV             X2, X6                                                 ; +0x1e8, 0x896804\nB               loc_896810                                             ; +0x1ec, 0x896808\nMOV             X2, X0                                                 ; +0x1f0, 0x89680c\nLDR             X0, [X2]                                               ; +0x1f4, 0x896810\nCMP             X1, X0                                                 ; +0x1f8, 0x896814\nB.NE            loc_89680C                                             ; +0x1fc, 0x896818\nCMP             X6, X2                                                 ; +0x200, 0x89681c\nLDR             X0, [X1]                                               ; +0x204, 0x896820\nB.EQ            loc_896870                                             ; +0x208, 0x896824\nCBZ             X0, loc_896888                                         ; +0x20c, 0x896828\nLDRSW           X7, [X0,#8]                                            ; +0x210, 0x89682c\nUDIV            X6, X7, X4                                             ; +0x214, 0x896830\nMSUB            X4, X6, X4, X7                                         ; +0x218, 0x896834\nCMP             X3, X4                                                 ; +0x21c, 0x896838\nB.EQ            loc_896888                                             ; +0x220, 0x89683c\nSTR             X2, [X5,X4,LSL#3]                                      ; +0x224, 0x896840\nADD             X22, X20, #0x460                                       ; +0x228, 0x896844\nLDR             X0, [X1]                                               ; +0x22c, 0x896848\nSTR             X0, [X2]                                               ; +0x230, 0x89684c\nMOV             X0, X1; p                                              ; +0x234, 0x896850\nLDR             X19, [X1]                                              ; +0x238, 0x896854\nBL              _ZdlPv; operator delete(void *)                        ; +0x23c, 0x896858\nLDR             X0, [X22,#0x18]                                        ; +0x240, 0x89685c\nMOV             X1, X19                                                ; +0x244, 0x896860\nSUB             X0, X0, #1                                             ; +0x248, 0x896864\nSTR             X0, [X22,#0x18]                                        ; +0x24c, 0x896868\nB               loc_896794                                             ; +0x250, 0x89686c\nCBZ             X0, loc_8969A0                                         ; +0x254, 0x896870\nLDRSW           X8, [X0,#8]                                            ; +0x258, 0x896874\nUDIV            X6, X8, X4                                             ; +0x25c, 0x896878\nMSUB            X4, X6, X4, X8                                         ; +0x260, 0x89687c\nCMP             X3, X4                                                 ; +0x264, 0x896880\nB.NE            loc_89693C                                             ; +0x268, 0x896884\nADD             X22, X20, #0x460                                       ; +0x26c, 0x896888\nB               loc_89684C                                             ; +0x270, 0x89688c\nLDR             X23, [X20,#0x738]                                      ; +0x274, 0x896890\nLDR             X21, [X20,#0x740]                                      ; +0x278, 0x896894\nCMP             X21, X23                                               ; +0x27c, 0x896898\nB.EQ            loc_8969AC                                             ; +0x280, 0x89689c\nADRP            X22, #_Z17compAdvFollowSortRK22AdvancedFollowInstanceS1__ptr@PAGE ; +0x284, 0x8968a0\nSUB             X19, X21, X23                                          ; +0x288, 0x8968a4\nMOV             X0, #0x3F ; '?'                                        ; +0x28c, 0x8968a8\nASR             X2, X19, #5                                            ; +0x290, 0x8968ac\nCLZ             X2, X2                                                 ; +0x294, 0x8968b0\nSUB             X2, X0, X2                                             ; +0x298, 0x8968b4\nLDR             X24, [X22,#_Z17compAdvFollowSortRK22AdvancedFollowInstanceS1__ptr@PAGEOFF]; compAdvFollowSort(AdvancedFollowInstance const&,AdvancedFollowInstance const&) ... ; +0x29c, 0x8968b8\nMOV             X0, X23                                                ; +0x2a0, 0x8968bc\nMOV             X1, X21                                                ; +0x2a4, 0x8968c0\nLSL             X2, X2, #1                                             ; +0x2a8, 0x8968c4\nMOV             X3, X24                                                ; +0x2ac, 0x8968c8\nBL              _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP22AdvancedFollowInstanceSt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_comp_iterIPFbRKS2_SB_EEEEvT_SF_T0_T1_; std::__introsort_loop<__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,long,__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>>(__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,long,__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>) ; +0x2b0, 0x8968cc\nCMP             X19, #0x21F                                            ; +0x2b4, 0x8968d0\nB.LE            loc_89691C                                             ; +0x2b8, 0x8968d4\nADD             X19, X23, #0x200                                       ; +0x2bc, 0x8968d8\nMOV             X0, X23                                                ; +0x2c0, 0x8968dc\nMOV             X1, X19                                                ; +0x2c4, 0x8968e0\nMOV             X2, X24                                                ; +0x2c8, 0x8968e4\nBL              _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP22AdvancedFollowInstanceSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbRKS2_SB_EEEEvT_SF_T0_; std::__insertion_sort<__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>>(__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>) ; +0x2cc, 0x8968e8\nCMP             X21, X19                                               ; +0x2d0, 0x8968ec\nB.EQ            loc_89692C                                             ; +0x2d4, 0x8968f0\nLDR             X1, [X22,#_Z17compAdvFollowSortRK22AdvancedFollowInstanceS1__ptr@PAGEOFF]; compAdvFollowSort(AdvancedFollowInstance const&,AdvancedFollowInstance const&) ... ; +0x2d8, 0x8968f4\nMOV             X0, X19                                                ; +0x2dc, 0x8968f8\nADD             X19, X19, #0x20 ; ' '                                  ; +0x2e0, 0x8968fc\nBL              _ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP22AdvancedFollowInstanceSt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_comp_iterIPFbRKS2_SB_EEEEvT_T0_; std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__ops::_Val_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>>(__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__ops::_Val_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>) ; +0x2e4, 0x896900\nCMP             X21, X19                                               ; +0x2e8, 0x896904\nB.NE            loc_8968F4                                             ; +0x2ec, 0x896908\nLDR             X19, [X20,#0x738]                                      ; +0x2f0, 0x89690c\nLDR             X21, [X20,#0x740]                                      ; +0x2f4, 0x896910\nSTRB            WZR, [X20,#0x730]                                      ; +0x2f8, 0x896914\nB               loc_896650                                             ; +0x2fc, 0x896918\nMOV             X0, X23                                                ; +0x300, 0x89691c\nMOV             X1, X21                                                ; +0x304, 0x896920\nMOV             X2, X24                                                ; +0x308, 0x896924\nBL              _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP22AdvancedFollowInstanceSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbRKS2_SB_EEEEvT_SF_T0_; std::__insertion_sort<__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>>(__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__normal_iterator<AdvancedFollowInstance *,std::vector<AdvancedFollowInstance>>,__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(AdvancedFollowInstance const&,AdvancedFollowInstance const&)>) ; +0x30c, 0x896928\nLDR             X19, [X20,#0x738]                                      ; +0x310, 0x89692c\nLDR             X21, [X20,#0x740]                                      ; +0x314, 0x896930\nSTRB            WZR, [X20,#0x730]                                      ; +0x318, 0x896934\nB               loc_896650                                             ; +0x31c, 0x896938\nSTR             X2, [X5,X4,LSL#3]                                      ; +0x320, 0x89693c\nADD             X22, X20, #0x460                                       ; +0x324, 0x896940\nLDR             X4, [X20,#0x460]                                       ; +0x328, 0x896944\nADD             X8, X4, X7                                             ; +0x32c, 0x896948\nLDR             X3, [X4,X3,LSL#3]                                      ; +0x330, 0x89694c\nCMP             X3, X21                                                ; +0x334, 0x896950\nB.EQ            loc_8969B8                                             ; +0x338, 0x896954\nSTR             XZR, [X8]                                              ; +0x33c, 0x896958\nLDR             X0, [X1]                                               ; +0x340, 0x89695c\nB               loc_89684C                                             ; +0x344, 0x896960\nADD             X1, X1, #0xA0                                          ; +0x348, 0x896964\nB               loc_896740                                             ; +0x34c, 0x896968\nADD             X1, X1, #0xC0                                          ; +0x350, 0x89696c\nB               loc_896740                                             ; +0x354, 0x896970\nADD             X1, X1, #0xE0                                          ; +0x358, 0x896974\nB               loc_896740                                             ; +0x35c, 0x896978\nMOV             X1, X21                                                ; +0x360, 0x89697c\nB               loc_8966A0                                             ; +0x364, 0x896980\nLDRB            W1, [X0,#0x1E]                                         ; +0x368, 0x896984\nCBNZ            W1, loc_89673C                                         ; +0x36c, 0x896988\nADD             X0, X0, #0x20 ; ' '                                    ; +0x370, 0x89698c\nLDRB            W1, [X0,#0x1E]                                         ; +0x374, 0x896990\nCBNZ            W1, loc_89673C                                         ; +0x378, 0x896994\nADD             X0, X0, #0x20 ; ' '                                    ; +0x37c, 0x896998\nB               loc_896730                                             ; +0x380, 0x89699c\nMOV             X3, X2                                                 ; +0x384, 0x8969a0\nADD             X22, X20, #0x460                                       ; +0x388, 0x8969a4\nB               loc_896950                                             ; +0x38c, 0x8969a8\nMOV             X19, X21                                               ; +0x390, 0x8969ac\nSTRB            WZR, [X20,#0x730]                                      ; +0x394, 0x8969b0\nB               loc_896650                                             ; +0x398, 0x8969b4\nSTR             X0, [X22,#0x10]                                        ; +0x39c, 0x8969b8\nB               loc_896958                                             ; +0x3a0, 0x8969bc\nADD             X1, X1, #0x40 ; '@'                                    ; +0x3a4, 0x8969c0\nB               loc_896740                                             ; +0x3a8, 0x8969c4\nADD             X1, X1, #0x20 ; ' '                                    ; +0x3ac, 0x8969c8\nB               loc_896740                                             ; +0x3b0, 0x8969cc\nMOV             X0, X1                                                 ; +0x3b4, 0x8969d0\nB               loc_89673C                                             ; +0x3b8, 0x8969d4\nMOV             X0, X1                                                 ; +0x3bc, 0x8969d8\nB               loc_896714                                             ; +0x3c0, 0x8969dc\nADD             X1, X1, #0x60 ; '`'                                    ; +0x3c4, 0x8969e0\nB               loc_896740                                             ; +0x3c8, 0x8969e4", "xrefs": ["GJBaseGameLayer::processMoveActionsStep @ 0x89d270", "<???> @ 0x5ccb8"], "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"}