{"type": "func", "start": 4300131968, "end": 4300132176, "name": "GroupCommandObject2::step", "pseudocode": "// \n// GroupCommandObject2::step from 0x1004ece80 to 0x1004ecf50 (208 bytes)\n// \n// 2 xrefs:\n// > GJEffectManager::prepareMoveActions @ 0x1002e5b1d\n// > GJEffectManager::prepareMoveActions @ 0x1002e7183\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::step(GroupCommandObject2 *a1, float a2)\n{\n  double v2; // xmm1_8\n  int m_actionType1; // esi\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\n  if ( a1->m_disabled )\n    return;\n  v2 = a2 + a1->m_deltaTime;\n  a1->m_deltaTime = v2;\n  if ( a1->m_finished )\n    return;\n  if ( a1->m_alreadyUpdated )\n  {\n    a1->m_alreadyUpdated = 0;\n    m_actionType1 = a1->m_actionType1;\n    if ( m_actionType1 )\n      goto LABEL_5;\nLABEL_11:\n    m_duration = a1->m_duration;\n    if ( v2 < m_duration || m_duration == -1.0 )\n      return;\nLABEL_13:\n    a1->m_finished = 1;\n    return;\n  }\n  a1->m_deltaTimeInFloat = a2 + a1->m_deltaTimeInFloat;\n  m_actionType1 = a1->m_actionType1;\n  if ( !m_actionType1 )\n    goto LABEL_11;\nLABEL_5:\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  if ( m_deltaTimeInFloat > 0.0 && m_deltaTimeInFloat >= a1->m_duration )\n    goto LABEL_13;\n}", "assembly": "; \n; GroupCommandObject2::step from 0x1004ece80 to 0x1004ecf50 (208 bytes)\n; \n; 2 xrefs:\n; > GJEffectManager::prepareMoveActions @ 0x1002e5b1d\n; > GJEffectManager::prepareMoveActions @ 0x1002e7183\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+71h], 0                                          ; +0x0, 0x1004ece80\njnz     locret_1004ECF19                                               ; +0x4, 0x1004ece84\ncvtss2sd xmm1, xmm0                                                    ; +0xa, 0x1004ece8a\naddsd   xmm1, qword ptr [rdi+20h]                                      ; +0xe, 0x1004ece8e\nmovsd   qword ptr [rdi+20h], xmm1                                      ; +0x13, 0x1004ece93\ncmp     byte ptr [rdi+70h], 0                                          ; +0x18, 0x1004ece98\njnz     short locret_1004ECF19                                         ; +0x1c, 0x1004ece9c\ncmp     byte ptr [rdi+1B0h], 1                                         ; +0x1e, 0x1004ece9e\njnz     short loc_1004ECF1A                                            ; +0x25, 0x1004ecea5\nmov     byte ptr [rdi+1B0h], 0                                         ; +0x27, 0x1004ecea7\nmov     esi, [rdi+190h]                                                ; +0x2e, 0x1004eceae\ntest    esi, esi                                                       ; +0x34, 0x1004eceb4\njz      short loc_1004ECF34                                            ; +0x36, 0x1004eceb6\npush    rbp                                                            ; +0x38, 0x1004eceb8\nmov     rbp, rsp                                                       ; +0x39, 0x1004eceb9\npush    rbx                                                            ; +0x3c, 0x1004ecebc\npush    rax                                                            ; +0x3d, 0x1004ecebd\nmovsd   xmm0, qword ptr [rdi+198h]                                     ; +0x3e, 0x1004ecebe\ncvtsd2ss xmm0, xmm0                                                    ; +0x46, 0x1004ecec6\nmov     rbx, rdi                                                       ; +0x4a, 0x1004ececa\ncall    GroupCommandObject2__updateAction                              ; +0x4d, 0x1004ececd\nmov     rdi, rbx                                                       ; +0x52, 0x1004eced2\nmov     esi, [rbx+194h]                                                ; +0x55, 0x1004eced5\ntest    esi, esi                                                       ; +0x5b, 0x1004ecedb\njz      short loc_1004ECEF6                                            ; +0x5d, 0x1004ecedd\nmovsd   xmm0, qword ptr [rdi+1A0h]                                     ; +0x5f, 0x1004ecedf\ncvtsd2ss xmm0, xmm0                                                    ; +0x67, 0x1004ecee7\nmov     rdi, rbx                                                       ; +0x6b, 0x1004eceeb\ncall    GroupCommandObject2__updateAction                              ; +0x6e, 0x1004eceee\nmov     rdi, rbx                                                       ; +0x73, 0x1004ecef3\nmovss   xmm0, dword ptr [rdi+1ACh]                                     ; +0x76, 0x1004ecef6\nxorpd   xmm1, xmm1                                                     ; +0x7e, 0x1004ecefe\nucomiss xmm0, xmm1                                                     ; +0x82, 0x1004ecf02\nlea     rsp, [rsp+8]                                                   ; +0x85, 0x1004ecf05\npop     rbx                                                            ; +0x8a, 0x1004ecf0a\npop     rbp                                                            ; +0x8b, 0x1004ecf0b\njbe     short locret_1004ECF19                                         ; +0x8c, 0x1004ecf0c\ncvtss2sd xmm0, xmm0                                                    ; +0x8e, 0x1004ecf0e\nucomisd xmm0, qword ptr [rdi+18h]                                      ; +0x92, 0x1004ecf12\njnb     short loc_1004ECF4B                                            ; +0x97, 0x1004ecf17\nretn                                                                   ; +0x99, 0x1004ecf19\naddss   xmm0, dword ptr [rdi+1ACh]                                     ; +0x9a, 0x1004ecf1a\nmovss   dword ptr [rdi+1ACh], xmm0                                     ; +0xa2, 0x1004ecf22\nmov     esi, [rdi+190h]                                                ; +0xaa, 0x1004ecf2a\ntest    esi, esi                                                       ; +0xb0, 0x1004ecf30\njnz     short loc_1004ECEB8                                            ; +0xb2, 0x1004ecf32\nmovsd   xmm0, qword ptr [rdi+18h]                                      ; +0xb4, 0x1004ecf34\nucomisd xmm1, xmm0                                                     ; +0xb9, 0x1004ecf39\njb      short locret_1004ECF19                                         ; +0xbd, 0x1004ecf3d\nucomisd xmm0, cs:qword_100815D08                                       ; +0xbf, 0x1004ecf3f\njnz     short loc_1004ECF4B                                            ; +0xc7, 0x1004ecf47\njnp     short locret_1004ECF19                                         ; +0xc9, 0x1004ecf49\nmov     byte ptr [rdi+70h], 1                                          ; +0xcb, 0x1004ecf4b\nretn                                                                   ; +0xcf, 0x1004ecf4f", "xrefs": ["GJEffectManager::prepareMoveActions @ 0x1002e5b1d", "GJEffectManager::prepareMoveActions @ 0x1002e7183"], "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"}