{"type": "func", "start": 5371196160, "end": 5371196394, "name": "GJEffectManager::resetTempGroupCommands", "pseudocode": "// \n// GJEffectManager::resetTempGroupCommands from 0x14025f300 to 0x14025f3ea (234 bytes)\n// \n// 5 xrefs:\n// > GJEffectManager::prepareMoveActions @ 0x14025f488\n// > LevelEditorLayer::updateDebugDraw @ 0x1402e776e\n// > <???> @ 0x140684dec\n// > <???> @ 0x140684e24\n// > <???> @ 0x1406cfef4\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 GJEffectManager::resetTempGroupCommands(GJEffectManager *a1, bool a2)\n{\n  std::_Vector_val<std::_Simple_types<GroupCommandObject2 *>>::pointer Myfirst; // rsi\n  std::_Vector_val<std::_Simple_types<GroupCommandObject2 *>>::pointer Mylast; // r14\n  std::vector<GroupCommandObject2 *> *p_m_unkVector530; // rdi\n  GroupCommandObject2 *v6; // rbx\n  unsigned __int64 v7; // rax\n  _BYTE *v8; // rdx\n  std::_Simple_types<GroupCommandObject2 *>::value_type *v9; // rax\n  std::_Simple_types<GroupCommandObject2 *>::value_type v10; // [rsp+40h] [rbp+8h] BYREF\n\n  Myfirst = a1->m_unkVector518._Mypair._Myval2._Myfirst;\n  Mylast = a1->m_unkVector518._Mypair._Myval2._Mylast;\n  if ( Myfirst != Mylast )\n  {\n    p_m_unkVector530 = &a1->m_unkVector530;\n    do\n    {\n      v6 = *Myfirst;\n      v7 = p_m_unkVector530->_Mypair._Myval2._Mylast - p_m_unkVector530->_Mypair._Myval2._Myfirst;\n      v10 = *Myfirst;\n      if ( v7 >= 0x3E8 )\n      {\n        if ( v6 )\n        {\n          sub_14005E430((__int64)&v6->m_remapKeys);\n          sub_140257B50(&v6->m_keyframes._Mypair._Myval2._Myfirst);\n          j_j_free(v6);\n        }\n      }\n      else\n      {\n        GroupCommandObject2::reset(v6);\n        v8 = p_m_unkVector530->_Mypair._Myval2._Mylast;\n        if ( v8 == (_BYTE *)p_m_unkVector530->_Mypair._Myval2._Myend )\n        {\n          sub_14012D2A0((const void **)&p_m_unkVector530->_Mypair._Myval2._Myfirst, v8, &v10);\n        }\n        else\n        {\n          *(_QWORD *)v8 = v6;\n          ++p_m_unkVector530->_Mypair._Myval2._Mylast;\n        }\n      }\n      ++Myfirst;\n    }\n    while ( Myfirst != Mylast );\n  }\n  v9 = a1->m_unkVector518._Mypair._Myval2._Myfirst;\n  if ( v9 != a1->m_unkVector518._Mypair._Myval2._Mylast )\n    a1->m_unkVector518._Mypair._Myval2._Mylast = v9;\n}", "assembly": "; \n; GJEffectManager::resetTempGroupCommands from 0x14025f300 to 0x14025f3ea (234 bytes)\n; \n; 5 xrefs:\n; > GJEffectManager::prepareMoveActions @ 0x14025f488\n; > LevelEditorLayer::updateDebugDraw @ 0x1402e776e\n; > <???> @ 0x140684dec\n; > <???> @ 0x140684e24\n; > <???> @ 0x1406cfef4\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\npush    rbp                                                            ; +0x0, 0x14025f300\nsub     rsp, 30h                                                       ; +0x2, 0x14025f302\nmov     [rsp+38h+arg_10], rsi                                          ; +0x6, 0x14025f306\nmov     rbp, rcx                                                       ; +0xb, 0x14025f30b\nmov     rsi, [rcx+5C0h]                                                ; +0xe, 0x14025f30e\nmov     [rsp+38h+var_18], r14                                          ; +0x15, 0x14025f315\nmov     r14, [rcx+5C8h]                                                ; +0x1a, 0x14025f31a\ncmp     rsi, r14                                                       ; +0x21, 0x14025f321\njz      loc_14025F3C3                                                  ; +0x24, 0x14025f324\nmov     [rsp+38h+arg_8], rbx                                           ; +0x2a, 0x14025f32a\nmov     [rsp+38h+var_10], rdi                                          ; +0x2f, 0x14025f32f\nlea     rdi, [rcx+5D8h]                                                ; +0x34, 0x14025f334\nnop     dword ptr [rax+rax+00h]                                        ; +0x3b, 0x14025f33b\nmov     rax, [rdi+8]                                                   ; +0x40, 0x14025f340\nsub     rax, [rdi]                                                     ; +0x44, 0x14025f344\nmov     rbx, [rsi]                                                     ; +0x47, 0x14025f347\nsar     rax, 3                                                         ; +0x4a, 0x14025f34a\nmov     [rsp+38h+arg_0], rbx                                           ; +0x4e, 0x14025f34e\ncmp     rax, 3E8h                                                      ; +0x53, 0x14025f353\njnb     short loc_14025F386                                            ; +0x59, 0x14025f359\nmov     rcx, rbx                                                       ; +0x5b, 0x14025f35b\ncall    GroupCommandObject2__reset                                     ; +0x5e, 0x14025f35e\nmov     rdx, [rdi+8]                                                   ; +0x63, 0x14025f363\ncmp     rdx, [rdi+10h]                                                 ; +0x67, 0x14025f367\njz      short loc_14025F377                                            ; +0x6b, 0x14025f36b\nmov     [rdx], rbx                                                     ; +0x6d, 0x14025f36d\nadd     qword ptr [rdi+8], 8                                           ; +0x70, 0x14025f370\njmp     short loc_14025F3B0                                            ; +0x75, 0x14025f375\nlea     r8, [rsp+38h+arg_0]                                            ; +0x77, 0x14025f377\nmov     rcx, rdi                                                       ; +0x7c, 0x14025f37c\ncall    sub_14012D2A0                                                  ; +0x7f, 0x14025f37f\njmp     short loc_14025F3B0                                            ; +0x84, 0x14025f384\ntest    rbx, rbx                                                       ; +0x86, 0x14025f386\njz      short loc_14025F3B0                                            ; +0x89, 0x14025f389\nlea     rcx, [rbx+1E8h]                                                ; +0x8b, 0x14025f38b\ncall    sub_14005E430                                                  ; +0x92, 0x14025f392\nlea     rcx, [rbx+1B8h]                                                ; +0x97, 0x14025f397\ncall    sub_140257B50                                                  ; +0x9e, 0x14025f39e\nmov     edx, 208h                                                      ; +0xa3, 0x14025f3a3\nmov     rcx, rbx; Block                                                ; +0xa8, 0x14025f3a8\ncall    j_j_free                                                       ; +0xab, 0x14025f3ab\nadd     rsi, 8                                                         ; +0xb0, 0x14025f3b0\ncmp     rsi, r14                                                       ; +0xb4, 0x14025f3b4\njnz     short loc_14025F340                                            ; +0xb7, 0x14025f3b7\nmov     rdi, [rsp+38h+var_10]                                          ; +0xb9, 0x14025f3b9\nmov     rbx, [rsp+38h+arg_8]                                           ; +0xbe, 0x14025f3be\nmov     rax, [rbp+5C0h]                                                ; +0xc3, 0x14025f3c3\nmov     r14, [rsp+38h+var_18]                                          ; +0xca, 0x14025f3ca\nmov     rsi, [rsp+38h+arg_10]                                          ; +0xcf, 0x14025f3cf\ncmp     rax, [rbp+5C8h]                                                ; +0xd4, 0x14025f3d4\njz      short loc_14025F3E4                                            ; +0xdb, 0x14025f3db\nmov     [rbp+5C8h], rax                                                ; +0xdd, 0x14025f3dd\nadd     rsp, 30h                                                       ; +0xe4, 0x14025f3e4\npop     rbp                                                            ; +0xe8, 0x14025f3e8\nretn                                                                   ; +0xe9, 0x14025f3e9", "xrefs": ["GJEffectManager::prepareMoveActions @ 0x14025f488", "LevelEditorLayer::updateDebugDraw @ 0x1402e776e", "<???> @ 0x140684dec", "<???> @ 0x140684e24", "<???> @ 0x1406cfef4"], "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"}