{"type": "func", "start": 4300132528, "end": 4300132841, "name": "GroupCommandObject2::stepTransformCommand", "pseudocode": "// \n// GroupCommandObject2::stepTransformCommand from 0x1004ed0b0 to 0x1004ed1e9 (313 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::processDynamicObjectActions @ 0x1001449f9\n// > GJBaseGameLayer::processDynamicObjectActions @ 0x100144aff\n// > GJEffectManager::prepareMoveActions @ 0x1002e654a\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::stepTransformCommand(GroupCommandObject2 *a1, float a2, bool a3, bool a4)\n{\n  __m128 v4; // xmm0\n  double v5; // xmm1_8\n  int m_actionType1; // eax\n  bool v7; // r14\n  float m_actionValue1; // xmm0_4\n  int m_actionType2; // esi\n  float m_actionValue2; // xmm0_4\n  float m_deltaTimeInFloat; // xmm0_4\n  double m_duration; // xmm0_8\n  __int128 v13; // xmm1\n  double v14; // xmm0_8\n\n  if ( a1->m_finishRelated )\n  {\n    v4 = *(__m128 *)&a1->m_someInterpValue1RelatedOne;\n    *(__m128 *)&a1->m_someInterpValue1RelatedZero = v4;\n    _mm_storel_ps(&a1->m_someInterpValue2RelatedOne, v4);\n    return;\n  }\n  if ( !a4 && !a1->m_disabled )\n  {\n    v5 = a2 + a1->m_deltaTime;\n    a1->m_deltaTime = v5;\n    if ( !a1->m_finished )\n    {\n      if ( a1->m_alreadyUpdated )\n      {\n        a1->m_alreadyUpdated = 0;\n        m_actionType1 = a1->m_actionType1;\n        if ( m_actionType1 )\n          goto LABEL_8;\n      }\n      else\n      {\n        a1->m_deltaTimeInFloat = a2 + a1->m_deltaTimeInFloat;\n        m_actionType1 = a1->m_actionType1;\n        if ( m_actionType1 )\n        {\nLABEL_8:\n          v7 = a3;\n          m_actionValue1 = a1->m_actionValue1;\n          GroupCommandObject2::updateAction(a1, m_actionType1, m_actionValue1);\n          m_actionType2 = a1->m_actionType2;\n          if ( m_actionType2 )\n          {\n            m_actionValue2 = a1->m_actionValue2;\n            GroupCommandObject2::updateAction(a1, m_actionType2, m_actionValue2);\n          }\n          m_deltaTimeInFloat = a1->m_deltaTimeInFloat;\n          a3 = v7;\n          if ( m_deltaTimeInFloat <= 0.0 || m_deltaTimeInFloat < a1->m_duration )\n            goto LABEL_17;\nLABEL_16:\n          a1->m_finished = 1;\n          goto LABEL_17;\n        }\n      }\n      m_duration = a1->m_duration;\n      if ( v5 < m_duration || m_duration == -1.0 )\n        goto LABEL_17;\n      goto LABEL_16;\n    }\n  }\nLABEL_17:\n  v13 = *(_OWORD *)&a1->m_someInterpValue1RelatedOne;\n  v14 = a1->m_currentRotateOrTransformDelta + *(double *)&v13;\n  a1->m_someInterpValue1RelatedOne = v14;\n  *(_OWORD *)&a1->m_someInterpValue1RelatedZero = v13;\n  if ( !a3 )\n    a1->m_someInterpValue2RelatedOne = v14;\n}", "assembly": "; \n; GroupCommandObject2::stepTransformCommand from 0x1004ed0b0 to 0x1004ed1e9 (313 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::processDynamicObjectActions @ 0x1001449f9\n; > GJBaseGameLayer::processDynamicObjectActions @ 0x100144aff\n; > GJEffectManager::prepareMoveActions @ 0x1002e654a\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     byte ptr [rdi+72h], 0                                          ; +0x0, 0x1004ed0b0\njz      short loc_1004ED0CC                                            ; +0x4, 0x1004ed0b4\nmovups  xmm0, xmmword ptr [rdi+0A0h]                                   ; +0x6, 0x1004ed0b6\nmovups  xmmword ptr [rdi+110h], xmm0                                   ; +0xd, 0x1004ed0bd\nmovlps  qword ptr [rdi+0A8h], xmm0                                     ; +0x14, 0x1004ed0c4\nretn                                                                   ; +0x1b, 0x1004ed0cb\ntest    dl, dl                                                         ; +0x1c, 0x1004ed0cc\njnz     loc_1004ED1B6                                                  ; +0x1e, 0x1004ed0ce\ncmp     byte ptr [rdi+71h], 0                                          ; +0x24, 0x1004ed0d4\njnz     loc_1004ED1B6                                                  ; +0x28, 0x1004ed0d8\ncvtss2sd xmm1, xmm0                                                    ; +0x2e, 0x1004ed0de\naddsd   xmm1, qword ptr [rdi+20h]                                      ; +0x32, 0x1004ed0e2\nmovsd   qword ptr [rdi+20h], xmm1                                      ; +0x37, 0x1004ed0e7\ncmp     byte ptr [rdi+70h], 0                                          ; +0x3c, 0x1004ed0ec\njnz     loc_1004ED1B6                                                  ; +0x40, 0x1004ed0f0\ncmp     byte ptr [rdi+1B0h], 1                                         ; +0x46, 0x1004ed0f6\njnz     short loc_1004ED17D                                            ; +0x4d, 0x1004ed0fd\nmov     byte ptr [rdi+1B0h], 0                                         ; +0x4f, 0x1004ed0ff\nmov     eax, [rdi+190h]                                                ; +0x56, 0x1004ed106\ntest    eax, eax                                                       ; +0x5c, 0x1004ed10c\njz      loc_1004ED19B                                                  ; +0x5e, 0x1004ed10e\npush    rbp                                                            ; +0x64, 0x1004ed114\nmov     rbp, rsp                                                       ; +0x65, 0x1004ed115\npush    r14                                                            ; +0x68, 0x1004ed118\npush    rbx                                                            ; +0x6a, 0x1004ed11a\nmov     r14d, esi                                                      ; +0x6b, 0x1004ed11b\nmovsd   xmm0, qword ptr [rdi+198h]                                     ; +0x6e, 0x1004ed11e\ncvtsd2ss xmm0, xmm0                                                    ; +0x76, 0x1004ed126\nmov     rbx, rdi                                                       ; +0x7a, 0x1004ed12a\nmov     esi, eax                                                       ; +0x7d, 0x1004ed12d\ncall    GroupCommandObject2__updateAction                              ; +0x7f, 0x1004ed12f\nmov     rdi, rbx                                                       ; +0x84, 0x1004ed134\nmov     esi, [rbx+194h]                                                ; +0x87, 0x1004ed137\ntest    esi, esi                                                       ; +0x8d, 0x1004ed13d\njz      short loc_1004ED158                                            ; +0x8f, 0x1004ed13f\nmovsd   xmm0, qword ptr [rdi+1A0h]                                     ; +0x91, 0x1004ed141\ncvtsd2ss xmm0, xmm0                                                    ; +0x99, 0x1004ed149\nmov     rdi, rbx                                                       ; +0x9d, 0x1004ed14d\ncall    GroupCommandObject2__updateAction                              ; +0xa0, 0x1004ed150\nmov     rdi, rbx                                                       ; +0xa5, 0x1004ed155\nmovss   xmm0, dword ptr [rdi+1ACh]                                     ; +0xa8, 0x1004ed158\nxorpd   xmm1, xmm1                                                     ; +0xb0, 0x1004ed160\nucomiss xmm0, xmm1                                                     ; +0xb4, 0x1004ed164\nmov     esi, r14d                                                      ; +0xb7, 0x1004ed167\npop     rbx                                                            ; +0xba, 0x1004ed16a\npop     r14                                                            ; +0xbb, 0x1004ed16b\npop     rbp                                                            ; +0xbd, 0x1004ed16d\njbe     short loc_1004ED1B6                                            ; +0xbe, 0x1004ed16e\ncvtss2sd xmm0, xmm0                                                    ; +0xc0, 0x1004ed170\nucomisd xmm0, qword ptr [rdi+18h]                                      ; +0xc4, 0x1004ed174\njnb     short loc_1004ED1B2                                            ; +0xc9, 0x1004ed179\njmp     short loc_1004ED1B6                                            ; +0xcb, 0x1004ed17b\naddss   xmm0, dword ptr [rdi+1ACh]                                     ; +0xcd, 0x1004ed17d\nmovss   dword ptr [rdi+1ACh], xmm0                                     ; +0xd5, 0x1004ed185\nmov     eax, [rdi+190h]                                                ; +0xdd, 0x1004ed18d\ntest    eax, eax                                                       ; +0xe3, 0x1004ed193\njnz     loc_1004ED114                                                  ; +0xe5, 0x1004ed195\nmovsd   xmm0, qword ptr [rdi+18h]                                      ; +0xeb, 0x1004ed19b\nucomisd xmm1, xmm0                                                     ; +0xf0, 0x1004ed1a0\njb      short loc_1004ED1B6                                            ; +0xf4, 0x1004ed1a4\nucomisd xmm0, cs:qword_100815D08                                       ; +0xf6, 0x1004ed1a6\njnz     short loc_1004ED1B2                                            ; +0xfe, 0x1004ed1ae\njnp     short loc_1004ED1B6                                            ; +0x100, 0x1004ed1b0\nmov     byte ptr [rdi+70h], 1                                          ; +0x102, 0x1004ed1b2\nmovupd  xmm1, xmmword ptr [rdi+0A0h]                                   ; +0x106, 0x1004ed1b6\nmovsd   xmm0, qword ptr [rdi+98h]                                      ; +0x10e, 0x1004ed1be\naddsd   xmm0, xmm1                                                     ; +0x116, 0x1004ed1c6\nmovsd   qword ptr [rdi+0A0h], xmm0                                     ; +0x11a, 0x1004ed1ca\nmovupd  xmmword ptr [rdi+110h], xmm1                                   ; +0x122, 0x1004ed1d2\ntest    sil, sil                                                       ; +0x12a, 0x1004ed1da\njz      short loc_1004ED1E0                                            ; +0x12d, 0x1004ed1dd\nretn                                                                   ; +0x12f, 0x1004ed1df\nmovsd   qword ptr [rdi+0A8h], xmm0                                     ; +0x130, 0x1004ed1e0\nretn                                                                   ; +0x138, 0x1004ed1e8", "xrefs": ["GJBaseGameLayer::processDynamicObjectActions @ 0x1001449f9", "GJBaseGameLayer::processDynamicObjectActions @ 0x100144aff", "GJEffectManager::prepareMoveActions @ 0x1002e654a"], "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"}