{"type": "func", "start": 5370935120, "end": 5370936276, "name": "GJBaseGameLayer::triggerGradientCommand", "pseudocode": "// \n// GJBaseGameLayer::triggerGradientCommand from 0x14021f750 to 0x14021fbd4 (1156 bytes)\n// \n// 6 xrefs:\n// > GJBaseGameLayer::controlTriggersInGroup @ 0x14021e2f7\n// > GJBaseGameLayer::controlTriggersWithControlID @ 0x14021e9cb\n// > LevelEditorLayer::activateTriggerEffect @ 0x1402dd546\n// > PlayLayer::loadFromCheckpoint @ 0x1403b7a51\n// > EffectGameObject::triggerObject @ 0x1404a75ad\n// > <???> @ 0x1406cd488\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::triggerGradientCommand(GJBaseGameLayer *a1, GradientTriggerObject *a2)\n{\n  int m_gradientID; // r14d\n  struct cocos2d::CCObject *v5; // rbx\n  int v6; // ebp\n  bool (*copyWithZone)(GJGradientLayer *); // rdx\n  bool v8; // al\n  GJSpriteColor *m_baseColor; // rax\n  int m_defaultColorID; // ecx\n  unsigned int m_colorID; // eax\n  GJSpriteColor *m_detailColor; // rax\n  int m_blendingMode; // ecx\n  char v14; // bp\n  int v15; // ecx\n  int v16; // ecx\n  GJBaseGameLayer *v17; // rcx\n  int v18; // ebp\n  int v19; // r9d\n  cocos2d::CCNode *v20; // rax\n  void *m_middleground; // rcx\n  cocos2d::CCNode *m_aboveShaderParent; // rdi\n  int m_zOrder; // eax\n  int v24; // ebp\n  __int64 v25; // [rsp+48h] [rbp+10h]\n\n  if ( a2->m_disableAll )\n  {\n    GJBaseGameLayer::resetGradientLayers(a1);\n    return;\n  }\n  m_gradientID = a2->m_gradientID;\n  if ( m_gradientID > 999 )\n    m_gradientID = 999;\n  v5 = cocos2d::CCDictionary::objectForKey(a1->m_gradientLayers, m_gradientID);\n  v6 = 0;\n  if ( !v5 )\n  {\n    v5 = (struct cocos2d::CCObject *)operator new(0x260u);\n    cocos2d::CCLayerGradient::CCLayerGradient((cocos2d::CCLayerGradient *)v5);\n    v5->__vftable = (cocos2d::CCObject_vtbl *)&GJGradientLayer::`vftable';\n    *(_QWORD *)&v5[5].m_unknown2 = &GJGradientLayer::`vftable';\n    *(_QWORD *)&v5[5].m_uOrderOfArrival = &GJGradientLayer::`vftable';\n    v5[6].__vftable = (cocos2d::CCObject_vtbl *)&GJGradientLayer::`vftable';\n    *(_QWORD *)&v5[6].m_uID = &GJGradientLayer::`vftable';\n    *(_QWORD *)&v5[6].m_nTag = &GJGradientLayer::`vftable';\n    *(_QWORD *)&v5[7].m_nTag = &GJGradientLayer::`vftable';\n    *(_QWORD *)&v5[7].m_unknown2 = &GJGradientLayer::`vftable';\n    *(_QWORD *)&v5[10].m_uID = 0;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5[10].m_nTag);\n    *(_QWORD *)&v5[10].m_uAutoReleaseCount = 0;\n    LOBYTE(v5[10].m_uIndexInArray) = 0;\n    *(_QWORD *)&v5[10].m_uUnknown = 0;\n    v5[10].m_nZOrder = 0;\n    copyWithZone = (bool (*)(GJGradientLayer *))v5->__vftable[1].copyWithZone;\n    if ( copyWithZone == GJGradientLayer::init )\n      v8 = GJGradientLayer::init((GJGradientLayer *)v5);\n    else\n      v8 = copyWithZone((GJGradientLayer *)v5);\n    if ( v8 )\n    {\n      cocos2d::CCObject::autorelease(v5);\n    }\n    else\n    {\n      ((void (__fastcall *)(struct cocos2d::CCObject *, __int64))v5->~CCObject)(v5, 1);\n      v5 = nullptr;\n    }\n    v5[10].m_nZOrder = m_gradientID;\n    cocos2d::CCDictionary::setObject(a1->m_gradientLayers, v5, m_gradientID);\n  }\n  if ( a2->m_disable )\n  {\n    v5->__vftable[7].copyWithZone(v5, nullptr);\n    *(_QWORD *)&v5[10].m_uAutoReleaseCount = 0;\n    return;\n  }\n  *(_QWORD *)&v5[10].m_uAutoReleaseCount = a2;\n  m_baseColor = a2->m_baseColor;\n  if ( m_baseColor )\n  {\n    m_defaultColorID = m_baseColor->m_defaultColorID;\n    m_colorID = m_baseColor->m_colorID;\n    if ( m_defaultColorID == m_colorID || !m_colorID )\n      m_colorID = m_defaultColorID;\n  }\n  else\n  {\n    m_colorID = 0;\n  }\n  v5[10].m_uID = m_colorID;\n  m_detailColor = a2->m_detailColor;\n  if ( m_detailColor )\n  {\n    v6 = m_detailColor->m_colorID;\n    if ( m_detailColor->m_defaultColorID == m_detailColor->m_colorID || !v6 )\n      v6 = m_detailColor->m_defaultColorID;\n  }\n  v5[10].m_nLuaID = v6;\n  m_blendingMode = a2->m_blendingMode;\n  v5[10].m_uUnknown = m_blendingMode;\n  v14 = 0;\n  v15 = m_blendingMode - 1;\n  if ( v15 )\n  {\n    v16 = v15 - 1;\n    if ( !v16 )\n    {\n      v25 = 0x30300000306LL;\n      v14 = 1;\n      goto LABEL_32;\n    }\n    if ( v16 == 1 )\n    {\n      v25 = 0x30100000307LL;\n      v14 = 1;\n      goto LABEL_32;\n    }\n    HIDWORD(v25) = 771;\n  }\n  else\n  {\n    HIDWORD(v25) = 1;\n  }\n  LODWORD(v25) = 770;\nLABEL_32:\n  (**(void (__fastcall ***)(__int64, __int64))&v5[7].m_unknown2)((__int64)&v5[7].m_unknown2, v25);\n  BYTE1(v5[10].__vftable) = v14;\n  v5[10].m_unknown2 = a2->m_blendingLayer;\n  v18 = GJBaseGameLayer::maxZOrderForShaderZ(v17, a2->m_blendingLayer);\n  switch ( v19 )\n  {\n    case 1:\n      v20 = a1->m_background->getParent(a1->m_background);\n      goto LABEL_37;\n    case 2:\n      m_middleground = a1->m_middleground;\n      if ( !m_middleground )\n        goto LABEL_35;\n      goto LABEL_36;\n    case 3:\n      m_middleground = a1->m_specialLayerB5;\n      goto LABEL_36;\n    case 4:\n      m_middleground = a1->m_specialLayerB4;\n      goto LABEL_36;\n    case 5:\n      m_middleground = a1->m_specialLayerB3;\n      goto LABEL_36;\n    case 6:\n      m_middleground = a1->m_specialLayerB2;\n      goto LABEL_36;\n    case 7:\n      m_middleground = a1->m_specialLayerB1;\n      goto LABEL_36;\n    case 8:\n      m_middleground = a1->m_player1;\n      goto LABEL_36;\n    case 9:\n      m_middleground = a1->m_specialLayerT1;\n      goto LABEL_36;\n    case 10:\n      m_middleground = a1->m_specialLayerT2;\n      goto LABEL_36;\n    case 11:\n      m_middleground = a1->m_specialLayerT3;\n      goto LABEL_36;\n    case 12:\n      m_middleground = a1->m_specialLayerT4;\n      goto LABEL_36;\n    case 13:\n      m_middleground = a1->m_groundLayer;\n      goto LABEL_36;\n    case 14:\n      m_middleground = a1->m_uiTriggerUI;\n      goto LABEL_36;\n    case 15:\n      m_aboveShaderParent = a1->m_aboveShaderParent;\n      goto LABEL_38;\n    default:\nLABEL_35:\n      m_middleground = a1->m_background;\nLABEL_36:\n      v20 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)m_middleground + 488LL))(m_middleground);\nLABEL_37:\n      m_aboveShaderParent = v20;\nLABEL_38:\n      switch ( a2->m_blendingLayer )\n      {\n        case 1:\n          v18 = -54;\n          break;\n        case 2:\n          v18 = -14;\n          break;\n        case 0xD:\n          v18 = 46;\n          break;\n        case 0xE:\n          v18 = 56;\n          break;\n      }\n      m_zOrder = a2->m_zOrder;\n      if ( !m_zOrder )\n        m_zOrder = a2->m_defaultZOrder;\n      if ( m_zOrder <= 5 )\n      {\n        if ( m_zOrder < -5 )\n          m_zOrder = -5;\n      }\n      else\n      {\n        m_zOrder = 5;\n      }\n      v24 = m_zOrder + v18;\n      LOBYTE(v5[10].m_uIndexInArray) = 1;\n      if ( a2->m_blendingLayer == 1\n        || a2->m_blendingLayer == 2\n        || a2->m_blendingLayer == 13\n        || (unsigned int)(a2->m_blendingLayer - 14) <= 1 )\n      {\n        LOBYTE(v5[10].m_uIndexInArray) = 0;\n      }\n      if ( (cocos2d::CCNode *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v5->__vftable[6].getTag)(v5) == m_aboveShaderParent )\n      {\n        m_aboveShaderParent->reorderChild(m_aboveShaderParent, (cocos2d::CCNode *)v5, v24);\n      }\n      else\n      {\n        v5->__vftable[7].copyWithZone(v5, nullptr);\n        m_aboveShaderParent->addChild_0(m_aboveShaderParent, (cocos2d::CCNode *)v5, v24);\n      }\n      break;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::triggerGradientCommand from 0x14021f750 to 0x14021fbd4 (1156 bytes)\n; \n; 6 xrefs:\n; > GJBaseGameLayer::controlTriggersInGroup @ 0x14021e2f7\n; > GJBaseGameLayer::controlTriggersWithControlID @ 0x14021e9cb\n; > LevelEditorLayer::activateTriggerEffect @ 0x1402dd546\n; > PlayLayer::loadFromCheckpoint @ 0x1403b7a51\n; > EffectGameObject::triggerObject @ 0x1404a75ad\n; > <???> @ 0x1406cd488\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, 0x14021f750\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x14021f755\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14021f75a\npush    rdi                                                            ; +0xf, 0x14021f75f\npush    r14                                                            ; +0x10, 0x14021f760\npush    r15                                                            ; +0x12, 0x14021f762\nsub     rsp, 20h                                                       ; +0x14, 0x14021f764\nmov     rsi, rdx                                                       ; +0x18, 0x14021f768\nmov     rdi, rcx                                                       ; +0x1b, 0x14021f76b\ncmp     byte ptr [rdx+75Eh], 0                                         ; +0x1e, 0x14021f76e\njz      short loc_14021F781                                            ; +0x25, 0x14021f775\ncall    GJBaseGameLayer__resetGradientLayers                           ; +0x27, 0x14021f777\njmp     loc_14021FB7F                                                  ; +0x2c, 0x14021f77c\nmov     r14d, [rdx+748h]                                               ; +0x31, 0x14021f781\nmov     eax, 3E7h                                                      ; +0x38, 0x14021f788\ncmp     r14d, eax                                                      ; +0x3d, 0x14021f78d\ncmovg   r14d, eax                                                      ; +0x40, 0x14021f790\nmovsxd  r15, r14d                                                      ; +0x44, 0x14021f794\nmov     rdx, r15                                                       ; +0x47, 0x14021f797\nmov     rcx, [rcx+3168h]                                               ; +0x4a, 0x14021f79a\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x51, 0x14021f7a1\nmov     rbx, rax                                                       ; +0x57, 0x14021f7a7\nxor     ebp, ebp                                                       ; +0x5a, 0x14021f7aa\ntest    rax, rax                                                       ; +0x5c, 0x14021f7ac\njnz     loc_14021F8C2                                                  ; +0x5f, 0x14021f7af\nmov     ecx, 260h; Size                                                ; +0x65, 0x14021f7b5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x6a, 0x14021f7ba\nmov     rbx, rax                                                       ; +0x6f, 0x14021f7bf\nmov     [rsp+38h+arg_8], rax                                           ; +0x72, 0x14021f7c2\nmov     rcx, rax                                                       ; +0x77, 0x14021f7c7\ncall    cs:??0CCLayerGradient@cocos2d@@QEAA@XZ; cocos2d::CCLayerGradient::CCLayerGradient(void) ; +0x7a, 0x14021f7ca\nnop                                                                    ; +0x80, 0x14021f7d0\nlea     rax, ??_7GJGradientLayer@@6B@; const GJGradientLayer::`vftable' ; +0x81, 0x14021f7d1\nmov     [rbx], rax                                                     ; +0x88, 0x14021f7d8\nlea     rax, ??_7GJGradientLayer@@6B@_0; const GJGradientLayer::`vftable' ; +0x8b, 0x14021f7db\nmov     [rbx+140h], rax                                                ; +0x92, 0x14021f7e2\nlea     rax, ??_7GJGradientLayer@@6B@_1; const GJGradientLayer::`vftable' ; +0x99, 0x14021f7e9\nmov     [rbx+148h], rax                                                ; +0xa0, 0x14021f7f0\nlea     rax, ??_7GJGradientLayer@@6B@_2; const GJGradientLayer::`vftable' ; +0xa7, 0x14021f7f7\nmov     [rbx+150h], rax                                                ; +0xae, 0x14021f7fe\nlea     rax, ??_7GJGradientLayer@@6B@_3; const GJGradientLayer::`vftable' ; +0xb5, 0x14021f805\nmov     [rbx+158h], rax                                                ; +0xbc, 0x14021f80c\nlea     rax, ??_7GJGradientLayer@@6B@_4; const GJGradientLayer::`vftable' ; +0xc3, 0x14021f813\nmov     [rbx+160h], rax                                                ; +0xca, 0x14021f81a\nlea     rax, ??_7GJGradientLayer@@6B@_5; const GJGradientLayer::`vftable' ; +0xd1, 0x14021f821\nmov     [rbx+198h], rax                                                ; +0xd8, 0x14021f828\nlea     rax, ??_7GJGradientLayer@@6B@_6; const GJGradientLayer::`vftable' ; +0xdf, 0x14021f82f\nmov     [rbx+1B0h], rax                                                ; +0xe6, 0x14021f836\nmov     [rbx+238h], rbp                                                ; +0xed, 0x14021f83d\nlea     rcx, [rbx+240h]                                                ; +0xf4, 0x14021f844\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0xfb, 0x14021f84b\nmov     [rbx+248h], rbp                                                ; +0x101, 0x14021f851\nmov     [rbx+250h], bpl                                                ; +0x108, 0x14021f858\nmov     [rbx+254h], rbp                                                ; +0x10f, 0x14021f85f\nmov     [rbx+25Ch], ebp                                                ; +0x116, 0x14021f866\nmov     rax, [rbx]                                                     ; +0x11c, 0x14021f86c\nmov     rdx, [rax+48h]                                                 ; +0x11f, 0x14021f86f\nlea     rax, GJGradientLayer__init                                     ; +0x123, 0x14021f873\nmov     rcx, rbx                                                       ; +0x12a, 0x14021f87a\ncmp     rdx, rax                                                       ; +0x12d, 0x14021f87d\njnz     short loc_14021F889                                            ; +0x130, 0x14021f880\ncall    GJGradientLayer__init                                          ; +0x132, 0x14021f882\njmp     short loc_14021F88B                                            ; +0x137, 0x14021f887\ncall    rdx                                                            ; +0x139, 0x14021f889\nmov     rcx, rbx                                                       ; +0x13b, 0x14021f88b\ntest    al, al                                                         ; +0x13e, 0x14021f88e\njz      short loc_14021F89A                                            ; +0x140, 0x14021f890\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x142, 0x14021f892\njmp     short loc_14021F8A8                                            ; +0x148, 0x14021f898\nmov     rax, [rbx]                                                     ; +0x14a, 0x14021f89a\nmov     edx, 1                                                         ; +0x14d, 0x14021f89d\ncall    qword ptr [rax+8]                                              ; +0x152, 0x14021f8a2\nmov     rbx, rbp                                                       ; +0x155, 0x14021f8a5\nmov     [rbx+25Ch], r14d                                               ; +0x158, 0x14021f8a8\nmov     r8, r15                                                        ; +0x15f, 0x14021f8af\nmov     rdx, rbx                                                       ; +0x162, 0x14021f8b2\nmov     rcx, [rdi+3168h]                                               ; +0x165, 0x14021f8b5\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x16c, 0x14021f8bc\ncmp     byte ptr [rsi+75Dh], 0                                         ; +0x172, 0x14021f8c2\njz      short loc_14021F8E5                                            ; +0x179, 0x14021f8c9\nmov     rax, [rbx]                                                     ; +0x17b, 0x14021f8cb\nxor     edx, edx                                                       ; +0x17e, 0x14021f8ce\nmov     rcx, rbx                                                       ; +0x180, 0x14021f8d0\ncall    qword ptr [rax+1F8h]                                           ; +0x183, 0x14021f8d3\nmov     [rbx+248h], rbp                                                ; +0x189, 0x14021f8d9\njmp     loc_14021FB7F                                                  ; +0x190, 0x14021f8e0\nmov     [rbx+248h], rsi                                                ; +0x195, 0x14021f8e5\nmov     rax, [rsi+450h]                                                ; +0x19c, 0x14021f8ec\ntest    rax, rax                                                       ; +0x1a3, 0x14021f8f3\njz      short loc_14021F909                                            ; +0x1a6, 0x14021f8f6\nmov     ecx, [rax+4]                                                   ; +0x1a8, 0x14021f8f8\nmov     eax, [rax]                                                     ; +0x1ab, 0x14021f8fb\ncmp     ecx, eax                                                       ; +0x1ad, 0x14021f8fd\njz      short loc_14021F905                                            ; +0x1af, 0x14021f8ff\ntest    eax, eax                                                       ; +0x1b1, 0x14021f901\njnz     short loc_14021F90B                                            ; +0x1b3, 0x14021f903\nmov     eax, ecx                                                       ; +0x1b5, 0x14021f905\njmp     short loc_14021F90B                                            ; +0x1b7, 0x14021f907\nmov     eax, ebp                                                       ; +0x1b9, 0x14021f909\nmov     [rbx+238h], eax                                                ; +0x1bb, 0x14021f90b\nmov     rax, [rsi+458h]                                                ; +0x1c1, 0x14021f911\ntest    rax, rax                                                       ; +0x1c8, 0x14021f918\njz      short loc_14021F92C                                            ; +0x1cb, 0x14021f91b\nmov     ecx, [rax+4]                                                   ; +0x1cd, 0x14021f91d\nmov     ebp, [rax]                                                     ; +0x1d0, 0x14021f920\ncmp     ecx, ebp                                                       ; +0x1d2, 0x14021f922\njz      short loc_14021F92A                                            ; +0x1d4, 0x14021f924\ntest    ebp, ebp                                                       ; +0x1d6, 0x14021f926\njnz     short loc_14021F92C                                            ; +0x1d8, 0x14021f928\nmov     ebp, ecx                                                       ; +0x1da, 0x14021f92a\nmov     [rbx+23Ch], ebp                                                ; +0x1dc, 0x14021f92c\nmov     ecx, [rsi+744h]                                                ; +0x1e2, 0x14021f932\nmov     [rbx+254h], ecx                                                ; +0x1e8, 0x14021f938\nxor     bpl, bpl                                                       ; +0x1ee, 0x14021f93e\nsub     ecx, 1                                                         ; +0x1f1, 0x14021f941\njz      short loc_14021F984                                            ; +0x1f4, 0x14021f944\nsub     ecx, 1                                                         ; +0x1f6, 0x14021f946\njz      short loc_14021F96F                                            ; +0x1f9, 0x14021f949\ncmp     ecx, 1                                                         ; +0x1fb, 0x14021f94b\njz      short loc_14021F95A                                            ; +0x1fe, 0x14021f94e\nmov     dword ptr [rsp+38h+arg_8+4], 303h                              ; +0x200, 0x14021f950\njmp     short loc_14021F98C                                            ; +0x208, 0x14021f958\nmov     dword ptr [rsp+38h+arg_8], 307h                                ; +0x20a, 0x14021f95a\nmov     dword ptr [rsp+38h+arg_8+4], 301h                              ; +0x212, 0x14021f962\nmov     bpl, 1                                                         ; +0x21a, 0x14021f96a\njmp     short loc_14021F994                                            ; +0x21d, 0x14021f96d\nmov     dword ptr [rsp+38h+arg_8], 306h                                ; +0x21f, 0x14021f96f\nmov     dword ptr [rsp+38h+arg_8+4], 303h                              ; +0x227, 0x14021f977\nmov     bpl, 1                                                         ; +0x22f, 0x14021f97f\njmp     short loc_14021F994                                            ; +0x232, 0x14021f982\nmov     dword ptr [rsp+38h+arg_8+4], 1                                 ; +0x234, 0x14021f984\nmov     dword ptr [rsp+38h+arg_8], 302h                                ; +0x23c, 0x14021f98c\nlea     rcx, [rbx+1B0h]                                                ; +0x244, 0x14021f994\nmov     rax, [rcx]                                                     ; +0x24b, 0x14021f99b\nmov     rdx, [rsp+38h+arg_8]                                           ; +0x24e, 0x14021f99e\ncall    qword ptr [rax]                                                ; +0x253, 0x14021f9a3\nmov     [rbx+231h], bpl                                                ; +0x255, 0x14021f9a5\nmov     eax, [rsi+740h]                                                ; +0x25c, 0x14021f9ac\nmov     [rbx+258h], eax                                                ; +0x262, 0x14021f9b2\nmov     r9d, [rsi+740h]                                                ; +0x268, 0x14021f9b8\nmov     edx, r9d                                                       ; +0x26f, 0x14021f9bf\ncall    GJBaseGameLayer__maxZOrderForShaderZ                           ; +0x272, 0x14021f9c2\nmov     ebp, eax                                                       ; +0x277, 0x14021f9c7\ndec     r9d; switch 15 cases                                           ; +0x279, 0x14021f9c9\ncmp     r9d, 0Eh                                                       ; +0x27c, 0x14021f9cc\nja      short def_14021F9E6; jumptable 000000014021F9E6 default case   ; +0x280, 0x14021f9d0\nmovsxd  rcx, r9d                                                       ; +0x282, 0x14021f9d2\nlea     rax, cs:140000000h                                             ; +0x285, 0x14021f9d5\nmov     edx, ds:(jpt_14021F9E6 - 140000000h)[rax+rcx*4]                ; +0x28c, 0x14021f9dc\nadd     rdx, rax                                                       ; +0x293, 0x14021f9e3\njmp     rdx; switch jump                                               ; +0x296, 0x14021f9e6\nmov     rcx, [rdi+1000h]; jumptable 000000014021F9E6 case 1            ; +0x298, 0x14021f9e8\nmov     rdx, [rcx]                                                     ; +0x29f, 0x14021f9ef\ncall    qword ptr [rdx+1E8h]                                           ; +0x2a2, 0x14021f9f2\njmp     short loc_14021FA16                                            ; +0x2a8, 0x14021f9f8\nmov     rcx, [rdi+1020h]; jumptable 000000014021F9E6 case 2            ; +0x2aa, 0x14021f9fa\ntest    rcx, rcx                                                       ; +0x2b1, 0x14021fa01\njnz     short loc_14021FA0D                                            ; +0x2b4, 0x14021fa04\nmov     rcx, [rdi+1000h]; jumptable 000000014021F9E6 default case      ; +0x2b6, 0x14021fa06\nmov     rax, [rcx]                                                     ; +0x2bd, 0x14021fa0d\ncall    qword ptr [rax+1E8h]                                           ; +0x2c0, 0x14021fa10\nmov     rdi, rax                                                       ; +0x2c6, 0x14021fa16\nmov     ecx, [rsi+740h]                                                ; +0x2c9, 0x14021fa19\nsub     ecx, 1                                                         ; +0x2cf, 0x14021fa1f\njz      loc_14021FAE0                                                  ; +0x2d2, 0x14021fa22\nsub     ecx, 1                                                         ; +0x2d8, 0x14021fa28\njz      loc_14021FAD9                                                  ; +0x2db, 0x14021fa2b\nsub     ecx, 0Bh                                                       ; +0x2e1, 0x14021fa31\njz      loc_14021FAD2                                                  ; +0x2e4, 0x14021fa34\ncmp     ecx, 1                                                         ; +0x2ea, 0x14021fa3a\njnz     loc_14021FAE5                                                  ; +0x2ed, 0x14021fa3d\nlea     ebp, [rcx+37h]                                                 ; +0x2f3, 0x14021fa43\njmp     loc_14021FAE5                                                  ; +0x2f6, 0x14021fa46\nmov     rcx, [rdi+0D48h]; jumptable 000000014021F9E6 case 3            ; +0x2fb, 0x14021fa4b\njmp     short loc_14021FA0D                                            ; +0x302, 0x14021fa52\nmov     rcx, [rdi+0CD8h]; jumptable 000000014021F9E6 case 4            ; +0x304, 0x14021fa54\njmp     short loc_14021FA0D                                            ; +0x30b, 0x14021fa5b\nmov     rcx, [rdi+0C68h]; jumptable 000000014021F9E6 case 5            ; +0x30d, 0x14021fa5d\njmp     short loc_14021FA0D                                            ; +0x314, 0x14021fa64\nmov     rcx, [rdi+0BF8h]; jumptable 000000014021F9E6 case 6            ; +0x316, 0x14021fa66\njmp     short loc_14021FA0D                                            ; +0x31d, 0x14021fa6d\nmov     rcx, [rdi+0B88h]; jumptable 000000014021F9E6 case 7            ; +0x31f, 0x14021fa6f\njmp     short loc_14021FA0D                                            ; +0x326, 0x14021fa76\nmov     rcx, [rdi+0DA0h]; jumptable 000000014021F9E6 case 8            ; +0x328, 0x14021fa78\njmp     short loc_14021FA0D                                            ; +0x32f, 0x14021fa7f\nmov     rcx, [rdi+0AE8h]; jumptable 000000014021F9E6 case 9            ; +0x331, 0x14021fa81\njmp     short loc_14021FA0D                                            ; +0x338, 0x14021fa88\nmov     rcx, [rdi+0A78h]; jumptable 000000014021F9E6 case 10           ; +0x33a, 0x14021fa8a\njmp     loc_14021FA0D                                                  ; +0x341, 0x14021fa91\nmov     rcx, [rdi+0A08h]; jumptable 000000014021F9E6 case 11           ; +0x346, 0x14021fa96\njmp     loc_14021FA0D                                                  ; +0x34d, 0x14021fa9d\nmov     rcx, [rdi+998h]; jumptable 000000014021F9E6 case 12            ; +0x352, 0x14021faa2\njmp     loc_14021FA0D                                                  ; +0x359, 0x14021faa9\nmov     rcx, [rdi+1010h]; jumptable 000000014021F9E6 case 13           ; +0x35e, 0x14021faae\njmp     loc_14021FA0D                                                  ; +0x365, 0x14021fab5\nmov     rcx, [rdi+3558h]; jumptable 000000014021F9E6 case 14           ; +0x36a, 0x14021faba\njmp     loc_14021FA0D                                                  ; +0x371, 0x14021fac1\nmov     rdi, [rdi+0FE0h]; jumptable 000000014021F9E6 case 15           ; +0x376, 0x14021fac6\njmp     loc_14021FA19                                                  ; +0x37d, 0x14021facd\nmov     ebp, 2Eh ; '.'                                                 ; +0x382, 0x14021fad2\njmp     short loc_14021FAE5                                            ; +0x387, 0x14021fad7\nmov     ebp, 0FFFFFFF2h                                                ; +0x389, 0x14021fad9\njmp     short loc_14021FAE5                                            ; +0x38e, 0x14021fade\nmov     ebp, 0FFFFFFCAh                                                ; +0x390, 0x14021fae0\nmov     eax, [rsi+470h]                                                ; +0x395, 0x14021fae5\ntest    eax, eax                                                       ; +0x39b, 0x14021faeb\njnz     short loc_14021FAF5                                            ; +0x39d, 0x14021faed\nmov     eax, [rsi+420h]                                                ; +0x39f, 0x14021faef\ncmp     eax, 5                                                         ; +0x3a5, 0x14021faf5\njle     short loc_14021FB01                                            ; +0x3a8, 0x14021faf8\nmov     eax, 5                                                         ; +0x3aa, 0x14021fafa\njmp     short loc_14021FB0B                                            ; +0x3af, 0x14021faff\nmov     ecx, 0FFFFFFFBh                                                ; +0x3b1, 0x14021fb01\ncmp     eax, ecx                                                       ; +0x3b6, 0x14021fb06\ncmovl   eax, ecx                                                       ; +0x3b8, 0x14021fb08\nadd     ebp, eax                                                       ; +0x3bb, 0x14021fb0b\nmov     byte ptr [rbx+250h], 1                                         ; +0x3bd, 0x14021fb0d\nmov     ecx, [rsi+740h]                                                ; +0x3c4, 0x14021fb14\nsub     ecx, 1                                                         ; +0x3ca, 0x14021fb1a\njz      short loc_14021FB33                                            ; +0x3cd, 0x14021fb1d\nsub     ecx, 1                                                         ; +0x3cf, 0x14021fb1f\njz      short loc_14021FB33                                            ; +0x3d2, 0x14021fb22\nsub     ecx, 0Bh                                                       ; +0x3d4, 0x14021fb24\njz      short loc_14021FB33                                            ; +0x3d7, 0x14021fb27\nsub     ecx, 1                                                         ; +0x3d9, 0x14021fb29\njz      short loc_14021FB33                                            ; +0x3dc, 0x14021fb2c\ncmp     ecx, 1                                                         ; +0x3de, 0x14021fb2e\njnz     short loc_14021FB3A                                            ; +0x3e1, 0x14021fb31\nmov     byte ptr [rbx+250h], 0                                         ; +0x3e3, 0x14021fb33\nmov     rax, [rbx]                                                     ; +0x3ea, 0x14021fb3a\nmov     rcx, rbx                                                       ; +0x3ed, 0x14021fb3d\ncall    qword ptr [rax+1E8h]                                           ; +0x3f0, 0x14021fb40\ncmp     rax, rdi                                                       ; +0x3f6, 0x14021fb46\njnz     short loc_14021FB5F                                            ; +0x3f9, 0x14021fb49\nmov     rax, [rdi]                                                     ; +0x3fb, 0x14021fb4b\nmov     r8d, ebp                                                       ; +0x3fe, 0x14021fb4e\nmov     rdx, rbx                                                       ; +0x401, 0x14021fb51\nmov     rcx, rdi                                                       ; +0x404, 0x14021fb54\ncall    qword ptr [rax+238h]                                           ; +0x407, 0x14021fb57\njmp     short loc_14021FB7F                                            ; +0x40d, 0x14021fb5d\nmov     rax, [rbx]                                                     ; +0x40f, 0x14021fb5f\nxor     edx, edx                                                       ; +0x412, 0x14021fb62\nmov     rcx, rbx                                                       ; +0x414, 0x14021fb64\ncall    qword ptr [rax+1F8h]                                           ; +0x417, 0x14021fb67\nmov     rax, [rdi]                                                     ; +0x41d, 0x14021fb6d\nmov     r8d, ebp                                                       ; +0x420, 0x14021fb70\nmov     rdx, rbx                                                       ; +0x423, 0x14021fb73\nmov     rcx, rdi                                                       ; +0x426, 0x14021fb76\ncall    qword ptr [rax+1B8h]                                           ; +0x429, 0x14021fb79\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x42f, 0x14021fb7f\nmov     rbp, [rsp+38h+arg_10]                                          ; +0x434, 0x14021fb84\nmov     rsi, [rsp+38h+arg_18]                                          ; +0x439, 0x14021fb89\nadd     rsp, 20h                                                       ; +0x43e, 0x14021fb8e\npop     r15                                                            ; +0x442, 0x14021fb92\npop     r14                                                            ; +0x444, 0x14021fb94\npop     rdi                                                            ; +0x446, 0x14021fb96\nretn                                                                   ; +0x447, 0x14021fb97\ndd offset loc_14021F9E8 - 140000000h; jump table for switch statement  ; +0x448, 0x14021fb98", "xrefs": ["GJBaseGameLayer::controlTriggersInGroup @ 0x14021e2f7", "GJBaseGameLayer::controlTriggersWithControlID @ 0x14021e9cb", "LevelEditorLayer::activateTriggerEffect @ 0x1402dd546", "PlayLayer::loadFromCheckpoint @ 0x1403b7a51", "EffectGameObject::triggerObject @ 0x1404a75ad", "<???> @ 0x1406cd488"], "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"}