{"type": "func", "start": 4295012188, "end": 4295012356, "name": "GroupCommandObject2::updateEffectAction", "pseudocode": "// \n// GroupCommandObject2::updateEffectAction from 0x10000af5c to 0x10000b004 (168 bytes)\n// \n// 1 xrefs:\n// > GroupCommandObject2::updateAction @ 0x10000ac98\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 __fastcall GroupCommandObject2::updateEffectAction(GroupCommandObject2 *a1, float a2, int a3)\n{\n  double v3; // d0\n  double v4; // d1\n  double v5; // d0\n  double v6; // d1\n  double v7; // d0\n  double v8; // d1\n\n  if ( a3 > 2 )\n  {\n    if ( a3 == 3 || a3 == 4 )\n    {\n      v5 = a2;\n      v6 = a1->m_currentRotateOrTransformDelta + v5 - a1->m_currentRotateOrTransformValue;\n      a1->m_currentRotateOrTransformValue = v5;\n      a1->m_currentRotateOrTransformDelta = v6;\n    }\n  }\n  else if ( a3 == 1 )\n  {\n    if ( !a1->m_lockedInX )\n    {\n      v7 = a2;\n      v8 = v7 - a1->m_currentXOffset;\n      a1->m_deltaX = a1->m_deltaX + v8;\n      a1->m_deltaX_3 = v8 + a1->m_deltaX_3;\n      a1->m_currentXOffset = v7;\n    }\n  }\n  else if ( a3 == 2 && !a1->m_lockedInY )\n  {\n    v3 = a2;\n    v4 = v3 - a1->m_currentYOffset;\n    a1->m_deltaY = a1->m_deltaY + v4;\n    a1->m_deltaY_3 = v4 + a1->m_deltaY_3;\n    a1->m_currentYOffset = v3;\n  }\n}", "assembly": "; \n; GroupCommandObject2::updateEffectAction from 0x10000af5c to 0x10000b004 (168 bytes)\n; \n; 1 xrefs:\n; > GroupCommandObject2::updateAction @ 0x10000ac98\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\nCMP             W1, #2                                                 ; +0x0, 0x10000af5c\nB.GT            loc_10000AFA8                                          ; +0x4, 0x10000af60\nCMP             W1, #1                                                 ; +0x8, 0x10000af64\nB.EQ            loc_10000AFD0                                          ; +0xc, 0x10000af68\nCMP             W1, #2                                                 ; +0x10, 0x10000af6c\nB.NE            locret_10000B000                                       ; +0x14, 0x10000af70\nLDRB            W8, [X0,#0x78]                                         ; +0x18, 0x10000af74\nTBNZ            W8, #0, locret_10000B000                               ; +0x1c, 0x10000af78\nFCVT            D0, S0                                                 ; +0x20, 0x10000af7c\nLDR             D1, [X0,#0x38]                                         ; +0x24, 0x10000af80\nFSUB            D1, D0, D1                                             ; +0x28, 0x10000af84\nLDR             D2, [X0,#0x48]                                         ; +0x2c, 0x10000af88\nFADD            D2, D2, D1                                             ; +0x30, 0x10000af8c\nSTR             D2, [X0,#0x48]                                         ; +0x34, 0x10000af90\nLDR             D2, [X0,#0x168]                                        ; +0x38, 0x10000af94\nFADD            D1, D1, D2                                             ; +0x3c, 0x10000af98\nSTR             D1, [X0,#0x168]                                        ; +0x40, 0x10000af9c\nSTR             D0, [X0,#0x38]                                         ; +0x44, 0x10000afa0\nRET                                                                    ; +0x48, 0x10000afa4\nCMP             W1, #3                                                 ; +0x4c, 0x10000afa8\nB.EQ            loc_10000AFB8                                          ; +0x50, 0x10000afac\nCMP             W1, #4                                                 ; +0x54, 0x10000afb0\nB.NE            locret_10000B000                                       ; +0x58, 0x10000afb4\nFCVT            D0, S0                                                 ; +0x5c, 0x10000afb8\nLDP             D1, D2, [X0,#0x90]                                     ; +0x60, 0x10000afbc\nFSUB            D1, D0, D1                                             ; +0x64, 0x10000afc0\nFADD            D1, D2, D1                                             ; +0x68, 0x10000afc4\nSTP             D0, D1, [X0,#0x90]                                     ; +0x6c, 0x10000afc8\nRET                                                                    ; +0x70, 0x10000afcc\nLDRB            W8, [X0,#0x77]                                         ; +0x74, 0x10000afd0\nTBNZ            W8, #0, locret_10000B000                               ; +0x78, 0x10000afd4\nFCVT            D0, S0                                                 ; +0x7c, 0x10000afd8\nLDR             D1, [X0,#0x30]                                         ; +0x80, 0x10000afdc\nFSUB            D1, D0, D1                                             ; +0x84, 0x10000afe0\nLDR             D2, [X0,#0x40]                                         ; +0x88, 0x10000afe4\nFADD            D2, D2, D1                                             ; +0x8c, 0x10000afe8\nSTR             D2, [X0,#0x40]                                         ; +0x90, 0x10000afec\nLDR             D2, [X0,#0x160]                                        ; +0x94, 0x10000aff0\nFADD            D1, D1, D2                                             ; +0x98, 0x10000aff4\nSTR             D1, [X0,#0x160]                                        ; +0x9c, 0x10000aff8\nSTR             D0, [X0,#0x30]                                         ; +0xa0, 0x10000affc\nRET                                                                    ; +0xa4, 0x10000b000", "xrefs": ["GroupCommandObject2::updateAction @ 0x10000ac98"], "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"}