{"type": "func", "start": 4296240704, "end": 4296240950, "name": "GJBaseGameLayer::controlDynamicMoveCommand", "pseudocode": "// \n// GJBaseGameLayer::controlDynamicMoveCommand from 0x100136e40 to 0x100136f36 (246 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::controlTriggersInGroup @ 0x100136526\n// > GJBaseGameLayer::controlTriggersWithControlID @ 0x100136fa7\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 GJBaseGameLayer::controlDynamicMoveCommand(\n        GJBaseGameLayer *a1,\n        EffectGameObject *a2,\n        int a3,\n        GJActionCommand a4)\n{\n  std::__vector_base<DynamicObjectAction>::pointer begin; // rax\n  std::__vector_base<DynamicObjectAction>::pointer end; // rdi\n\n  begin = a1->m_gameState.m_dynamicMoveActions.__begin_;\n  end = a1->m_gameState.m_dynamicMoveActions.__end_;\n  if ( begin != end )\n  {\n    if ( a3 == -1 )\n    {\n      if ( a4 )\n      {\n        if ( a4 == Pause )\n        {\n          do\n          {\n            if ( begin->m_gameObject1 == a2 )\n              *(_WORD *)&begin->m_unkBool3 = 257;\n            ++begin;\n          }\n          while ( begin != end );\n        }\n        else if ( a4 == Resume )\n        {\n          do\n          {\n            if ( begin->m_gameObject1 == a2 )\n              *(_WORD *)&begin->m_unkBool3 = 0;\n            ++begin;\n          }\n          while ( begin != end );\n        }\n      }\n      else\n      {\n        do\n        {\n          if ( begin->m_gameObject1 == a2 )\n            begin->m_unkBool2 = 1;\n          ++begin;\n        }\n        while ( begin != end );\n      }\n    }\n    else if ( a4 )\n    {\n      if ( a4 == Pause )\n      {\n        do\n        {\n          if ( begin->m_controlID == a3 )\n            *(_WORD *)&begin->m_unkBool3 = 257;\n          ++begin;\n        }\n        while ( begin != end );\n      }\n      else if ( a4 == Resume )\n      {\n        do\n        {\n          if ( begin->m_controlID == a3 )\n            *(_WORD *)&begin->m_unkBool3 = 0;\n          ++begin;\n        }\n        while ( begin != end );\n      }\n    }\n    else\n    {\n      do\n      {\n        if ( begin->m_controlID == a3 )\n          begin->m_unkBool2 = 1;\n        ++begin;\n      }\n      while ( begin != end );\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::controlDynamicMoveCommand from 0x100136e40 to 0x100136f36 (246 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::controlTriggersInGroup @ 0x100136526\n; > GJBaseGameLayer::controlTriggersWithControlID @ 0x100136fa7\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, 0x100136e40\nmov     rbp, rsp                                                       ; +0x1, 0x100136e41\nmov     rax, [rdi+688h]                                                ; +0x4, 0x100136e44\nmov     rdi, [rdi+690h]                                                ; +0xb, 0x100136e4b\ncmp     rax, rdi                                                       ; +0x12, 0x100136e52\njz      short loc_100136ED4                                            ; +0x15, 0x100136e55\ncmp     edx, 0FFFFFFFFh                                                ; +0x17, 0x100136e57\njz      short loc_100136EC6                                            ; +0x1a, 0x100136e5a\ntest    ecx, ecx                                                       ; +0x1c, 0x100136e5c\njz      short loc_100136E99                                            ; +0x1e, 0x100136e5e\ncmp     ecx, 1                                                         ; +0x20, 0x100136e60\njz      short loc_100136E79                                            ; +0x23, 0x100136e63\ncmp     ecx, 2                                                         ; +0x25, 0x100136e65\njz      short loc_100136EB9                                            ; +0x28, 0x100136e68\njmp     short loc_100136ED4                                            ; +0x2a, 0x100136e6a\nalign 10h                                                              ; +0x2c, 0x100136e6c\nadd     rax, 60h ; '`'                                                 ; +0x30, 0x100136e70\ncmp     rax, rdi                                                       ; +0x34, 0x100136e74\njz      short loc_100136ED4                                            ; +0x37, 0x100136e77\ncmp     [rax+50h], edx                                                 ; +0x39, 0x100136e79\njnz     short loc_100136E70                                            ; +0x3c, 0x100136e7c\nmov     word ptr [rax+4Eh], 101h                                       ; +0x3e, 0x100136e7e\njmp     short loc_100136E70                                            ; +0x44, 0x100136e84\nalign 10h                                                              ; +0x46, 0x100136e86\nadd     rax, 60h ; '`'                                                 ; +0x50, 0x100136e90\ncmp     rax, rdi                                                       ; +0x54, 0x100136e94\njz      short loc_100136ED4                                            ; +0x57, 0x100136e97\ncmp     [rax+50h], edx                                                 ; +0x59, 0x100136e99\njnz     short loc_100136E90                                            ; +0x5c, 0x100136e9c\nmov     byte ptr [rax+4Dh], 1                                          ; +0x5e, 0x100136e9e\njmp     short loc_100136E90                                            ; +0x62, 0x100136ea2\nalign 10h                                                              ; +0x64, 0x100136ea4\nadd     rax, 60h ; '`'                                                 ; +0x70, 0x100136eb0\ncmp     rax, rdi                                                       ; +0x74, 0x100136eb4\njz      short loc_100136ED4                                            ; +0x77, 0x100136eb7\ncmp     [rax+50h], edx                                                 ; +0x79, 0x100136eb9\njnz     short loc_100136EB0                                            ; +0x7c, 0x100136ebc\nmov     word ptr [rax+4Eh], 0                                          ; +0x7e, 0x100136ebe\njmp     short loc_100136EB0                                            ; +0x84, 0x100136ec4\ntest    ecx, ecx                                                       ; +0x86, 0x100136ec6\njz      short loc_100136F09                                            ; +0x88, 0x100136ec8\ncmp     ecx, 1                                                         ; +0x8a, 0x100136eca\njz      short loc_100136EE9                                            ; +0x8d, 0x100136ecd\ncmp     ecx, 2                                                         ; +0x8f, 0x100136ecf\njz      short loc_100136F29                                            ; +0x92, 0x100136ed2\npop     rbp                                                            ; +0x94, 0x100136ed4\nretn                                                                   ; +0x95, 0x100136ed5\nalign 20h                                                              ; +0x96, 0x100136ed6\nadd     rax, 60h ; '`'                                                 ; +0xa0, 0x100136ee0\ncmp     rax, rdi                                                       ; +0xa4, 0x100136ee4\njz      short loc_100136ED4                                            ; +0xa7, 0x100136ee7\ncmp     [rax], rsi                                                     ; +0xa9, 0x100136ee9\njnz     short loc_100136EE0                                            ; +0xac, 0x100136eec\nmov     word ptr [rax+4Eh], 101h                                       ; +0xae, 0x100136eee\njmp     short loc_100136EE0                                            ; +0xb4, 0x100136ef4\nalign 20h                                                              ; +0xb6, 0x100136ef6\nadd     rax, 60h ; '`'                                                 ; +0xc0, 0x100136f00\ncmp     rax, rdi                                                       ; +0xc4, 0x100136f04\njz      short loc_100136ED4                                            ; +0xc7, 0x100136f07\ncmp     [rax], rsi                                                     ; +0xc9, 0x100136f09\njnz     short loc_100136F00                                            ; +0xcc, 0x100136f0c\nmov     byte ptr [rax+4Dh], 1                                          ; +0xce, 0x100136f0e\njmp     short loc_100136F00                                            ; +0xd2, 0x100136f12\nalign 20h                                                              ; +0xd4, 0x100136f14\nadd     rax, 60h ; '`'                                                 ; +0xe0, 0x100136f20\ncmp     rax, rdi                                                       ; +0xe4, 0x100136f24\njz      short loc_100136ED4                                            ; +0xe7, 0x100136f27\ncmp     [rax], rsi                                                     ; +0xe9, 0x100136f29\njnz     short loc_100136F20                                            ; +0xec, 0x100136f2c\nmov     word ptr [rax+4Eh], 0                                          ; +0xee, 0x100136f2e\njmp     short loc_100136F20                                            ; +0xf4, 0x100136f34", "xrefs": ["GJBaseGameLayer::controlTriggersInGroup @ 0x100136526", "GJBaseGameLayer::controlTriggersWithControlID @ 0x100136fa7"], "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"}