{"type": "func", "start": 5370929552, "end": 5370930961, "name": "GJBaseGameLayer::controlTriggersInGroup", "pseudocode": "// \n// GJBaseGameLayer::controlTriggersInGroup from 0x14021e190 to 0x14021e711 (1409 bytes)\n// \n// 2 xrefs:\n// > TriggerControlGameObject::triggerObject @ 0x1404c3340\n// > <???> @ 0x1406cd3f8\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\n// Hidden C++ exception states: #wind=2\nvoid GJBaseGameLayer::controlTriggersInGroup(GJBaseGameLayer *a1, int a2, GJActionCommand a3)\n{\n  cocos2d::CCArray *Group; // rax\n  cocos2d::ccArray *data; // rax\n  __int64 num; // rdx\n  EnterEffectObject **arr; // rsi\n  EnterEffectObject **v9; // rbp\n  EnterEffectObject *v10; // rdi\n  int m_objectID; // ecx\n  int v12; // edi\n  std::_List_val<std::_List_simple_types<std::pair<const int, GJValueTween>>>::_Nodeptr Myhead; // rax\n  __int64 *v14; // rdx\n  int m_lengthVariance; // eax\n  struct cocos2d::CCObject *v16; // rax\n  struct cocos2d::CCObject *v17; // rdi\n  GJBaseGameLayer *v18; // rcx\n  std::_Vector_val<std::_Simple_types<AdvancedFollowInstance>>::pointer Mylast; // rcx\n  std::_Vector_val<std::_Simple_types<AdvancedFollowInstance>>::pointer Myfirst; // rax\n  __int64 v21; // rax\n  int *v22; // r14\n  int *v23; // r15\n  FMODAudioEngine *v24; // rsi\n  __int64 v25; // rax\n  __int64 v26; // rax\n  __int64 v27; // rcx\n  __int64 v28; // rax\n  std::_Vector_val<std::_Simple_types<DynamicObjectAction>>::pointer v29; // rcx\n  std::_Vector_val<std::_Simple_types<DynamicObjectAction>>::pointer i; // rax\n  std::_Vector_val<std::_Simple_types<DynamicObjectAction>>::pointer v31; // rcx\n  std::_Vector_val<std::_Simple_types<DynamicObjectAction>>::pointer j; // rax\n  int v33; // [rsp+20h] [rbp-88h] BYREF\n  _DWORD v34[2]; // [rsp+28h] [rbp-80h] BYREF\n  EnterEffectObject **v35; // [rsp+30h] [rbp-78h]\n  EnterEffectObject **v36; // [rsp+38h] [rbp-70h]\n  char v37[8]; // [rsp+40h] [rbp-68h] BYREF\n  FMODAudioEngine *v38; // [rsp+48h] [rbp-60h]\n  char v39[16]; // [rsp+50h] [rbp-58h] BYREF\n  char v40[16]; // [rsp+60h] [rbp-48h] BYREF\n  char v41[16]; // [rsp+70h] [rbp-38h] BYREF\n  int m_uniqueID; // [rsp+C8h] [rbp+20h] BYREF\n\n  Group = GJBaseGameLayer::getGroup(a1, a2);\n  if ( Group )\n  {\n    data = Group->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = (EnterEffectObject **)data->arr;\n      v35 = arr;\n      v9 = &arr[num - 1];\n      v36 = v9;\n      while ( arr <= v9 )\n      {\n        v10 = *arr;\n        if ( !*arr )\n          return;\n        if ( v10->m_canBeControlled )\n        {\n          m_objectID = v10->m_objectID;\n          if ( m_objectID > 2903 )\n          {\n            if ( m_objectID <= 3602 )\n            {\n              if ( m_objectID == 3602 )\n              {\n                m_uniqueID = v10->m_uniqueID;\n                v21 = sub_140250040(&a1->m_gameState.m_unkUMap8, v39, &m_uniqueID);\n                v22 = *(int **)(*(_QWORD *)v21 + 24LL);\n                v23 = *(int **)(*(_QWORD *)v21 + 32LL);\n                if ( v22 != v23 )\n                {\n                  v34[1] = 0;\n                  do\n                  {\n                    v24 = (FMODAudioEngine *)qword_1406C2E88;\n                    if ( !qword_1406C2E88 )\n                    {\n                      v38 = (FMODAudioEngine *)operator new(0x888u);\n                      qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v38);\n                      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);\n                      v24 = (FMODAudioEngine *)qword_1406C2E88;\n                    }\n                    v33 = *v22;\n                    v25 = sub_140060FD0((__int64)&v24->m_channelIDToChannel, (__int64)v40, (unsigned __int8 *)&v33);\n                    FMODAudioEngine::stopChannel_1(v24, *(FMOD::Channel **)(*(_QWORD *)v25 + 24LL), 0, 0.0);\n                    v34[0] = *v22;\n                    sub_140249E30(&a1->m_gameState.m_proximityVolumeRelated, v34);\n                    ++v22;\n                  }\n                  while ( v22 != v23 );\n                  arr = v35;\n                  v9 = v36;\n                }\n                m_uniqueID = v10->m_uniqueID;\n                v26 = sub_140250040(&a1->m_gameState.m_unkUMap8, v41, &m_uniqueID);\n                v27 = *(_QWORD *)v26;\n                v28 = *(_QWORD *)(*(_QWORD *)v26 + 24LL);\n                if ( v28 != *(_QWORD *)(v27 + 32) )\n                  *(_QWORD *)(v27 + 32) = v28;\n                goto LABEL_82;\n              }\n              v18 = (GJBaseGameLayer *)(unsigned int)(m_objectID - 2904);\n              switch ( (int)v18 )\n              {\n                case 0:\n                case 1:\n                case 3:\n                case 5:\n                case 6:\n                case 7:\n                case 8:\n                case 9:\n                case 10:\n                case 11:\n                case 12:\n                case 13:\n                case 15:\n                case 16:\n                case 17:\n                case 18:\n                case 19:\n                case 20:\n                  goto LABEL_82;\n                case 95:\n                  goto LABEL_12;\n                case 102:\n                  GJBaseGameLayer::controlAreaEffect(v18, *arr, &a1->m_gameState.m_moveEffectInstances, a3);\n                  goto LABEL_82;\n                case 103:\n                  GJBaseGameLayer::controlAreaEffect(v18, *arr, &a1->m_gameState.m_rotateEffectInstances, a3);\n                  goto LABEL_82;\n                case 104:\n                  GJBaseGameLayer::controlAreaEffect(v18, *arr, &a1->m_gameState.m_scaleEffectInstances, a3);\n                  goto LABEL_82;\n                case 105:\n                  GJBaseGameLayer::controlAreaEffect(v18, *arr, &a1->m_gameState.m_fadeEffectInstances, a3);\n                  goto LABEL_82;\n                case 106:\n                  GJBaseGameLayer::controlAreaEffect(v18, *arr, &a1->m_gameState.m_tintEffectInstances, a3);\n                  goto LABEL_82;\n                case 112:\n                  Mylast = a1->m_gameState.m_advanceFollowInstances._Mypair._Myval2._Mylast;\n                  Myfirst = a1->m_gameState.m_advanceFollowInstances._Mypair._Myval2._Myfirst;\n                  if ( Myfirst == Mylast )\n                    goto LABEL_82;\n                  break;\n                default:\n                  goto LABEL_80;\n              }\n              while ( 2 )\n              {\n                if ( (EnterEffectObject *)Myfirst->m_gameObject == v10 )\n                {\n                  switch ( a3 )\n                  {\n                    case Stop:\n                      Myfirst->m_started = 1;\n                      goto LABEL_38;\n                    case Pause:\n                      *(_WORD *)&Myfirst->m_finished = 257;\n                      break;\n                    case Resume:\nLABEL_38:\n                      *(_WORD *)&Myfirst->m_finished = 0;\n                      break;\n                  }\n                }\n                if ( ++Myfirst == Mylast )\n                  goto LABEL_82;\n                continue;\n              }\n            }\n            if ( m_objectID != 3604 )\n              goto LABEL_57;\n            GJBaseGameLayer::controlEventLink(a1, v10->m_uniqueID, -1, a3);\n          }\n          else\n          {\n            switch ( m_objectID )\n            {\n              case 2903:\n                if ( a3 == Resume )\n                {\n                  GJBaseGameLayer::triggerGradientCommand(a1, (GradientTriggerObject *)*arr);\n                }\n                else\n                {\n                  m_lengthVariance = v10->m_lengthVariance;\n                  if ( m_lengthVariance > 999 )\n                    m_lengthVariance = 999;\n                  v16 = cocos2d::CCDictionary::objectForKey(a1->m_gradientLayers, m_lengthVariance);\n                  v17 = v16;\n                  if ( v16 )\n                  {\n                    v16->__vftable[7].copyWithZone(v16, nullptr);\n                    *(_QWORD *)&v17[10].m_uAutoReleaseCount = 0;\n                  }\n                }\n                break;\n              case 1615:\n                v10->m_relative = a3 != Resume;\n                break;\n              case 1913:\n              case 1916:\n              case 2015:\nLABEL_12:\n                v12 = v10->m_uniqueID;\n                Myhead = a1->m_gameState.m_tweenActions._List._Mypair._Myval2._Myhead;\n                v14 = *(__int64 **)Myhead;\n                if ( *(std::_List_val<std::_List_simple_types<std::pair<const int, GJValueTween>>>::_Nodeptr *)Myhead != Myhead )\n                {\n                  while ( 1 )\n                  {\n                    if ( *((_DWORD *)v14 + 13) != v12 )\n                      goto LABEL_45;\n                    if ( a3 )\n                      break;\n                    v14 = *(__int64 **)sub_14024D170(&a1->m_gameState.m_tweenActions, v37, v14);\nLABEL_46:\n                    if ( v14 == (__int64 *)a1->m_gameState.m_tweenActions._List._Mypair._Myval2._Myhead )\n                      goto LABEL_82;\n                  }\n                  if ( a3 == Pause )\n                  {\n                    *((_BYTE *)v14 + 49) = 1;\n                  }\n                  else if ( a3 == Resume )\n                  {\n                    *((_BYTE *)v14 + 49) = 0;\n                  }\nLABEL_45:\n                  v14 = (__int64 *)*v14;\n                  goto LABEL_46;\n                }\n                break;\n              default:\nLABEL_57:\n                if ( m_objectID == 1346 )\n                {\n                  if ( v10->m_isDynamicMode )\n                  {\n                    v29 = a1->m_gameState.m_dynamicRotateActions._Mypair._Myval2._Mylast;\n                    for ( i = a1->m_gameState.m_dynamicRotateActions._Mypair._Myval2._Myfirst; i != v29; ++i )\n                    {\n                      if ( i->m_gameObject1 == v10 )\n                      {\n                        if ( a3 )\n                        {\n                          if ( a3 == Pause )\n                          {\n                            *(_WORD *)&i->m_unkBool3 = 257;\n                          }\n                          else if ( a3 == Resume )\n                          {\n                            *(_WORD *)&i->m_unkBool3 = 0;\n                          }\n                        }\n                        else\n                        {\n                          i->m_unkBool2 = 1;\n                        }\n                      }\n                    }\n                  }\n                }\n                else if ( m_objectID == 901 && v10->m_isDynamicMode )\n                {\n                  v31 = a1->m_gameState.m_dynamicMoveActions._Mypair._Myval2._Mylast;\n                  for ( j = a1->m_gameState.m_dynamicMoveActions._Mypair._Myval2._Myfirst; j != v31; ++j )\n                  {\n                    if ( j->m_gameObject1 == v10 )\n                    {\n                      if ( a3 )\n                      {\n                        if ( a3 == Pause )\n                        {\n                          *(_WORD *)&j->m_unkBool3 = 257;\n                        }\n                        else if ( a3 == Resume )\n                        {\n                          *(_WORD *)&j->m_unkBool3 = 0;\n                        }\n                      }\n                      else\n                      {\n                        j->m_unkBool2 = 1;\n                      }\n                    }\n                  }\n                }\nLABEL_80:\n                GJEffectManager::controlActionsForTrigger(a1->m_effectManager, v10, a3);\n                break;\n            }\n          }\n        }\nLABEL_82:\n        v35 = ++arr;\n      }\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::controlTriggersInGroup from 0x14021e190 to 0x14021e711 (1409 bytes)\n; \n; 2 xrefs:\n; > TriggerControlGameObject::triggerObject @ 0x1404c3340\n; > <???> @ 0x1406cd3f8\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14021e190\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14021e195\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14021e19a\npush    rdi                                                            ; +0xf, 0x14021e19f\npush    r12                                                            ; +0x10, 0x14021e1a0\npush    r13                                                            ; +0x12, 0x14021e1a2\npush    r14                                                            ; +0x14, 0x14021e1a4\npush    r15                                                            ; +0x16, 0x14021e1a6\nsub     rsp, 80h                                                       ; +0x18, 0x14021e1a8\nmov     ebx, r8d                                                       ; +0x1f, 0x14021e1af\nmov     r13, rcx                                                       ; +0x22, 0x14021e1b2\ncall    GJBaseGameLayer__getGroup                                      ; +0x25, 0x14021e1b5\ntest    rax, rax                                                       ; +0x2a, 0x14021e1ba\njz      loc_14021E65A                                                  ; +0x2d, 0x14021e1bd\nmov     rax, [rax+38h]                                                 ; +0x33, 0x14021e1c3\nmov     edx, [rax]                                                     ; +0x37, 0x14021e1c7\ntest    edx, edx                                                       ; +0x39, 0x14021e1c9\njz      loc_14021E65A                                                  ; +0x3b, 0x14021e1cb\nmov     rsi, [rax+10h]                                                 ; +0x41, 0x14021e1d1\nmov     [rsp+0A8h+var_78], rsi                                         ; +0x45, 0x14021e1d5\nlea     rbp, [rdx-1]                                                   ; +0x4a, 0x14021e1da\nlea     rbp, [rsi+rbp*8]                                               ; +0x4e, 0x14021e1de\nmov     [rsp+0A8h+var_70], rbp                                         ; +0x52, 0x14021e1e2\ncmp     rsi, rbp                                                       ; +0x57, 0x14021e1e7\nja      loc_14021E65A                                                  ; +0x5a, 0x14021e1ea\nmov     r8d, 3E7h                                                      ; +0x60, 0x14021e1f0\nlea     rdx, cs:140000000h                                             ; +0x66, 0x14021e1f6\nnop     dword ptr [rax]                                                ; +0x6d, 0x14021e1fd\nmov     rdi, [rsi]                                                     ; +0x70, 0x14021e200\ntest    rdi, rdi                                                       ; +0x73, 0x14021e203\njz      loc_14021E65A                                                  ; +0x76, 0x14021e206\ncmp     byte ptr [rdi+4F0h], 0                                         ; +0x7c, 0x14021e20c\njz      loc_14021E648; jumptable 000000014021E337 cases 2904,2905,2907,2909-2917,2919-2924 ; +0x83, 0x14021e213\nmov     ecx, [rdi+40Ch]                                                ; +0x89, 0x14021e219\ncmp     ecx, 0B57h                                                     ; +0x8f, 0x14021e21f\njg      loc_14021E301                                                  ; +0x95, 0x14021e225\njz      short loc_14021E2A4                                            ; +0x9b, 0x14021e22b\nmov     edx, ecx                                                       ; +0x9d, 0x14021e22d\nsub     edx, 64Fh                                                      ; +0x9f, 0x14021e22f\njz      short loc_14021E293                                            ; +0xa5, 0x14021e235\nsub     edx, 12Ah                                                      ; +0xa7, 0x14021e237\njz      short loc_14021E24D; jumptable 000000014021E337 case 2999      ; +0xad, 0x14021e23d\nsub     edx, 3                                                         ; +0xaf, 0x14021e23f\njz      short loc_14021E24D; jumptable 000000014021E337 case 2999      ; +0xb2, 0x14021e242\ncmp     edx, 63h ; 'c'                                                 ; +0xb4, 0x14021e244\njnz     loc_14021E557                                                  ; +0xb7, 0x14021e247\nmov     edi, [rdi+39Ch]; jumptable 000000014021E337 case 2999          ; +0xbd, 0x14021e24d\nmov     rax, [r13+430h]                                                ; +0xc3, 0x14021e253\nmov     rdx, [rax]                                                     ; +0xca, 0x14021e25a\ncmp     rdx, rax                                                       ; +0xcd, 0x14021e25d\njz      loc_14021E641                                                  ; +0xd0, 0x14021e260\ncmp     [rdx+34h], edi                                                 ; +0xd6, 0x14021e266\njnz     loc_14021E40B                                                  ; +0xd9, 0x14021e269\ntest    ebx, ebx                                                       ; +0xdf, 0x14021e26f\njnz     loc_14021E3F8                                                  ; +0xe1, 0x14021e271\nlea     rcx, [r13+428h]                                                ; +0xe7, 0x14021e277\nmov     r8, rdx                                                        ; +0xee, 0x14021e27e\nlea     rdx, [rsp+0A8h+var_68]                                         ; +0xf1, 0x14021e281\ncall    sub_14024D170                                                  ; +0xf6, 0x14021e286\nmov     rdx, [rax]                                                     ; +0xfb, 0x14021e28b\njmp     loc_14021E40E                                                  ; +0xfe, 0x14021e28e\ncmp     ebx, 2                                                         ; +0x103, 0x14021e293\nsetnz   al                                                             ; +0x106, 0x14021e296\nmov     [rdi+788h], al                                                 ; +0x109, 0x14021e299\njmp     loc_14021E641                                                  ; +0x10f, 0x14021e29f\ncmp     ebx, 2                                                         ; +0x114, 0x14021e2a4\njz      short loc_14021E2F1                                            ; +0x117, 0x14021e2a7\nmov     eax, [rdi+748h]                                                ; +0x119, 0x14021e2a9\ncmp     eax, r8d                                                       ; +0x11f, 0x14021e2af\ncmovg   eax, r8d                                                       ; +0x122, 0x14021e2b2\nmovsxd  rdx, eax                                                       ; +0x126, 0x14021e2b6\nmov     rcx, [r13+3168h]                                               ; +0x129, 0x14021e2b9\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x130, 0x14021e2c0\nmov     rdi, rax                                                       ; +0x136, 0x14021e2c6\ntest    rax, rax                                                       ; +0x139, 0x14021e2c9\njz      loc_14021E63B                                                  ; +0x13c, 0x14021e2cc\nmov     r8, [rax]                                                      ; +0x142, 0x14021e2d2\nxor     edx, edx                                                       ; +0x145, 0x14021e2d5\nmov     rcx, rax                                                       ; +0x147, 0x14021e2d7\ncall    qword ptr [r8+1F8h]                                            ; +0x14a, 0x14021e2da\nmov     qword ptr [rdi+248h], 0                                        ; +0x151, 0x14021e2e1\njmp     loc_14021E63B                                                  ; +0x15c, 0x14021e2ec\nmov     rdx, rdi                                                       ; +0x161, 0x14021e2f1\nmov     rcx, r13                                                       ; +0x164, 0x14021e2f4\ncall    GJBaseGameLayer__triggerGradientCommand                        ; +0x167, 0x14021e2f7\njmp     loc_14021E63B                                                  ; +0x16c, 0x14021e2fc\ncmp     ecx, 0E12h                                                     ; +0x171, 0x14021e301\njg      loc_14021E54B                                                  ; +0x177, 0x14021e307\njz      loc_14021E420                                                  ; +0x17d, 0x14021e30d\nsub     ecx, 0B58h; switch 113 cases                                   ; +0x183, 0x14021e313\ncmp     ecx, 70h                                                       ; +0x189, 0x14021e319\nja      def_14021E337; jumptable 000000014021E337 default case, cases 2906,2908,2918,2925-2998,3000-3005,3011-3015 ; +0x18c, 0x14021e31c\nmovsxd  rax, ecx                                                       ; +0x192, 0x14021e322\nmovzx   eax, ds:(byte_14021E6A0 - 140000000h)[rdx+rax]                 ; +0x195, 0x14021e325\nmov     ecx, ds:(jpt_14021E337 - 140000000h)[rdx+rax*4]                ; +0x19d, 0x14021e32d\nadd     rcx, rdx                                                       ; +0x1a4, 0x14021e334\njmp     rcx; switch jump                                               ; +0x1a7, 0x14021e337\nlea     r8, [r13+658h]; jumptable 000000014021E337 case 3006           ; +0x1a9, 0x14021e339\nmov     r9d, ebx                                                       ; +0x1b0, 0x14021e340\nmov     rdx, rdi                                                       ; +0x1b3, 0x14021e343\ncall    GJBaseGameLayer__controlAreaEffect                             ; +0x1b6, 0x14021e346\njmp     loc_14021E63B                                                  ; +0x1bb, 0x14021e34b\nlea     r8, [r13+670h]; jumptable 000000014021E337 case 3007           ; +0x1c0, 0x14021e350\nmov     r9d, ebx                                                       ; +0x1c7, 0x14021e357\nmov     rdx, rdi                                                       ; +0x1ca, 0x14021e35a\ncall    GJBaseGameLayer__controlAreaEffect                             ; +0x1cd, 0x14021e35d\njmp     loc_14021E63B                                                  ; +0x1d2, 0x14021e362\nlea     r8, [r13+688h]; jumptable 000000014021E337 case 3008           ; +0x1d7, 0x14021e367\nmov     r9d, ebx                                                       ; +0x1de, 0x14021e36e\nmov     rdx, rdi                                                       ; +0x1e1, 0x14021e371\ncall    GJBaseGameLayer__controlAreaEffect                             ; +0x1e4, 0x14021e374\njmp     loc_14021E63B                                                  ; +0x1e9, 0x14021e379\nlea     r8, [r13+6A0h]; jumptable 000000014021E337 case 3009           ; +0x1ee, 0x14021e37e\nmov     r9d, ebx                                                       ; +0x1f5, 0x14021e385\nmov     rdx, rdi                                                       ; +0x1f8, 0x14021e388\ncall    GJBaseGameLayer__controlAreaEffect                             ; +0x1fb, 0x14021e38b\njmp     loc_14021E63B                                                  ; +0x200, 0x14021e390\nlea     r8, [r13+6B8h]; jumptable 000000014021E337 case 3010           ; +0x205, 0x14021e395\nmov     r9d, ebx                                                       ; +0x20c, 0x14021e39c\nmov     rdx, rdi                                                       ; +0x20f, 0x14021e39f\ncall    GJBaseGameLayer__controlAreaEffect                             ; +0x212, 0x14021e3a2\njmp     loc_14021E63B                                                  ; +0x217, 0x14021e3a7\nmov     rcx, [r13+720h]; jumptable 000000014021E337 case 3016          ; +0x21c, 0x14021e3ac\nmov     rax, [r13+718h]                                                ; +0x223, 0x14021e3b3\ncmp     rax, rcx                                                       ; +0x22a, 0x14021e3ba\njz      loc_14021E648; jumptable 000000014021E337 cases 2904,2905,2907,2909-2917,2919-2924 ; +0x22d, 0x14021e3bd\ncmp     [rax], rdi                                                     ; +0x233, 0x14021e3c3\njnz     short loc_14021E3EA                                            ; +0x236, 0x14021e3c6\ntest    ebx, ebx                                                       ; +0x238, 0x14021e3c8\njnz     short loc_14021E3D2                                            ; +0x23a, 0x14021e3ca\nmov     byte ptr [rax+1Eh], 1                                          ; +0x23c, 0x14021e3cc\njmp     short loc_14021E3E4                                            ; +0x240, 0x14021e3d0\ncmp     ebx, 1                                                         ; +0x242, 0x14021e3d2\njnz     short loc_14021E3DF                                            ; +0x245, 0x14021e3d5\nmov     word ptr [rax+1Ch], 101h                                       ; +0x247, 0x14021e3d7\njmp     short loc_14021E3EA                                            ; +0x24d, 0x14021e3dd\ncmp     ebx, 2                                                         ; +0x24f, 0x14021e3df\njnz     short loc_14021E3EA                                            ; +0x252, 0x14021e3e2\nmov     word ptr [rax+1Ch], 0                                          ; +0x254, 0x14021e3e4\nadd     rax, 20h ; ' '                                                 ; +0x25a, 0x14021e3ea\ncmp     rax, rcx                                                       ; +0x25e, 0x14021e3ee\njnz     short loc_14021E3C3                                            ; +0x261, 0x14021e3f1\njmp     loc_14021E648; jumptable 000000014021E337 cases 2904,2905,2907,2909-2917,2919-2924 ; +0x263, 0x14021e3f3\ncmp     ebx, 1                                                         ; +0x268, 0x14021e3f8\njnz     short loc_14021E402                                            ; +0x26b, 0x14021e3fb\nmov     [rdx+31h], bl                                                  ; +0x26d, 0x14021e3fd\njmp     short loc_14021E40B                                            ; +0x270, 0x14021e400\ncmp     ebx, 2                                                         ; +0x272, 0x14021e402\njnz     short loc_14021E40B                                            ; +0x275, 0x14021e405\nmov     byte ptr [rdx+31h], 0                                          ; +0x277, 0x14021e407\nmov     rdx, [rdx]                                                     ; +0x27b, 0x14021e40b\ncmp     rdx, [r13+430h]                                                ; +0x27e, 0x14021e40e\njnz     loc_14021E266                                                  ; +0x285, 0x14021e415\njmp     loc_14021E63B                                                  ; +0x28b, 0x14021e41b\nmov     eax, [rdi+39Ch]                                                ; +0x290, 0x14021e420\nmov     [rsp+0A8h+arg_18], eax                                         ; +0x296, 0x14021e426\nlea     r8, [rsp+0A8h+arg_18]                                          ; +0x29d, 0x14021e42d\nlea     rdx, [rsp+0A8h+var_58]                                         ; +0x2a5, 0x14021e435\nlea     rcx, [r13+768h]                                                ; +0x2aa, 0x14021e43a\ncall    sub_140250040                                                  ; +0x2b1, 0x14021e441\nmov     rcx, [rax]                                                     ; +0x2b6, 0x14021e446\nmov     r14, [rcx+18h]                                                 ; +0x2b9, 0x14021e449\nmov     r15, [rcx+20h]                                                 ; +0x2bd, 0x14021e44d\ncmp     r14, r15                                                       ; +0x2c1, 0x14021e451\njz      loc_14021E4FE                                                  ; +0x2c4, 0x14021e454\nmov     [rsp+0A8h+var_7C], 0                                           ; +0x2ca, 0x14021e45a\nmov     rsi, cs:qword_1406C2E88                                        ; +0x2d2, 0x14021e462\ntest    rsi, rsi                                                       ; +0x2d9, 0x14021e469\njnz     short loc_14021E49D                                            ; +0x2dc, 0x14021e46c\nmov     ecx, 888h; Size                                                ; +0x2de, 0x14021e46e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2e3, 0x14021e473\nmov     [rsp+0A8h+var_60], rax                                         ; +0x2e8, 0x14021e478\nmov     rcx, rax                                                       ; +0x2ed, 0x14021e47d\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x2f0, 0x14021e480\nnop                                                                    ; +0x2f5, 0x14021e485\nmov     cs:qword_1406C2E88, rax                                        ; +0x2f6, 0x14021e486\nmov     rdx, [rax]                                                     ; +0x2fd, 0x14021e48d\nmov     rcx, rax                                                       ; +0x300, 0x14021e490\ncall    qword ptr [rdx+48h]                                            ; +0x303, 0x14021e493\nmov     rsi, cs:qword_1406C2E88                                        ; +0x306, 0x14021e496\nmov     eax, [r14]                                                     ; +0x30d, 0x14021e49d\nmov     [rsp+0A8h+var_88], eax                                         ; +0x310, 0x14021e4a0\nlea     rcx, [rsi+648h]                                                ; +0x314, 0x14021e4a4\nlea     r8, [rsp+0A8h+var_88]                                          ; +0x31b, 0x14021e4ab\nlea     rdx, [rsp+0A8h+var_48]                                         ; +0x320, 0x14021e4b0\ncall    sub_140060FD0                                                  ; +0x325, 0x14021e4b5\nmov     rdx, [rax]                                                     ; +0x32a, 0x14021e4ba\nxorps   xmm3, xmm3                                                     ; +0x32d, 0x14021e4bd\nxor     r8d, r8d                                                       ; +0x330, 0x14021e4c0\nmov     rdx, [rdx+18h]                                                 ; +0x333, 0x14021e4c3\nmov     rcx, rsi                                                       ; +0x337, 0x14021e4c7\ncall    FMODAudioEngine__stopChannel_1                                 ; +0x33a, 0x14021e4ca\nmov     eax, [r14]                                                     ; +0x33f, 0x14021e4cf\nmov     [rsp+0A8h+var_80], eax                                         ; +0x342, 0x14021e4d2\nlea     rdx, [rsp+0A8h+var_80]                                         ; +0x346, 0x14021e4d6\nlea     rcx, [r13+7A8h]                                                ; +0x34b, 0x14021e4db\ncall    sub_140249E30                                                  ; +0x352, 0x14021e4e2\nadd     r14, 4                                                         ; +0x357, 0x14021e4e7\ncmp     r14, r15                                                       ; +0x35b, 0x14021e4eb\njnz     loc_14021E462                                                  ; +0x35e, 0x14021e4ee\nmov     rsi, [rsp+0A8h+var_78]                                         ; +0x364, 0x14021e4f4\nmov     rbp, [rsp+0A8h+var_70]                                         ; +0x369, 0x14021e4f9\nmov     eax, [rdi+39Ch]                                                ; +0x36e, 0x14021e4fe\nmov     [rsp+0A8h+arg_18], eax                                         ; +0x374, 0x14021e504\nlea     r8, [rsp+0A8h+arg_18]                                          ; +0x37b, 0x14021e50b\nlea     rdx, [rsp+0A8h+var_38]                                         ; +0x383, 0x14021e513\nlea     rcx, [r13+768h]                                                ; +0x388, 0x14021e518\ncall    sub_140250040                                                  ; +0x38f, 0x14021e51f\nmov     rcx, [rax]                                                     ; +0x394, 0x14021e524\nmov     rax, [rcx+18h]                                                 ; +0x397, 0x14021e527\nlea     rdx, cs:140000000h                                             ; +0x39b, 0x14021e52b\nmov     r8d, 3E7h                                                      ; +0x3a2, 0x14021e532\ncmp     rax, [rcx+20h]                                                 ; +0x3a8, 0x14021e538\njz      loc_14021E648; jumptable 000000014021E337 cases 2904,2905,2907,2909-2917,2919-2924 ; +0x3ac, 0x14021e53c\nmov     [rcx+20h], rax                                                 ; +0x3b2, 0x14021e542\njmp     loc_14021E648; jumptable 000000014021E337 cases 2904,2905,2907,2909-2917,2919-2924 ; +0x3b6, 0x14021e546\ncmp     ecx, 0E14h                                                     ; +0x3bb, 0x14021e54b\njz      loc_14021E624                                                  ; +0x3c1, 0x14021e551\ncmp     ecx, 542h                                                      ; +0x3c7, 0x14021e557\njnz     short loc_14021E5B5                                            ; +0x3cd, 0x14021e55d\ncmp     byte ptr [rdi+610h], 0                                         ; +0x3cf, 0x14021e55f\njz      def_14021E337; jumptable 000000014021E337 default case, cases 2906,2908,2918,2925-2998,3000-3005,3011-3015 ; +0x3d6, 0x14021e566\nmov     rcx, [r13+750h]                                                ; +0x3dc, 0x14021e56c\nmov     rax, [r13+748h]                                                ; +0x3e3, 0x14021e573\ncmp     rax, rcx                                                       ; +0x3ea, 0x14021e57a\njz      def_14021E337; jumptable 000000014021E337 default case, cases 2906,2908,2918,2925-2998,3000-3005,3011-3015 ; +0x3ed, 0x14021e57d\ncmp     [rax], rdi                                                     ; +0x3f3, 0x14021e583\njnz     short loc_14021E5AA                                            ; +0x3f6, 0x14021e586\ntest    ebx, ebx                                                       ; +0x3f8, 0x14021e588\njnz     short loc_14021E592                                            ; +0x3fa, 0x14021e58a\nmov     byte ptr [rax+4Dh], 1                                          ; +0x3fc, 0x14021e58c\njmp     short loc_14021E5AA                                            ; +0x400, 0x14021e590\ncmp     ebx, 1                                                         ; +0x402, 0x14021e592\njnz     short loc_14021E59F                                            ; +0x405, 0x14021e595\nmov     word ptr [rax+4Eh], 101h                                       ; +0x407, 0x14021e597\njmp     short loc_14021E5AA                                            ; +0x40d, 0x14021e59d\ncmp     ebx, 2                                                         ; +0x40f, 0x14021e59f\njnz     short loc_14021E5AA                                            ; +0x412, 0x14021e5a2\nmov     word ptr [rax+4Eh], 0                                          ; +0x414, 0x14021e5a4\nadd     rax, 60h ; '`'                                                 ; +0x41a, 0x14021e5aa\ncmp     rax, rcx                                                       ; +0x41e, 0x14021e5ae\njnz     short loc_14021E583                                            ; +0x421, 0x14021e5b1\njmp     short def_14021E337; jumptable 000000014021E337 default case, cases 2906,2908,2918,2925-2998,3000-3005,3011-3015 ; +0x423, 0x14021e5b3\ncmp     ecx, 385h                                                      ; +0x425, 0x14021e5b5\njnz     short def_14021E337; jumptable 000000014021E337 default case, cases 2906,2908,2918,2925-2998,3000-3005,3011-3015 ; +0x42b, 0x14021e5bb\ncmp     byte ptr [rdi+610h], 0                                         ; +0x42d, 0x14021e5bd\njz      short def_14021E337; jumptable 000000014021E337 default case, cases 2906,2908,2918,2925-2998,3000-3005,3011-3015 ; +0x434, 0x14021e5c4\nmov     rcx, [r13+738h]                                                ; +0x436, 0x14021e5c6\nmov     rax, [r13+730h]                                                ; +0x43d, 0x14021e5cd\ncmp     rax, rcx                                                       ; +0x444, 0x14021e5d4\njz      short def_14021E337; jumptable 000000014021E337 default case, cases 2906,2908,2918,2925-2998,3000-3005,3011-3015 ; +0x447, 0x14021e5d7\nnop     dword ptr [rax+00000000h]                                      ; +0x449, 0x14021e5d9\ncmp     [rax], rdi                                                     ; +0x450, 0x14021e5e0\njnz     short loc_14021E607                                            ; +0x453, 0x14021e5e3\ntest    ebx, ebx                                                       ; +0x455, 0x14021e5e5\njnz     short loc_14021E5EF                                            ; +0x457, 0x14021e5e7\nmov     byte ptr [rax+4Dh], 1                                          ; +0x459, 0x14021e5e9\njmp     short loc_14021E607                                            ; +0x45d, 0x14021e5ed\ncmp     ebx, 1                                                         ; +0x45f, 0x14021e5ef\njnz     short loc_14021E5FC                                            ; +0x462, 0x14021e5f2\nmov     word ptr [rax+4Eh], 101h                                       ; +0x464, 0x14021e5f4\njmp     short loc_14021E607                                            ; +0x46a, 0x14021e5fa\ncmp     ebx, 2                                                         ; +0x46c, 0x14021e5fc\njnz     short loc_14021E607                                            ; +0x46f, 0x14021e5ff\nmov     word ptr [rax+4Eh], 0                                          ; +0x471, 0x14021e601\nadd     rax, 60h ; '`'                                                 ; +0x477, 0x14021e607\ncmp     rax, rcx                                                       ; +0x47b, 0x14021e60b\njnz     short loc_14021E5E0                                            ; +0x47e, 0x14021e60e\nmov     r8d, ebx; jumptable 000000014021E337 default case, cases 2906,2908,2918,2925-2998,3000-3005,3011-3015 ; +0x480, 0x14021e610\nmov     rdx, rdi                                                       ; +0x483, 0x14021e613\nmov     rcx, [r13+950h]                                                ; +0x486, 0x14021e616\ncall    GJEffectManager__controlActionsForTrigger                      ; +0x48d, 0x14021e61d\njmp     short loc_14021E63B                                            ; +0x492, 0x14021e622\nmov     r9d, ebx                                                       ; +0x494, 0x14021e624\nmov     r8d, 0FFFFFFFFh                                                ; +0x497, 0x14021e627\nmov     edx, [rdi+39Ch]                                                ; +0x49d, 0x14021e62d\nmov     rcx, r13                                                       ; +0x4a3, 0x14021e633\ncall    GJBaseGameLayer__controlEventLink                              ; +0x4a6, 0x14021e636\nmov     r8d, 3E7h                                                      ; +0x4ab, 0x14021e63b\nlea     rdx, cs:140000000h                                             ; +0x4b1, 0x14021e641\nadd     rsi, 8; jumptable 000000014021E337 cases 2904,2905,2907,2909-2917,2919-2924 ; +0x4b8, 0x14021e648\nmov     [rsp+0A8h+var_78], rsi                                         ; +0x4bc, 0x14021e64c\ncmp     rsi, rbp                                                       ; +0x4c1, 0x14021e651\njbe     loc_14021E200                                                  ; +0x4c4, 0x14021e654\nlea     r11, [rsp+0A8h+var_28]                                         ; +0x4ca, 0x14021e65a\nmov     rbx, [r11+30h]                                                 ; +0x4d2, 0x14021e662\nmov     rbp, [r11+38h]                                                 ; +0x4d6, 0x14021e666\nmov     rsi, [r11+40h]                                                 ; +0x4da, 0x14021e66a\nmov     rsp, r11                                                       ; +0x4de, 0x14021e66e\npop     r15                                                            ; +0x4e1, 0x14021e671\npop     r14                                                            ; +0x4e3, 0x14021e673\npop     r13                                                            ; +0x4e5, 0x14021e675\npop     r12                                                            ; +0x4e7, 0x14021e677\npop     rdi                                                            ; +0x4e9, 0x14021e679\nretn                                                                   ; +0x4ea, 0x14021e67a\nalign 4                                                                ; +0x4eb, 0x14021e67b\ndd offset loc_14021E648 - 140000000h; jump table for switch statement  ; +0x4ec, 0x14021e67c\ndb      0,     0,     8,     0; indirect table for switch statement    ; +0x510, 0x14021e6a0", "xrefs": ["TriggerControlGameObject::triggerObject @ 0x1404c3340", "<???> @ 0x1406cd3f8"], "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"}