{"type": "func", "start": 5371930144, "end": 5371931916, "name": "GJBaseGameLayer::updateLevelColors", "pseudocode": "// \n// GJBaseGameLayer::updateLevelColors from 0x140312620 to 0x140312d0c (1772 bytes)\n// \n// 13 xrefs:\n// > GameManager::finishedLoadingBGAsync @ 0x14027de08\n// > GameManager::finishedLoadingMGAsync @ 0x14027e032\n// > GameManager::finishedLoadingGAsync @ 0x14027e295\n// > LevelEditorLayer::updateGameObjects @ 0x1403fb651\n// > LevelEditorLayer::onPlaytest @ 0x1403ff0ea\n// > LevelEditorLayer::postUpdate @ 0x1404009b4\n// > PlayLayer::setupHasCompleted @ 0x140505736\n// > PlayLayer::setupHasCompleted @ 0x140505af5\n// > PlayLayer::postUpdate @ 0x140513ce3\n// > PlayLayer::resetLevel @ 0x140519617\n// > ArtTriggerGameObject::triggerObject @ 0x1406630df\n// > ArtTriggerGameObject::triggerObject @ 0x14066335f\n// > <???> @ 0x14091e848\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:30:16 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::updateLevelColors(_QWORD *a1)\n{\n  __int64 ColorSprite; // rax\n  char v3; // al\n  void (__fastcall ***v4)(_QWORD, __int16 *); // rcx\n  __int64 v5; // rax\n  __int16 v6; // r15\n  char v7; // r12\n  __int64 v8; // rax\n  cocos2d::CCArray *v9; // rax\n  unsigned int v10; // esi\n  cocos2d::CCArray *v11; // r14\n  unsigned int v12; // ebx\n  struct cocos2d::CCObject *v13; // rax\n  __int64 v14; // rax\n  cocos2d::CCArray *v15; // rax\n  cocos2d::CCArray *v16; // r14\n  unsigned int v17; // ebx\n  struct cocos2d::CCObject *v18; // rax\n  __int64 v19; // rax\n  __int16 v20; // r15\n  char v21; // r12\n  __int64 v22; // rax\n  __int64 v23; // rcx\n  cocos2d::CCArray *v24; // rax\n  cocos2d::CCArray *v25; // r14\n  unsigned int v26; // ebx\n  struct cocos2d::CCObject *v27; // rax\n  __int64 v28; // rax\n  __int64 v29; // rcx\n  cocos2d::CCArray *v30; // rax\n  cocos2d::CCArray *v31; // r14\n  unsigned int v32; // ebx\n  struct cocos2d::CCObject *v33; // rax\n  __int64 v34; // rax\n  char v35; // al\n  __int64 v36; // rcx\n  __int64 v37; // rax\n  float v38; // xmm6_4\n  float v39; // xmm7_4\n  void (__fastcall ***v40)(_QWORD, __int16 *); // rcx\n  void (__fastcall ***v41)(_QWORD, __int16 *); // rcx\n  int v42; // ebx\n  __int64 v43; // rcx\n  __int64 v44; // rcx\n  __int64 v45; // rax\n  __int64 v46; // rcx\n  void (__fastcall ***v47)(_QWORD, __int64); // rcx\n  bool v48; // zf\n  void (__fastcall **v49)(_QWORD, __int64); // rax\n  __int64 result; // rax\n  __int64 v51; // rcx\n  __int64 (__fastcall ***v52)(_QWORD, __int64); // rcx\n  __int64 (__fastcall **v53)(_QWORD, __int64); // rax\n  __int64 v54; // rax\n  __int16 v55; // cx\n  char v56; // dl\n  __int64 v57; // rax\n  __int64 v58; // rcx\n  cocos2d::CCArray *v59; // r14\n  unsigned int i; // ebx\n  struct cocos2d::CCObject *v61; // rax\n  __int64 v62; // rax\n  __int16 v63; // cx\n  char v64; // dl\n  __int64 v65; // rax\n  __int64 v66; // rcx\n  cocos2d::CCArray *v67; // rbx\n  struct cocos2d::CCObject *v68; // rax\n  __int64 v69; // rax\n  __int64 v70; // r8\n  float v71; // xmm0_4\n  __int64 v72; // rax\n  __int64 v73; // rdx\n  __int64 v74; // r8\n  __int64 v75; // rcx\n  __int64 v76; // rbx\n  __int64 v77; // rdx\n  void (__fastcall ***v78)(_QWORD, __int64); // rcx\n  __int64 v79; // rdx\n  __int64 (__fastcall ***v80)(_QWORD, __int64); // rcx\n  __int16 v81; // [rsp+20h] [rbp-40h] BYREF\n  char v82; // [rsp+22h] [rbp-3Eh]\n  __int16 v83; // [rsp+A0h] [rbp+40h] BYREF\n  char v84; // [rsp+A2h] [rbp+42h]\n  __int16 v85; // [rsp+A8h] [rbp+48h] BYREF\n  char v86; // [rsp+AAh] [rbp+4Ah]\n  __int64 v87; // [rsp+B0h] [rbp+50h] BYREF\n\n  ColorSprite = GJEffectManager::getColorSprite(a1[301], 1000);\n  if ( ColorSprite )\n  {\n    v85 = *(_WORD *)(ColorSprite + 327);\n    v3 = *(_BYTE *)(ColorSprite + 329);\n  }\n  else\n  {\n    v85 = -1;\n    v3 = -1;\n  }\n  v4 = (void (__fastcall ***)(_QWORD, __int16 *))(a1[540] + 320LL);\n  v86 = v3;\n  (**v4)(v4, &v85);\n  v5 = GJEffectManager::getColorSprite(a1[301], 1001);\n  if ( v5 )\n  {\n    v6 = *(_WORD *)(v5 + 327);\n    v7 = *(_BYTE *)(v5 + 329);\n  }\n  else\n  {\n    v6 = -1;\n    v7 = -1;\n  }\n  v8 = a1[542];\n  LOWORD(v87) = v6;\n  BYTE2(v87) = v7;\n  v9 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v8 + 408) + 480LL))(*(_QWORD *)(v8 + 408));\n  v10 = 0;\n  v11 = v9;\n  if ( v9 )\n  {\n    v12 = 0;\n    if ( cocos2d::CCArray::count(v9) )\n    {\n      do\n      {\n        v13 = cocos2d::CCArray::objectAtIndex(v11, v12);\n        (**((void (__fastcall ***)(__int64, __int64 *))v13 + 40))((__int64)v13 + 320, &v87);\n        ++v12;\n      }\n      while ( v12 < cocos2d::CCArray::count(v11) );\n    }\n  }\n  v14 = a1[543];\n  v81 = v6;\n  v82 = v7;\n  v15 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v14 + 408) + 480LL))(*(_QWORD *)(v14 + 408));\n  v16 = v15;\n  if ( v15 )\n  {\n    v17 = 0;\n    if ( cocos2d::CCArray::count(v15) )\n    {\n      do\n      {\n        v18 = cocos2d::CCArray::objectAtIndex(v16, v17);\n        (**((void (__fastcall ***)(__int64, __int16 *))v18 + 40))((__int64)v18 + 320, &v81);\n        ++v17;\n      }\n      while ( v17 < cocos2d::CCArray::count(v16) );\n    }\n  }\n  if ( *(_QWORD *)(a1[542] + 416LL) )\n  {\n    v19 = GJEffectManager::getColorSprite(a1[301], 1009);\n    if ( v19 )\n    {\n      v20 = *(_WORD *)(v19 + 327);\n      v21 = *(_BYTE *)(v19 + 329);\n    }\n    else\n    {\n      v20 = -1;\n      v21 = -1;\n    }\n    v22 = a1[542];\n    LOWORD(v87) = v20;\n    BYTE2(v87) = v21;\n    v23 = *(_QWORD *)(v22 + 416);\n    if ( v23 )\n    {\n      v24 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v23 + 480LL))(v23);\n      v25 = v24;\n      if ( v24 )\n      {\n        v26 = 0;\n        if ( cocos2d::CCArray::count(v24) )\n        {\n          do\n          {\n            v27 = cocos2d::CCArray::objectAtIndex(v25, v26);\n            (**((void (__fastcall ***)(__int64, __int64 *))v27 + 40))((__int64)v27 + 320, &v87);\n            ++v26;\n          }\n          while ( v26 < cocos2d::CCArray::count(v25) );\n        }\n      }\n    }\n    v28 = a1[543];\n    v81 = v20;\n    v82 = v21;\n    v29 = *(_QWORD *)(v28 + 416);\n    if ( v29 )\n    {\n      v30 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v29 + 480LL))(v29);\n      v31 = v30;\n      if ( v30 )\n      {\n        v32 = 0;\n        if ( cocos2d::CCArray::count(v30) )\n        {\n          do\n          {\n            v33 = cocos2d::CCArray::objectAtIndex(v31, v32);\n            (**((void (__fastcall ***)(__int64, __int16 *))v33 + 40))((__int64)v33 + 320, &v81);\n            ++v32;\n          }\n          while ( v32 < cocos2d::CCArray::count(v31) );\n        }\n      }\n    }\n  }\n  v34 = GJEffectManager::getColorSprite(a1[301], 1002);\n  if ( v34 )\n  {\n    v83 = *(_WORD *)(v34 + 327);\n    v35 = *(_BYTE *)(v34 + 329);\n  }\n  else\n  {\n    v83 = -1;\n    v35 = -1;\n  }\n  v36 = a1[301];\n  v84 = v35;\n  v37 = GJEffectManager::getColorSprite(v36, 1002);\n  v38 = 1.0;\n  if ( v37 )\n    v39 = *(float *)(v37 + 320) / 255.0;\n  else\n    v39 = 1.0;\n  v40 = (void (__fastcall ***)(_QWORD, __int16 *))(*(_QWORD *)(a1[542] + 432LL) + 320LL);\n  (**v40)(v40, &v83);\n  v41 = (void (__fastcall ***)(_QWORD, __int16 *))(*(_QWORD *)(a1[543] + 432LL) + 320LL);\n  (**v41)(v41, &v83);\n  v42 = (int)(float)(v39 * 255.0);\n  v43 = *(_QWORD *)(a1[542] + 432LL) + 320LL;\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v43 + 40LL))(v43, (unsigned __int8)v42);\n  v44 = *(_QWORD *)(a1[543] + 432LL) + 320LL;\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v44 + 40LL))(v44, (unsigned __int8)v42);\n  v45 = *(_QWORD *)(*(_QWORD *)(a1[301] + 736LL) + 8016LL);\n  if ( v45 )\n    LOBYTE(v45) = *(_BYTE *)(v45 + 84);\n  v46 = a1[542];\n  if ( *(_BYTE *)(v46 + 441) != (_BYTE)v45 )\n  {\n    *(_BYTE *)(v46 + 441) = v45;\n    v47 = (void (__fastcall ***)(_QWORD, __int64))(*(_QWORD *)(v46 + 432) + 344LL);\n    v48 = (_BYTE)v45 == 0;\n    v49 = *v47;\n    if ( v48 )\n      v87 = 0x30300000001LL;\n    else\n      v87 = 0x100000302LL;\n    (*v49)(v47, v87);\n  }\n  result = *(_QWORD *)(*(_QWORD *)(a1[301] + 736LL) + 8016LL);\n  if ( result )\n    result = *(unsigned __int8 *)(result + 84);\n  v51 = a1[543];\n  if ( *(_BYTE *)(v51 + 441) != (_BYTE)result )\n  {\n    *(_BYTE *)(v51 + 441) = result;\n    v52 = (__int64 (__fastcall ***)(_QWORD, __int64))(*(_QWORD *)(v51 + 432) + 344LL);\n    v48 = (_BYTE)result == 0;\n    v53 = *v52;\n    if ( v48 )\n      v87 = 0x30300000001LL;\n    else\n      v87 = 0x100000302LL;\n    result = (*v53)(v52, v87);\n  }\n  if ( a1[544] )\n  {\n    v54 = GJEffectManager::getColorSprite(a1[301], 1013);\n    if ( v54 )\n    {\n      v55 = *(_WORD *)(v54 + 327);\n      v56 = *(_BYTE *)(v54 + 329);\n    }\n    else\n    {\n      v55 = -1;\n      v56 = -1;\n    }\n    v57 = a1[544];\n    LOWORD(v87) = v55;\n    BYTE2(v87) = v56;\n    v58 = *(_QWORD *)(v57 + 408);\n    if ( v58 )\n    {\n      v59 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v58 + 480LL))(v58);\n      for ( i = 0; i < cocos2d::CCArray::count(v59); ++i )\n      {\n        v61 = cocos2d::CCArray::objectAtIndex(v59, i);\n        (**((void (__fastcall ***)(__int64, __int64 *))v61 + 40))((__int64)v61 + 320, &v87);\n      }\n    }\n    v62 = GJEffectManager::getColorSprite(a1[301], 1014);\n    if ( v62 )\n    {\n      v63 = *(_WORD *)(v62 + 327);\n      v64 = *(_BYTE *)(v62 + 329);\n    }\n    else\n    {\n      v63 = -1;\n      v64 = -1;\n    }\n    v65 = a1[544];\n    v81 = v63;\n    v82 = v64;\n    v66 = *(_QWORD *)(v65 + 416);\n    if ( v66 )\n    {\n      v67 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v66 + 480LL))(v66);\n      if ( cocos2d::CCArray::count(v67) )\n      {\n        do\n        {\n          v68 = cocos2d::CCArray::objectAtIndex(v67, v10);\n          (**((void (__fastcall ***)(__int64, __int16 *))v68 + 40))((__int64)v68 + 320, &v81);\n          ++v10;\n        }\n        while ( v10 < cocos2d::CCArray::count(v67) );\n      }\n    }\n    v69 = GJEffectManager::getColorSprite(a1[301], 1013);\n    if ( v69 )\n      v71 = *(float *)(v69 + 320) / 255.0;\n    else\n      v71 = 1.0;\n    LOBYTE(v70) = 1;\n    GJMGLayer::updateGroundOpacity(a1[544], (unsigned int)(int)(float)(v71 * 255.0), v70);\n    v72 = GJEffectManager::getColorSprite(a1[301], 1014);\n    if ( v72 )\n      v38 = *(float *)(v72 + 320) / 255.0;\n    GJMGLayer::updateGroundOpacity(a1[544], (unsigned int)(int)(float)(v38 * 255.0), 0);\n    v73 = a1[301];\n    v74 = *(_QWORD *)(*(_QWORD *)(v73 + 736) + 8104LL);\n    if ( v74 )\n      LOBYTE(v74) = *(_BYTE *)(v74 + 84);\n    v75 = a1[544];\n    v76 = 0x100000302LL;\n    if ( *(_BYTE *)(v75 + 457) != (_BYTE)v74 )\n    {\n      *(_BYTE *)(v75 + 457) = v74;\n      v77 = 0x100000302LL;\n      v78 = (void (__fastcall ***)(_QWORD, __int64))(*(_QWORD *)(v75 + 464) + 320LL);\n      if ( !(_BYTE)v74 )\n        v77 = 0x30300000001LL;\n      (**v78)(v78, v77);\n      v75 = a1[544];\n      v73 = a1[301];\n    }\n    result = *(_QWORD *)(v73 + 736);\n    v79 = *(_QWORD *)(result + 8112);\n    if ( v79 )\n      LOBYTE(v79) = *(_BYTE *)(v79 + 84);\n    if ( *(_BYTE *)(v75 + 458) != (_BYTE)v79 )\n    {\n      *(_BYTE *)(v75 + 458) = v79;\n      v80 = (__int64 (__fastcall ***)(_QWORD, __int64))(*(_QWORD *)(v75 + 472) + 320LL);\n      if ( !(_BYTE)v79 )\n        v76 = 0x30300000001LL;\n      return (**v80)(v80, v76);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateLevelColors from 0x140312620 to 0x140312d0c (1772 bytes)\n; \n; 13 xrefs:\n; > GameManager::finishedLoadingBGAsync @ 0x14027de08\n; > GameManager::finishedLoadingMGAsync @ 0x14027e032\n; > GameManager::finishedLoadingGAsync @ 0x14027e295\n; > LevelEditorLayer::updateGameObjects @ 0x1403fb651\n; > LevelEditorLayer::onPlaytest @ 0x1403ff0ea\n; > LevelEditorLayer::postUpdate @ 0x1404009b4\n; > PlayLayer::setupHasCompleted @ 0x140505736\n; > PlayLayer::setupHasCompleted @ 0x140505af5\n; > PlayLayer::postUpdate @ 0x140513ce3\n; > PlayLayer::resetLevel @ 0x140519617\n; > ArtTriggerGameObject::triggerObject @ 0x1406630df\n; > ArtTriggerGameObject::triggerObject @ 0x14066335f\n; > <???> @ 0x14091e848\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:30:16 +0000\n; \npush    rbp                                                            ; +0x0, 0x140312620\npush    rbx                                                            ; +0x2, 0x140312622\npush    rsi                                                            ; +0x3, 0x140312623\npush    rdi                                                            ; +0x4, 0x140312624\npush    r12                                                            ; +0x5, 0x140312625\npush    r14                                                            ; +0x7, 0x140312627\npush    r15                                                            ; +0x9, 0x140312629\nmov     rbp, rsp                                                       ; +0xb, 0x14031262b\nsub     rsp, 60h                                                       ; +0xe, 0x14031262e\nmovaps  [rsp+60h+var_10], xmm6                                         ; +0x12, 0x140312632\nmov     rdi, rcx                                                       ; +0x17, 0x140312637\nmov     rcx, [rcx+968h]                                                ; +0x1a, 0x14031263a\nmov     edx, 3E8h                                                      ; +0x21, 0x140312641\nmovaps  [rsp+60h+var_20], xmm7                                         ; +0x26, 0x140312646\nmovaps  [rsp+60h+var_30], xmm8                                         ; +0x2b, 0x14031264b\ncall    GJEffectManager__getColorSprite                                ; +0x31, 0x140312651\ntest    rax, rax                                                       ; +0x36, 0x140312656\njz      short loc_14031266F                                            ; +0x39, 0x140312659\nmovzx   edx, word ptr [rax+147h]                                       ; +0x3b, 0x14031265b\nmov     [rbp+arg_8], dx                                                ; +0x42, 0x140312662\nmovzx   eax, byte ptr [rax+149h]                                       ; +0x46, 0x140312666\njmp     short loc_140312681                                            ; +0x4d, 0x14031266d\nmovzx   eax, cs:word_140703460                                         ; +0x4f, 0x14031266f\nmov     [rbp+arg_8], ax                                                ; +0x56, 0x140312676\nmovzx   eax, cs:byte_140703462                                         ; +0x5a, 0x14031267a\nmov     rcx, [rdi+10E0h]                                               ; +0x61, 0x140312681\nlea     rdx, [rbp+arg_8]                                               ; +0x68, 0x140312688\nadd     rcx, 140h                                                      ; +0x6c, 0x14031268c\nmov     [rbp+arg_A], al                                                ; +0x73, 0x140312693\nmov     rax, [rcx]                                                     ; +0x76, 0x140312696\ncall    qword ptr [rax]                                                ; +0x79, 0x140312699\nmov     rcx, [rdi+968h]                                                ; +0x7b, 0x14031269b\nmov     edx, 3E9h                                                      ; +0x82, 0x1403126a2\ncall    GJEffectManager__getColorSprite                                ; +0x87, 0x1403126a7\ntest    rax, rax                                                       ; +0x8c, 0x1403126ac\njz      short loc_1403126C3                                            ; +0x8f, 0x1403126af\nmovzx   r15d, word ptr [rax+147h]                                      ; +0x91, 0x1403126b1\nmovzx   r12d, byte ptr [rax+149h]                                      ; +0x99, 0x1403126b9\njmp     short loc_1403126D3                                            ; +0xa1, 0x1403126c1\nmovzx   r15d, cs:word_140703460                                        ; +0xa3, 0x1403126c3\nmovzx   r12d, cs:byte_140703462                                        ; +0xab, 0x1403126cb\nmov     rax, [rdi+10F0h]                                               ; +0xb3, 0x1403126d3\nmov     word ptr [rbp+arg_10], r15w                                    ; +0xba, 0x1403126da\nmov     byte ptr [rbp+arg_10+2], r12b                                  ; +0xbf, 0x1403126df\nmov     rcx, [rax+198h]                                                ; +0xc3, 0x1403126e3\nmov     rax, [rcx]                                                     ; +0xca, 0x1403126ea\ncall    qword ptr [rax+1E0h]                                           ; +0xcd, 0x1403126ed\nxor     esi, esi                                                       ; +0xd3, 0x1403126f3\nmov     r14, rax                                                       ; +0xd5, 0x1403126f5\ntest    rax, rax                                                       ; +0xd8, 0x1403126f8\njz      short loc_14031273A                                            ; +0xdb, 0x1403126fb\nmov     rcx, rax                                                       ; +0xdd, 0x1403126fd\nmov     ebx, esi                                                       ; +0xe0, 0x140312700\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xe2, 0x140312702\ntest    eax, eax                                                       ; +0xe8, 0x140312708\njz      short loc_14031273A                                            ; +0xea, 0x14031270a\nnop     dword ptr [rax+00h]                                            ; +0xec, 0x14031270c\nmov     edx, ebx                                                       ; +0xf0, 0x140312710\nmov     rcx, r14                                                       ; +0xf2, 0x140312712\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xf5, 0x140312715\nlea     rdx, [rbp+arg_10]                                              ; +0xfb, 0x14031271b\nlea     rcx, [rax+140h]                                                ; +0xff, 0x14031271f\nmov     rax, [rcx]                                                     ; +0x106, 0x140312726\ncall    qword ptr [rax]                                                ; +0x109, 0x140312729\nmov     rcx, r14                                                       ; +0x10b, 0x14031272b\ninc     ebx                                                            ; +0x10e, 0x14031272e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x110, 0x140312730\ncmp     ebx, eax                                                       ; +0x116, 0x140312736\njb      short loc_140312710                                            ; +0x118, 0x140312738\nmov     rax, [rdi+10F8h]                                               ; +0x11a, 0x14031273a\nmov     [rbp+var_40], r15w                                             ; +0x121, 0x140312741\nmov     [rbp+var_3E], r12b                                             ; +0x126, 0x140312746\nmov     rcx, [rax+198h]                                                ; +0x12a, 0x14031274a\nmov     rax, [rcx]                                                     ; +0x131, 0x140312751\ncall    qword ptr [rax+1E0h]                                           ; +0x134, 0x140312754\nmov     r14, rax                                                       ; +0x13a, 0x14031275a\ntest    rax, rax                                                       ; +0x13d, 0x14031275d\njz      short loc_14031279B                                            ; +0x140, 0x140312760\nmov     rcx, rax                                                       ; +0x142, 0x140312762\nmov     ebx, esi                                                       ; +0x145, 0x140312765\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x147, 0x140312767\ntest    eax, eax                                                       ; +0x14d, 0x14031276d\njz      short loc_14031279B                                            ; +0x14f, 0x14031276f\nmov     edx, ebx                                                       ; +0x151, 0x140312771\nmov     rcx, r14                                                       ; +0x153, 0x140312773\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x156, 0x140312776\nlea     rdx, [rbp+var_40]                                              ; +0x15c, 0x14031277c\nlea     rcx, [rax+140h]                                                ; +0x160, 0x140312780\nmov     rax, [rcx]                                                     ; +0x167, 0x140312787\ncall    qword ptr [rax]                                                ; +0x16a, 0x14031278a\nmov     rcx, r14                                                       ; +0x16c, 0x14031278c\ninc     ebx                                                            ; +0x16f, 0x14031278f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x171, 0x140312791\ncmp     ebx, eax                                                       ; +0x177, 0x140312797\njb      short loc_140312771                                            ; +0x179, 0x140312799\nmov     rax, [rdi+10F0h]                                               ; +0x17b, 0x14031279b\ncmp     [rax+1A0h], rsi                                                ; +0x182, 0x1403127a2\njz      loc_1403128BA                                                  ; +0x189, 0x1403127a9\nmov     rcx, [rdi+968h]                                                ; +0x18f, 0x1403127af\nmov     edx, 3F1h                                                      ; +0x196, 0x1403127b6\ncall    GJEffectManager__getColorSprite                                ; +0x19b, 0x1403127bb\ntest    rax, rax                                                       ; +0x1a0, 0x1403127c0\njz      short loc_1403127D7                                            ; +0x1a3, 0x1403127c3\nmovzx   r15d, word ptr [rax+147h]                                      ; +0x1a5, 0x1403127c5\nmovzx   r12d, byte ptr [rax+149h]                                      ; +0x1ad, 0x1403127cd\njmp     short loc_1403127E7                                            ; +0x1b5, 0x1403127d5\nmovzx   r15d, cs:word_140703460                                        ; +0x1b7, 0x1403127d7\nmovzx   r12d, cs:byte_140703462                                        ; +0x1bf, 0x1403127df\nmov     rax, [rdi+10F0h]                                               ; +0x1c7, 0x1403127e7\nmov     word ptr [rbp+arg_10], r15w                                    ; +0x1ce, 0x1403127ee\nmov     byte ptr [rbp+arg_10+2], r12b                                  ; +0x1d3, 0x1403127f3\nmov     rcx, [rax+1A0h]                                                ; +0x1d7, 0x1403127f7\ntest    rcx, rcx                                                       ; +0x1de, 0x1403127fe\njz      short loc_14031284D                                            ; +0x1e1, 0x140312801\nmov     rax, [rcx]                                                     ; +0x1e3, 0x140312803\ncall    qword ptr [rax+1E0h]                                           ; +0x1e6, 0x140312806\nmov     r14, rax                                                       ; +0x1ec, 0x14031280c\ntest    rax, rax                                                       ; +0x1ef, 0x14031280f\njz      short loc_14031284D                                            ; +0x1f2, 0x140312812\nmov     rcx, rax                                                       ; +0x1f4, 0x140312814\nmov     ebx, esi                                                       ; +0x1f7, 0x140312817\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1f9, 0x140312819\ntest    eax, eax                                                       ; +0x1ff, 0x14031281f\njz      short loc_14031284D                                            ; +0x201, 0x140312821\nmov     edx, ebx                                                       ; +0x203, 0x140312823\nmov     rcx, r14                                                       ; +0x205, 0x140312825\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x208, 0x140312828\nlea     rdx, [rbp+arg_10]                                              ; +0x20e, 0x14031282e\nlea     rcx, [rax+140h]                                                ; +0x212, 0x140312832\nmov     rax, [rcx]                                                     ; +0x219, 0x140312839\ncall    qword ptr [rax]                                                ; +0x21c, 0x14031283c\nmov     rcx, r14                                                       ; +0x21e, 0x14031283e\ninc     ebx                                                            ; +0x221, 0x140312841\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x223, 0x140312843\ncmp     ebx, eax                                                       ; +0x229, 0x140312849\njb      short loc_140312823                                            ; +0x22b, 0x14031284b\nmov     rax, [rdi+10F8h]                                               ; +0x22d, 0x14031284d\nmov     [rbp+var_40], r15w                                             ; +0x234, 0x140312854\nmov     [rbp+var_3E], r12b                                             ; +0x239, 0x140312859\nmov     rcx, [rax+1A0h]                                                ; +0x23d, 0x14031285d\ntest    rcx, rcx                                                       ; +0x244, 0x140312864\njz      short loc_1403128BA                                            ; +0x247, 0x140312867\nmov     rax, [rcx]                                                     ; +0x249, 0x140312869\ncall    qword ptr [rax+1E0h]                                           ; +0x24c, 0x14031286c\nmov     r14, rax                                                       ; +0x252, 0x140312872\ntest    rax, rax                                                       ; +0x255, 0x140312875\njz      short loc_1403128BA                                            ; +0x258, 0x140312878\nmov     rcx, rax                                                       ; +0x25a, 0x14031287a\nmov     ebx, esi                                                       ; +0x25d, 0x14031287d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x25f, 0x14031287f\ntest    eax, eax                                                       ; +0x265, 0x140312885\njz      short loc_1403128BA                                            ; +0x267, 0x140312887\nnop     dword ptr [rax+00000000h]                                      ; +0x269, 0x140312889\nmov     edx, ebx                                                       ; +0x270, 0x140312890\nmov     rcx, r14                                                       ; +0x272, 0x140312892\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x275, 0x140312895\nlea     rdx, [rbp+var_40]                                              ; +0x27b, 0x14031289b\nlea     rcx, [rax+140h]                                                ; +0x27f, 0x14031289f\nmov     rax, [rcx]                                                     ; +0x286, 0x1403128a6\ncall    qword ptr [rax]                                                ; +0x289, 0x1403128a9\nmov     rcx, r14                                                       ; +0x28b, 0x1403128ab\ninc     ebx                                                            ; +0x28e, 0x1403128ae\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x290, 0x1403128b0\ncmp     ebx, eax                                                       ; +0x296, 0x1403128b6\njb      short loc_140312890                                            ; +0x298, 0x1403128b8\nmov     rcx, [rdi+968h]                                                ; +0x29a, 0x1403128ba\nmov     edx, 3EAh                                                      ; +0x2a1, 0x1403128c1\ncall    GJEffectManager__getColorSprite                                ; +0x2a6, 0x1403128c6\ntest    rax, rax                                                       ; +0x2ab, 0x1403128cb\njz      short loc_1403128E4                                            ; +0x2ae, 0x1403128ce\nmovzx   ecx, word ptr [rax+147h]                                       ; +0x2b0, 0x1403128d0\nmov     [rbp+arg_0], cx                                                ; +0x2b7, 0x1403128d7\nmovzx   eax, byte ptr [rax+149h]                                       ; +0x2bb, 0x1403128db\njmp     short loc_1403128F6                                            ; +0x2c2, 0x1403128e2\nmovzx   eax, cs:word_140703460                                         ; +0x2c4, 0x1403128e4\nmov     [rbp+arg_0], ax                                                ; +0x2cb, 0x1403128eb\nmovzx   eax, cs:byte_140703462                                         ; +0x2cf, 0x1403128ef\nmov     rcx, [rdi+968h]                                                ; +0x2d6, 0x1403128f6\nmov     edx, 3EAh                                                      ; +0x2dd, 0x1403128fd\nmov     [rbp+arg_2], al                                                ; +0x2e2, 0x140312902\ncall    GJEffectManager__getColorSprite                                ; +0x2e5, 0x140312905\nmovss   xmm6, cs:flt_140835080                                         ; +0x2ea, 0x14031290a\nmovss   xmm8, cs:dword_140835964                                       ; +0x2f2, 0x140312912\ntest    rax, rax                                                       ; +0x2fb, 0x14031291b\njz      short loc_14031292F                                            ; +0x2fe, 0x14031291e\nmovss   xmm7, dword ptr [rax+140h]                                     ; +0x300, 0x140312920\ndivss   xmm7, xmm8                                                     ; +0x308, 0x140312928\njmp     short loc_140312932                                            ; +0x30d, 0x14031292d\nmovaps  xmm7, xmm6                                                     ; +0x30f, 0x14031292f\nmov     rax, [rdi+10F0h]                                               ; +0x312, 0x140312932\nlea     rdx, [rbp+arg_0]                                               ; +0x319, 0x140312939\nmov     rcx, [rax+1B0h]                                                ; +0x31d, 0x14031293d\nadd     rcx, 140h                                                      ; +0x324, 0x140312944\nmov     rax, [rcx]                                                     ; +0x32b, 0x14031294b\ncall    qword ptr [rax]                                                ; +0x32e, 0x14031294e\nmov     rax, [rdi+10F8h]                                               ; +0x330, 0x140312950\nlea     rdx, [rbp+arg_0]                                               ; +0x337, 0x140312957\nmov     rcx, [rax+1B0h]                                                ; +0x33b, 0x14031295b\nadd     rcx, 140h                                                      ; +0x342, 0x140312962\nmov     rax, [rcx]                                                     ; +0x349, 0x140312969\ncall    qword ptr [rax]                                                ; +0x34c, 0x14031296c\nmov     rax, [rdi+10F0h]                                               ; +0x34e, 0x14031296e\nmulss   xmm7, xmm8                                                     ; +0x355, 0x140312975\nmov     rcx, [rax+1B0h]                                                ; +0x35a, 0x14031297a\ncvttss2si ebx, xmm7                                                    ; +0x361, 0x140312981\nadd     rcx, 140h                                                      ; +0x365, 0x140312985\nmov     rax, [rcx]                                                     ; +0x36c, 0x14031298c\nmovzx   edx, bl                                                        ; +0x36f, 0x14031298f\ncall    qword ptr [rax+28h]                                            ; +0x372, 0x140312992\nmov     rax, [rdi+10F8h]                                               ; +0x375, 0x140312995\nmovzx   edx, bl                                                        ; +0x37c, 0x14031299c\nmov     rcx, [rax+1B0h]                                                ; +0x37f, 0x14031299f\nadd     rcx, 140h                                                      ; +0x386, 0x1403129a6\nmov     rax, [rcx]                                                     ; +0x38d, 0x1403129ad\ncall    qword ptr [rax+28h]                                            ; +0x390, 0x1403129b0\nmov     rax, [rdi+968h]                                                ; +0x393, 0x1403129b3\nmov     rcx, [rax+2E0h]                                                ; +0x39a, 0x1403129ba\nmov     rax, [rcx+1F50h]                                               ; +0x3a1, 0x1403129c1\ntest    rax, rax                                                       ; +0x3a8, 0x1403129c8\njz      short loc_1403129D1                                            ; +0x3ab, 0x1403129cb\nmovzx   eax, byte ptr [rax+54h]                                        ; +0x3ad, 0x1403129cd\nmov     rcx, [rdi+10F0h]                                               ; +0x3b1, 0x1403129d1\ncmp     [rcx+1B9h], al                                                 ; +0x3b8, 0x1403129d8\njz      short loc_140312A1F                                            ; +0x3be, 0x1403129de\nmov     [rcx+1B9h], al                                                 ; +0x3c0, 0x1403129e0\nmov     rcx, [rcx+1B0h]                                                ; +0x3c6, 0x1403129e6\nadd     rcx, 158h                                                      ; +0x3cd, 0x1403129ed\ntest    al, al                                                         ; +0x3d4, 0x1403129f4\nmov     rax, [rcx]                                                     ; +0x3d6, 0x1403129f6\njz      short loc_140312A0B                                            ; +0x3d9, 0x1403129f9\nmov     dword ptr [rbp+arg_10], 302h                                   ; +0x3db, 0x1403129fb\nmov     dword ptr [rbp+arg_10+4], 1                                    ; +0x3e2, 0x140312a02\njmp     short loc_140312A19                                            ; +0x3e9, 0x140312a09\nmov     dword ptr [rbp+arg_10], 1                                      ; +0x3eb, 0x140312a0b\nmov     dword ptr [rbp+arg_10+4], 303h                                 ; +0x3f2, 0x140312a12\nmov     rdx, [rbp+arg_10]                                              ; +0x3f9, 0x140312a19\ncall    qword ptr [rax]                                                ; +0x3fd, 0x140312a1d\nmov     rax, [rdi+968h]                                                ; +0x3ff, 0x140312a1f\nmov     rcx, [rax+2E0h]                                                ; +0x406, 0x140312a26\nmov     rax, [rcx+1F50h]                                               ; +0x40d, 0x140312a2d\ntest    rax, rax                                                       ; +0x414, 0x140312a34\njz      short loc_140312A3D                                            ; +0x417, 0x140312a37\nmovzx   eax, byte ptr [rax+54h]                                        ; +0x419, 0x140312a39\nmov     rcx, [rdi+10F8h]                                               ; +0x41d, 0x140312a3d\ncmp     [rcx+1B9h], al                                                 ; +0x424, 0x140312a44\njz      short loc_140312A8B                                            ; +0x42a, 0x140312a4a\nmov     [rcx+1B9h], al                                                 ; +0x42c, 0x140312a4c\nmov     rcx, [rcx+1B0h]                                                ; +0x432, 0x140312a52\nadd     rcx, 158h                                                      ; +0x439, 0x140312a59\ntest    al, al                                                         ; +0x440, 0x140312a60\nmov     rax, [rcx]                                                     ; +0x442, 0x140312a62\njz      short loc_140312A77                                            ; +0x445, 0x140312a65\nmov     dword ptr [rbp+arg_10], 302h                                   ; +0x447, 0x140312a67\nmov     dword ptr [rbp+arg_10+4], 1                                    ; +0x44e, 0x140312a6e\njmp     short loc_140312A85                                            ; +0x455, 0x140312a75\nmov     dword ptr [rbp+arg_10], 1                                      ; +0x457, 0x140312a77\nmov     dword ptr [rbp+arg_10+4], 303h                                 ; +0x45e, 0x140312a7e\nmov     rdx, [rbp+arg_10]                                              ; +0x465, 0x140312a85\ncall    qword ptr [rax]                                                ; +0x469, 0x140312a89\ncmp     [rdi+1100h], rsi                                               ; +0x46b, 0x140312a8b\njz      loc_140312CED                                                  ; +0x472, 0x140312a92\nmov     rcx, [rdi+968h]                                                ; +0x478, 0x140312a98\nmov     edx, 3F5h                                                      ; +0x47f, 0x140312a9f\ncall    GJEffectManager__getColorSprite                                ; +0x484, 0x140312aa4\ntest    rax, rax                                                       ; +0x489, 0x140312aa9\njz      short loc_140312ABE                                            ; +0x48c, 0x140312aac\nmovzx   ecx, word ptr [rax+147h]                                       ; +0x48e, 0x140312aae\nmovzx   edx, byte ptr [rax+149h]                                       ; +0x495, 0x140312ab5\njmp     short loc_140312ACC                                            ; +0x49c, 0x140312abc\nmovzx   ecx, cs:word_140703460                                         ; +0x49e, 0x140312abe\nmovzx   edx, cs:byte_140703462                                         ; +0x4a5, 0x140312ac5\nmov     rax, [rdi+1100h]                                               ; +0x4ac, 0x140312acc\nmov     word ptr [rbp+arg_10], cx                                      ; +0x4b3, 0x140312ad3\nmov     byte ptr [rbp+arg_10+2], dl                                    ; +0x4b7, 0x140312ad7\nmov     rcx, [rax+198h]                                                ; +0x4ba, 0x140312ada\ntest    rcx, rcx                                                       ; +0x4c1, 0x140312ae1\njz      short loc_140312B2B                                            ; +0x4c4, 0x140312ae4\nmov     rax, [rcx]                                                     ; +0x4c6, 0x140312ae6\ncall    qword ptr [rax+1E0h]                                           ; +0x4c9, 0x140312ae9\nmov     rcx, rax                                                       ; +0x4cf, 0x140312aef\nmov     r14, rax                                                       ; +0x4d2, 0x140312af2\nmov     ebx, esi                                                       ; +0x4d5, 0x140312af5\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4d7, 0x140312af7\ntest    eax, eax                                                       ; +0x4dd, 0x140312afd\njz      short loc_140312B2B                                            ; +0x4df, 0x140312aff\nmov     edx, ebx                                                       ; +0x4e1, 0x140312b01\nmov     rcx, r14                                                       ; +0x4e3, 0x140312b03\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4e6, 0x140312b06\nlea     rdx, [rbp+arg_10]                                              ; +0x4ec, 0x140312b0c\nlea     rcx, [rax+140h]                                                ; +0x4f0, 0x140312b10\nmov     rax, [rcx]                                                     ; +0x4f7, 0x140312b17\ncall    qword ptr [rax]                                                ; +0x4fa, 0x140312b1a\nmov     rcx, r14                                                       ; +0x4fc, 0x140312b1c\ninc     ebx                                                            ; +0x4ff, 0x140312b1f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x501, 0x140312b21\ncmp     ebx, eax                                                       ; +0x507, 0x140312b27\njb      short loc_140312B01                                            ; +0x509, 0x140312b29\nmov     rcx, [rdi+968h]                                                ; +0x50b, 0x140312b2b\nmov     edx, 3F6h                                                      ; +0x512, 0x140312b32\ncall    GJEffectManager__getColorSprite                                ; +0x517, 0x140312b37\ntest    rax, rax                                                       ; +0x51c, 0x140312b3c\njz      short loc_140312B51                                            ; +0x51f, 0x140312b3f\nmovzx   ecx, word ptr [rax+147h]                                       ; +0x521, 0x140312b41\nmovzx   edx, byte ptr [rax+149h]                                       ; +0x528, 0x140312b48\njmp     short loc_140312B5F                                            ; +0x52f, 0x140312b4f\nmovzx   ecx, cs:word_140703460                                         ; +0x531, 0x140312b51\nmovzx   edx, cs:byte_140703462                                         ; +0x538, 0x140312b58\nmov     rax, [rdi+1100h]                                               ; +0x53f, 0x140312b5f\nmov     [rbp+var_40], cx                                               ; +0x546, 0x140312b66\nmov     [rbp+var_3E], dl                                               ; +0x54a, 0x140312b6a\nmov     rcx, [rax+1A0h]                                                ; +0x54d, 0x140312b6d\ntest    rcx, rcx                                                       ; +0x554, 0x140312b74\njz      short loc_140312BBC                                            ; +0x557, 0x140312b77\nmov     rax, [rcx]                                                     ; +0x559, 0x140312b79\ncall    qword ptr [rax+1E0h]                                           ; +0x55c, 0x140312b7c\nmov     rcx, rax                                                       ; +0x562, 0x140312b82\nmov     rbx, rax                                                       ; +0x565, 0x140312b85\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x568, 0x140312b88\ntest    eax, eax                                                       ; +0x56e, 0x140312b8e\njz      short loc_140312BBC                                            ; +0x570, 0x140312b90\nmov     edx, esi                                                       ; +0x572, 0x140312b92\nmov     rcx, rbx                                                       ; +0x574, 0x140312b94\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x577, 0x140312b97\nlea     rdx, [rbp+var_40]                                              ; +0x57d, 0x140312b9d\nlea     rcx, [rax+140h]                                                ; +0x581, 0x140312ba1\nmov     rax, [rcx]                                                     ; +0x588, 0x140312ba8\ncall    qword ptr [rax]                                                ; +0x58b, 0x140312bab\nmov     rcx, rbx                                                       ; +0x58d, 0x140312bad\ninc     esi                                                            ; +0x590, 0x140312bb0\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x592, 0x140312bb2\ncmp     esi, eax                                                       ; +0x598, 0x140312bb8\njb      short loc_140312B92                                            ; +0x59a, 0x140312bba\nmov     rcx, [rdi+968h]                                                ; +0x59c, 0x140312bbc\nmov     edx, 3F5h                                                      ; +0x5a3, 0x140312bc3\ncall    GJEffectManager__getColorSprite                                ; +0x5a8, 0x140312bc8\ntest    rax, rax                                                       ; +0x5ad, 0x140312bcd\njz      short loc_140312BE1                                            ; +0x5b0, 0x140312bd0\nmovss   xmm0, dword ptr [rax+140h]                                     ; +0x5b2, 0x140312bd2\ndivss   xmm0, xmm8                                                     ; +0x5ba, 0x140312bda\njmp     short loc_140312BE4                                            ; +0x5bf, 0x140312bdf\nmovaps  xmm0, xmm6                                                     ; +0x5c1, 0x140312be1\nmov     rcx, [rdi+1100h]                                               ; +0x5c4, 0x140312be4\nmov     r8b, 1                                                         ; +0x5cb, 0x140312beb\nmulss   xmm0, xmm8                                                     ; +0x5ce, 0x140312bee\ncvttss2si edx, xmm0                                                    ; +0x5d3, 0x140312bf3\ncall    GJMGLayer__updateGroundOpacity                                 ; +0x5d7, 0x140312bf7\nmov     rcx, [rdi+968h]                                                ; +0x5dc, 0x140312bfc\nmov     edx, 3F6h                                                      ; +0x5e3, 0x140312c03\ncall    GJEffectManager__getColorSprite                                ; +0x5e8, 0x140312c08\ntest    rax, rax                                                       ; +0x5ed, 0x140312c0d\njz      short loc_140312C1F                                            ; +0x5f0, 0x140312c10\nmovss   xmm6, dword ptr [rax+140h]                                     ; +0x5f2, 0x140312c12\ndivss   xmm6, xmm8                                                     ; +0x5fa, 0x140312c1a\nmov     rcx, [rdi+1100h]                                               ; +0x5ff, 0x140312c1f\nxor     r8d, r8d                                                       ; +0x606, 0x140312c26\nmulss   xmm6, xmm8                                                     ; +0x609, 0x140312c29\ncvttss2si edx, xmm6                                                    ; +0x60e, 0x140312c2e\ncall    GJMGLayer__updateGroundOpacity                                 ; +0x612, 0x140312c32\nmov     rdx, [rdi+968h]                                                ; +0x617, 0x140312c37\nmov     rax, [rdx+2E0h]                                                ; +0x61e, 0x140312c3e\nmov     r8, [rax+1FA8h]                                                ; +0x625, 0x140312c45\ntest    r8, r8                                                         ; +0x62c, 0x140312c4c\njz      short loc_140312C56                                            ; +0x62f, 0x140312c4f\nmovzx   r8d, byte ptr [r8+54h]                                         ; +0x631, 0x140312c51\nmov     rcx, [rdi+1100h]                                               ; +0x636, 0x140312c56\nmov     rbx, 100000302h                                                ; +0x63d, 0x140312c5d\nmov     rsi, 30300000001h                                              ; +0x647, 0x140312c67\ncmp     [rcx+1C9h], r8b                                                ; +0x651, 0x140312c71\njz      short loc_140312CAC                                            ; +0x658, 0x140312c78\nmov     [rcx+1C9h], r8b                                                ; +0x65a, 0x140312c7a\nmov     rdx, rbx                                                       ; +0x661, 0x140312c81\nmov     rcx, [rcx+1D0h]                                                ; +0x664, 0x140312c84\nadd     rcx, 140h                                                      ; +0x66b, 0x140312c8b\ntest    r8b, r8b                                                       ; +0x672, 0x140312c92\ncmovz   rdx, rsi                                                       ; +0x675, 0x140312c95\nmov     rax, [rcx]                                                     ; +0x679, 0x140312c99\ncall    qword ptr [rax]                                                ; +0x67c, 0x140312c9c\nmov     rcx, [rdi+1100h]                                               ; +0x67e, 0x140312c9e\nmov     rdx, [rdi+968h]                                                ; +0x685, 0x140312ca5\nmov     rax, [rdx+2E0h]                                                ; +0x68c, 0x140312cac\nmov     rdx, [rax+1FB0h]                                               ; +0x693, 0x140312cb3\ntest    rdx, rdx                                                       ; +0x69a, 0x140312cba\njz      short loc_140312CC3                                            ; +0x69d, 0x140312cbd\nmovzx   edx, byte ptr [rdx+54h]                                        ; +0x69f, 0x140312cbf\ncmp     [rcx+1CAh], dl                                                 ; +0x6a3, 0x140312cc3\njz      short loc_140312CED                                            ; +0x6a9, 0x140312cc9\nmov     [rcx+1CAh], dl                                                 ; +0x6ab, 0x140312ccb\nmov     rcx, [rcx+1D8h]                                                ; +0x6b1, 0x140312cd1\nadd     rcx, 140h                                                      ; +0x6b8, 0x140312cd8\ntest    dl, dl                                                         ; +0x6bf, 0x140312cdf\ncmovz   rbx, rsi                                                       ; +0x6c1, 0x140312ce1\nmov     rax, [rcx]                                                     ; +0x6c5, 0x140312ce5\nmov     rdx, rbx                                                       ; +0x6c8, 0x140312ce8\ncall    qword ptr [rax]                                                ; +0x6cb, 0x140312ceb\nmovaps  xmm6, [rsp+60h+var_10]                                         ; +0x6cd, 0x140312ced\nmovaps  xmm7, [rsp+60h+var_20]                                         ; +0x6d2, 0x140312cf2\nmovaps  xmm8, [rsp+60h+var_30]                                         ; +0x6d7, 0x140312cf7\nadd     rsp, 60h                                                       ; +0x6dd, 0x140312cfd\npop     r15                                                            ; +0x6e1, 0x140312d01\npop     r14                                                            ; +0x6e3, 0x140312d03\npop     r12                                                            ; +0x6e5, 0x140312d05\npop     rdi                                                            ; +0x6e7, 0x140312d07\npop     rsi                                                            ; +0x6e8, 0x140312d08\npop     rbx                                                            ; +0x6e9, 0x140312d09\npop     rbp                                                            ; +0x6ea, 0x140312d0a\nretn                                                                   ; +0x6eb, 0x140312d0b", "xrefs": ["GameManager::finishedLoadingBGAsync @ 0x14027de08", "GameManager::finishedLoadingMGAsync @ 0x14027e032", "GameManager::finishedLoadingGAsync @ 0x14027e295", "LevelEditorLayer::updateGameObjects @ 0x1403fb651", "LevelEditorLayer::onPlaytest @ 0x1403ff0ea", "LevelEditorLayer::postUpdate @ 0x1404009b4", "PlayLayer::setupHasCompleted @ 0x140505736", "PlayLayer::setupHasCompleted @ 0x140505af5", "PlayLayer::postUpdate @ 0x140513ce3", "PlayLayer::resetLevel @ 0x140519617", "ArtTriggerGameObject::triggerObject @ 0x1406630df", "ArtTriggerGameObject::triggerObject @ 0x14066335f", "<???> @ 0x14091e848"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}