{"type": "func", "start": 7727020, "end": 7727284, "name": "EffectGameObject::updateSpeedModType", "pseudocode": "// \n// EffectGameObject::updateSpeedModType from 0x75e7ac to 0x75e8b4 (264 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::addObject @ 0x5cc684\n// > DrawGridLayer::addToSpeedObjects @ 0x665184\n// > <???> @ 0x3d188\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 EffectGameObject::updateSpeedModType(EffectGameObject *a1)\n{\n  int m_objectID; // w2\n  __int16 v2; // w1\n  __int16 v3; // w1\n  __int16 v4; // w1\n  __int16 v5; // w1\n  __int16 v6; // w1\n\n  m_objectID = a1->m_objectID;\n  if ( m_objectID == 1934 )\n  {\n    if ( a1->m_isReverse )\n      v5 = -1;\n    else\n      v5 = -3;\n    a1->m_speedModType = v5;\n  }\n  else if ( m_objectID > 1934 )\n  {\n    if ( m_objectID != 2902 )\n    {\n      if ( m_objectID <= 2902 )\n      {\n        v2 = -2;\n        if ( m_objectID == 1935 || (v2 = -4, m_objectID == 2900) )\n        {\nLABEL_7:\n          if ( a1->m_isReverse )\n            v2 = -1;\n          a1->m_speedModType = v2;\n          return;\n        }\n        goto LABEL_14;\n      }\n      if ( m_objectID != 3022 && m_objectID != 3027 )\n      {\nLABEL_14:\n        if ( a1->m_isReverse )\n          v3 = -1;\n        else\n          v3 = 0;\n        a1->m_speedModType = v3;\n        return;\n      }\n    }\n    if ( a1->m_isReverse )\n      v6 = -1;\n    else\n      v6 = -5;\n    a1->m_speedModType = v6;\n  }\n  else\n  {\n    if ( m_objectID != 203 )\n    {\n      if ( m_objectID > 203 )\n      {\n        v2 = 4;\n        if ( m_objectID == 1334 )\n          goto LABEL_7;\n        if ( m_objectID == 1917 )\n        {\n          a1->m_speedModType = -1;\n          return;\n        }\n      }\n      else\n      {\n        v2 = 1;\n        if ( m_objectID == 200 )\n          goto LABEL_7;\n        v2 = 2;\n        if ( m_objectID == 202 )\n          goto LABEL_7;\n      }\n      goto LABEL_14;\n    }\n    if ( a1->m_isReverse )\n      v4 = -1;\n    else\n      v4 = 3;\n    a1->m_speedModType = v4;\n  }\n}", "assembly": "; \n; EffectGameObject::updateSpeedModType from 0x75e7ac to 0x75e8b4 (264 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::addObject @ 0x5cc684\n; > DrawGridLayer::addToSpeedObjects @ 0x665184\n; > <???> @ 0x3d188\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\nLDR             W2, [X0,#0x3F4]                                        ; +0x0, 0x75e7ac\nCMP             W2, #0x78E                                             ; +0x4, 0x75e7b0\nB.EQ            loc_75E874                                             ; +0x8, 0x75e7b4\nB.GT            loc_75E7F4                                             ; +0xc, 0x75e7b8\nCMP             W2, #0xCB                                              ; +0x10, 0x75e7bc\nB.EQ            loc_75E85C                                             ; +0x14, 0x75e7c0\nB.GT            loc_75E830                                             ; +0x18, 0x75e7c4\nCMP             W2, #0xC8                                              ; +0x1c, 0x75e7c8\nMOV             W1, #1                                                 ; +0x20, 0x75e7cc\nB.EQ            loc_75E7E0                                             ; +0x24, 0x75e7d0\nCMP             W2, #0xCA                                              ; +0x28, 0x75e7d4\nMOV             W1, #2                                                 ; +0x2c, 0x75e7d8\nB.NE            loc_75E818                                             ; +0x30, 0x75e7dc\nLDRB            W2, [X0,#0x6E4]                                        ; +0x34, 0x75e7e0\nCMP             W2, WZR                                                ; +0x38, 0x75e7e4\nCSINV           W1, W1, WZR, EQ                                        ; +0x3c, 0x75e7e8\nSTRH            W1, [X0,#0x6E6]                                        ; +0x40, 0x75e7ec\nRET                                                                    ; +0x44, 0x75e7f0\nCMP             W2, #0xB56                                             ; +0x48, 0x75e7f4\nB.EQ            loc_75E89C                                             ; +0x4c, 0x75e7f8\nB.GT            loc_75E88C                                             ; +0x50, 0x75e7fc\nCMP             W2, #0x78F                                             ; +0x54, 0x75e800\nMOV             W1, #0xFFFFFFFE                                        ; +0x58, 0x75e804\nB.EQ            loc_75E7E0                                             ; +0x5c, 0x75e808\nCMP             W2, #0xB54                                             ; +0x60, 0x75e80c\nMOV             W1, #0xFFFFFFFC                                        ; +0x64, 0x75e810\nB.EQ            loc_75E7E0                                             ; +0x68, 0x75e814\nLDRB            W2, [X0,#0x6E4]                                        ; +0x6c, 0x75e818\nMOV             W1, #0                                                 ; +0x70, 0x75e81c\nCMP             W2, WZR                                                ; +0x74, 0x75e820\nCSINV           W1, W1, WZR, EQ                                        ; +0x78, 0x75e824\nSTRH            W1, [X0,#0x6E6]                                        ; +0x7c, 0x75e828\nRET                                                                    ; +0x80, 0x75e82c\nCMP             W2, #0x536                                             ; +0x84, 0x75e830\nMOV             W1, #4                                                 ; +0x88, 0x75e834\nB.EQ            loc_75E7E0                                             ; +0x8c, 0x75e838\nCMP             W2, #0x77D                                             ; +0x90, 0x75e83c\nMOV             W1, #0xFFFFFFFF                                        ; +0x94, 0x75e840\nB.NE            loc_75E818                                             ; +0x98, 0x75e844\nLDRB            W2, [X0,#0x6E4]                                        ; +0x9c, 0x75e848\nCMP             W2, WZR                                                ; +0xa0, 0x75e84c\nCSINV           W1, W1, WZR, EQ                                        ; +0xa4, 0x75e850\nSTRH            W1, [X0,#0x6E6]                                        ; +0xa8, 0x75e854\nRET                                                                    ; +0xac, 0x75e858\nLDRB            W2, [X0,#0x6E4]                                        ; +0xb0, 0x75e85c\nMOV             W1, #3                                                 ; +0xb4, 0x75e860\nCMP             W2, WZR                                                ; +0xb8, 0x75e864\nCSINV           W1, W1, WZR, EQ                                        ; +0xbc, 0x75e868\nSTRH            W1, [X0,#0x6E6]                                        ; +0xc0, 0x75e86c\nRET                                                                    ; +0xc4, 0x75e870\nLDRB            W2, [X0,#0x6E4]                                        ; +0xc8, 0x75e874\nMOV             W1, #0xFFFFFFFD                                        ; +0xcc, 0x75e878\nCMP             W2, WZR                                                ; +0xd0, 0x75e87c\nCSINV           W1, W1, WZR, EQ                                        ; +0xd4, 0x75e880\nSTRH            W1, [X0,#0x6E6]                                        ; +0xd8, 0x75e884\nRET                                                                    ; +0xdc, 0x75e888\nCMP             W2, #0xBCE                                             ; +0xe0, 0x75e88c\nB.EQ            loc_75E89C                                             ; +0xe4, 0x75e890\nCMP             W2, #0xBD3                                             ; +0xe8, 0x75e894\nB.NE            loc_75E818                                             ; +0xec, 0x75e898\nLDRB            W2, [X0,#0x6E4]                                        ; +0xf0, 0x75e89c\nMOV             W1, #0xFFFFFFFB                                        ; +0xf4, 0x75e8a0\nCMP             W2, WZR                                                ; +0xf8, 0x75e8a4\nCSINV           W1, W1, WZR, EQ                                        ; +0xfc, 0x75e8a8\nSTRH            W1, [X0,#0x6E6]                                        ; +0x100, 0x75e8ac\nRET                                                                    ; +0x104, 0x75e8b0", "xrefs": ["PlayLayer::addObject @ 0x5cc684", "DrawGridLayer::addToSpeedObjects @ 0x665184", "<???> @ 0x3d188"], "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"}