{"type": "func", "start": 5372192144, "end": 5372193632, "name": "GJBaseGameLayer::visitWithColorFlash", "pseudocode": "// \n// GJBaseGameLayer::visitWithColorFlash from 0x140352590 to 0x140352b60 (1488 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::visit @ 0x1403522c2\n// > <???> @ 0x1408b8b48\n// > <???> @ 0x1408b8bb0\n// > <???> @ 0x14092039c\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:48 +0000\n// \n\nint __fastcall GJBaseGameLayer::visitWithColorFlash(cocos2d::CCNode *a1)\n{\n  __int64 ColorSprite; // rax\n  char v3; // al\n  __int64 v4; // rcx\n  __int64 v5; // rax\n  unsigned __int16 v6; // r12\n  char v7; // r15\n  __int64 v8; // rcx\n  __int64 v9; // rax\n  unsigned __int16 v10; // bx\n  char v11; // r13\n  unsigned __int16 v12; // si\n  __int64 v13; // rax\n  cocos2d::CCArray *v14; // rax\n  unsigned int v15; // ebx\n  cocos2d::CCArray *v16; // rsi\n  unsigned int v17; // edi\n  struct cocos2d::CCObject *v18; // rax\n  cocos2d::CCArray *v19; // rax\n  cocos2d::CCArray *v20; // rsi\n  unsigned int v21; // edi\n  struct cocos2d::CCObject *v22; // rax\n  __int64 v23; // rcx\n  cocos2d::CCArray *v24; // rax\n  cocos2d::CCArray *v25; // rsi\n  unsigned int v26; // edi\n  struct cocos2d::CCObject *v27; // rax\n  __int64 v28; // rcx\n  cocos2d::CCArray *v29; // rax\n  cocos2d::CCArray *v30; // rsi\n  unsigned int v31; // edi\n  struct cocos2d::CCObject *v32; // rax\n  __int64 v33; // rax\n  cocos2d::CCArray *v34; // rax\n  cocos2d::CCArray *v35; // rsi\n  unsigned int v36; // edi\n  struct cocos2d::CCObject *v37; // rax\n  __int64 v38; // rax\n  cocos2d::CCArray *v39; // rax\n  cocos2d::CCArray *v40; // rsi\n  unsigned int v41; // edi\n  struct cocos2d::CCObject *v42; // rax\n  __int64 v43; // rax\n  unsigned __int16 v44; // r15\n  __int64 v45; // rcx\n  cocos2d::CCArray *v46; // rax\n  cocos2d::CCArray *v47; // rsi\n  unsigned int v48; // edi\n  struct cocos2d::CCObject *v49; // rax\n  cocos2d::CCArray *v50; // rax\n  __int64 v51; // rcx\n  cocos2d::CCArray *v52; // rdi\n  struct cocos2d::CCObject *v53; // rax\n  unsigned __int16 v55; // [rsp+28h] [rbp-E0h] BYREF\n  char v56; // [rsp+2Ah] [rbp-DEh]\n  unsigned __int16 v57; // [rsp+38h] [rbp-D0h] BYREF\n  char v58; // [rsp+3Ah] [rbp-CEh]\n  unsigned __int16 v59; // [rsp+48h] [rbp-C0h]\n  unsigned __int16 v60; // [rsp+4Ch] [rbp-BCh] BYREF\n  char v61; // [rsp+4Eh] [rbp-BAh]\n  unsigned __int16 v62; // [rsp+58h] [rbp-B0h] BYREF\n  char v63; // [rsp+5Ah] [rbp-AEh]\n  unsigned __int16 v64; // [rsp+68h] [rbp-A0h] BYREF\n  char v65; // [rsp+6Ah] [rbp-9Eh]\n  unsigned __int16 v66; // [rsp+78h] [rbp-90h] BYREF\n  char v67; // [rsp+7Ah] [rbp-8Eh]\n  unsigned __int16 v68; // [rsp+88h] [rbp-80h] BYREF\n  char v69; // [rsp+8Ah] [rbp-7Eh]\n  unsigned __int16 v70; // [rsp+98h] [rbp-70h] BYREF\n  char v71; // [rsp+9Ah] [rbp-6Eh]\n  unsigned __int16 v72; // [rsp+A8h] [rbp-60h] BYREF\n  char v73; // [rsp+AAh] [rbp-5Eh]\n  unsigned __int16 v74; // [rsp+B8h] [rbp-50h] BYREF\n  char v75; // [rsp+BAh] [rbp-4Eh]\n  int v76; // [rsp+C8h] [rbp-40h] BYREF\n  int v77; // [rsp+CCh] [rbp-3Ch]\n  int v78; // [rsp+D0h] [rbp-38h]\n  int v79; // [rsp+D4h] [rbp-34h]\n  int v80; // [rsp+E4h] [rbp-24h]\n  unsigned __int16 v81; // [rsp+138h] [rbp+30h] BYREF\n  char v82; // [rsp+13Ah] [rbp+32h]\n  unsigned __int16 v83; // [rsp+140h] [rbp+38h] BYREF\n  char v84; // [rsp+142h] [rbp+3Ah]\n  unsigned __int16 v85; // [rsp+148h] [rbp+40h] BYREF\n  char v86; // [rsp+14Ah] [rbp+42h]\n  unsigned __int16 v87; // [rsp+150h] [rbp+48h]\n\n  ColorSprite = GJEffectManager::getColorSprite(*((_QWORD *)a1 + 301), 1000);\n  if ( ColorSprite )\n  {\n    v55 = *(_WORD *)(ColorSprite + 327);\n    v3 = *(_BYTE *)(ColorSprite + 329);\n  }\n  else\n  {\n    v55 = -1;\n    v3 = -1;\n  }\n  v4 = *((_QWORD *)a1 + 301);\n  v56 = v3;\n  v5 = GJEffectManager::getColorSprite(v4, 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 = *((_QWORD *)a1 + 301);\n  v82 = v7;\n  v81 = v6;\n  v9 = GJEffectManager::getColorSprite(v8, 1009);\n  if ( v9 )\n  {\n    v10 = *(_WORD *)(v9 + 327);\n    v11 = *(_BYTE *)(v9 + 329);\n  }\n  else\n  {\n    v10 = -1;\n    v11 = -1;\n  }\n  LOWORD(v80) = 257;\n  v79 = v80;\n  v84 = v11;\n  v83 = v10;\n  v59 = v10;\n  v76 = 0;\n  v77 = -1102263091;\n  v78 = 1045220557;\n  GameToolbox::transformColor((__int64)&v85, &v55, (float *)&v76);\n  v60 = v85;\n  v61 = v86;\n  if ( (_BYTE)v6 || HIBYTE(v81) || v7 )\n  {\n    LOWORD(v80) = 257;\n    v79 = v80;\n    v76 = 0;\n    v77 = -1102263091;\n    v78 = 1045220557;\n    GameToolbox::transformColor((__int64)&v85, &v81, (float *)&v76);\n    v12 = v85;\n    LOBYTE(v81) = v86;\n    v87 = v85;\n  }\n  else\n  {\n    v12 = v6;\n    v87 = v6;\n    LOBYTE(v81) = 0;\n  }\n  if ( (_BYTE)v10 || HIBYTE(v83) || v11 )\n  {\n    LOWORD(v80) = 257;\n    v79 = v80;\n    v76 = 0;\n    v77 = -1102263091;\n    v78 = 1045220557;\n    GameToolbox::transformColor((__int64)&v57, &v83, (float *)&v76);\n    v85 = v57;\n    LOBYTE(v83) = v58;\n  }\n  else\n  {\n    v85 = v10;\n    LOBYTE(v83) = 0;\n  }\n  (**(void (__fastcall ***)(__int64, unsigned __int16 *))(*((_QWORD *)a1 + 540) + 320LL))(\n    *((_QWORD *)a1 + 540) + 320LL,\n    &v60);\n  v58 = v81;\n  v13 = *((_QWORD *)a1 + 542);\n  v57 = v12;\n  v14 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v13 + 408) + 480LL))(*(_QWORD *)(v13 + 408));\n  v15 = 0;\n  v16 = v14;\n  if ( v14 )\n  {\n    v17 = 0;\n    if ( cocos2d::CCArray::count(v14) )\n    {\n      do\n      {\n        v18 = cocos2d::CCArray::objectAtIndex(v16, v17);\n        (**((void (__fastcall ***)(__int64, unsigned __int16 *))v18 + 40))((__int64)v18 + 320, &v57);\n        ++v17;\n      }\n      while ( v17 < cocos2d::CCArray::count(v16) );\n    }\n  }\n  v62 = v87;\n  v63 = v81;\n  v19 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)a1 + 543) + 408LL) + 480LL))(*(_QWORD *)(*((_QWORD *)a1 + 543) + 408LL));\n  v20 = v19;\n  if ( v19 )\n  {\n    v21 = 0;\n    if ( cocos2d::CCArray::count(v19) )\n    {\n      do\n      {\n        v22 = cocos2d::CCArray::objectAtIndex(v20, v21);\n        (**((void (__fastcall ***)(__int64, unsigned __int16 *))v22 + 40))((__int64)v22 + 320, &v62);\n        ++v21;\n      }\n      while ( v21 < cocos2d::CCArray::count(v20) );\n    }\n  }\n  v64 = v85;\n  v65 = v83;\n  v23 = *(_QWORD *)(*((_QWORD *)a1 + 542) + 416LL);\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, unsigned __int16 *))v27 + 40))((__int64)v27 + 320, &v64);\n          ++v26;\n        }\n        while ( v26 < cocos2d::CCArray::count(v25) );\n      }\n    }\n  }\n  v66 = v85;\n  v67 = v83;\n  v28 = *(_QWORD *)(*((_QWORD *)a1 + 543) + 416LL);\n  if ( v28 )\n  {\n    v29 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v28 + 480LL))(v28);\n    v30 = v29;\n    if ( v29 )\n    {\n      v31 = 0;\n      if ( cocos2d::CCArray::count(v29) )\n      {\n        do\n        {\n          v32 = cocos2d::CCArray::objectAtIndex(v30, v31);\n          (**((void (__fastcall ***)(__int64, unsigned __int16 *))v32 + 40))((__int64)v32 + 320, &v66);\n          ++v31;\n        }\n        while ( v31 < cocos2d::CCArray::count(v30) );\n      }\n    }\n  }\n  cocos2d::CCNode::visit(a1);\n  (**(void (__fastcall ***)(__int64, unsigned __int16 *))(*((_QWORD *)a1 + 540) + 320LL))(\n    *((_QWORD *)a1 + 540) + 320LL,\n    &v55);\n  v33 = *((_QWORD *)a1 + 542);\n  v68 = v6;\n  v69 = v7;\n  v34 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v33 + 408) + 480LL))(*(_QWORD *)(v33 + 408));\n  v35 = v34;\n  if ( v34 )\n  {\n    v36 = 0;\n    if ( cocos2d::CCArray::count(v34) )\n    {\n      do\n      {\n        v37 = cocos2d::CCArray::objectAtIndex(v35, v36);\n        (**((void (__fastcall ***)(__int64, unsigned __int16 *))v37 + 40))((__int64)v37 + 320, &v68);\n        ++v36;\n      }\n      while ( v36 < cocos2d::CCArray::count(v35) );\n    }\n  }\n  v38 = *((_QWORD *)a1 + 543);\n  v70 = v6;\n  v71 = v7;\n  v39 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v38 + 408) + 480LL))(*(_QWORD *)(v38 + 408));\n  v40 = v39;\n  if ( v39 )\n  {\n    v41 = 0;\n    if ( cocos2d::CCArray::count(v39) )\n    {\n      do\n      {\n        v42 = cocos2d::CCArray::objectAtIndex(v40, v41);\n        (**((void (__fastcall ***)(__int64, unsigned __int16 *))v42 + 40))((__int64)v42 + 320, &v70);\n        ++v41;\n      }\n      while ( v41 < cocos2d::CCArray::count(v40) );\n    }\n  }\n  v43 = *((_QWORD *)a1 + 542);\n  v44 = v59;\n  v72 = v59;\n  v73 = v11;\n  v45 = *(_QWORD *)(v43 + 416);\n  if ( v45 )\n  {\n    v46 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v45 + 480LL))(v45);\n    v47 = v46;\n    if ( v46 )\n    {\n      v48 = 0;\n      if ( cocos2d::CCArray::count(v46) )\n      {\n        do\n        {\n          v49 = cocos2d::CCArray::objectAtIndex(v47, v48);\n          (**((void (__fastcall ***)(__int64, unsigned __int16 *))v49 + 40))((__int64)v49 + 320, &v72);\n          ++v48;\n        }\n        while ( v48 < cocos2d::CCArray::count(v47) );\n      }\n    }\n  }\n  v50 = *((cocos2d::CCArray **)a1 + 543);\n  v74 = v44;\n  v75 = v11;\n  v51 = *((_QWORD *)v50 + 52);\n  if ( v51 )\n  {\n    v50 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v51 + 480LL))(v51);\n    v52 = v50;\n    if ( v50 )\n    {\n      LODWORD(v50) = cocos2d::CCArray::count(v50);\n      if ( (_DWORD)v50 )\n      {\n        do\n        {\n          v53 = cocos2d::CCArray::objectAtIndex(v52, v15);\n          (**((void (__fastcall ***)(__int64, unsigned __int16 *))v53 + 40))((__int64)v53 + 320, &v74);\n          ++v15;\n          LODWORD(v50) = cocos2d::CCArray::count(v52);\n        }\n        while ( v15 < (unsigned int)v50 );\n      }\n    }\n  }\n  return (int)v50;\n}", "assembly": "; \n; GJBaseGameLayer::visitWithColorFlash from 0x140352590 to 0x140352b60 (1488 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::visit @ 0x1403522c2\n; > <???> @ 0x1408b8b48\n; > <???> @ 0x1408b8bb0\n; > <???> @ 0x14092039c\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:48 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x140352590\npush    rbp                                                            ; +0x3, 0x140352593\npush    rbx                                                            ; +0x4, 0x140352594\nlea     rbp, [rax-28h]                                                 ; +0x5, 0x140352595\nsub     rsp, 118h                                                      ; +0x9, 0x140352599\nmov     [rax-18h], rsi                                                 ; +0x10, 0x1403525a0\nmov     edx, 3E8h                                                      ; +0x14, 0x1403525a4\nmov     [rax-28h], r12                                                 ; +0x19, 0x1403525a9\nmov     [rax-30h], r13                                                 ; +0x1d, 0x1403525ad\nmov     [rax-38h], r14                                                 ; +0x21, 0x1403525b1\nmov     r14, rcx                                                       ; +0x25, 0x1403525b5\nmov     rcx, [rcx+968h]                                                ; +0x28, 0x1403525b8\nmov     [rax-40h], r15                                                 ; +0x2f, 0x1403525bf\ncall    GJEffectManager__getColorSprite                                ; +0x33, 0x1403525c3\ntest    rax, rax                                                       ; +0x38, 0x1403525c8\njz      short loc_1403525E2                                            ; +0x3b, 0x1403525cb\nmovzx   edx, word ptr [rax+147h]                                       ; +0x3d, 0x1403525cd\nmov     [rsp+120h+var_100], dx                                         ; +0x44, 0x1403525d4\nmovzx   eax, byte ptr [rax+149h]                                       ; +0x49, 0x1403525d9\njmp     short loc_1403525F5                                            ; +0x50, 0x1403525e0\nmovzx   eax, cs:word_140703460                                         ; +0x52, 0x1403525e2\nmov     [rsp+120h+var_100], ax                                         ; +0x59, 0x1403525e9\nmovzx   eax, cs:byte_140703462                                         ; +0x5e, 0x1403525ee\nmov     rcx, [r14+968h]                                                ; +0x65, 0x1403525f5\nmov     edx, 3E9h                                                      ; +0x6c, 0x1403525fc\nmov     [rsp+120h+var_FE], al                                          ; +0x71, 0x140352601\ncall    GJEffectManager__getColorSprite                                ; +0x75, 0x140352605\ntest    rax, rax                                                       ; +0x7a, 0x14035260a\njz      short loc_140352621                                            ; +0x7d, 0x14035260d\nmovzx   r12d, word ptr [rax+147h]                                      ; +0x7f, 0x14035260f\nmovzx   r15d, byte ptr [rax+149h]                                      ; +0x87, 0x140352617\njmp     short loc_140352631                                            ; +0x8f, 0x14035261f\nmovzx   r12d, cs:word_140703460                                        ; +0x91, 0x140352621\nmovzx   r15d, cs:byte_140703462                                        ; +0x99, 0x140352629\nmov     rcx, [r14+968h]                                                ; +0xa1, 0x140352631\nmov     edx, 3F1h                                                      ; +0xa8, 0x140352638\nmov     [rbp+20h+arg_2], r15b                                          ; +0xad, 0x14035263d\nmov     [rbp+20h+arg_0], r12w                                          ; +0xb1, 0x140352641\ncall    GJEffectManager__getColorSprite                                ; +0xb6, 0x140352646\ntest    rax, rax                                                       ; +0xbb, 0x14035264b\njz      short loc_140352661                                            ; +0xbe, 0x14035264e\nmovzx   ebx, word ptr [rax+147h]                                       ; +0xc0, 0x140352650\nmovzx   r13d, byte ptr [rax+149h]                                      ; +0xc7, 0x140352657\njmp     short loc_140352670                                            ; +0xcf, 0x14035265f\nmovzx   ebx, cs:word_140703460                                         ; +0xd1, 0x140352661\nmovzx   r13d, cs:byte_140703462                                        ; +0xd8, 0x140352668\nmov     word ptr [rbp+20h+var_44], 101h                                ; +0xe0, 0x140352670\nlea     r8, [rbp+20h+var_60]                                           ; +0xe6, 0x140352676\nmovss   xmm1, [rbp+20h+var_44]                                         ; +0xea, 0x14035267a\nlea     rdx, [rsp+120h+var_100]                                        ; +0xef, 0x14035267f\nlea     rcx, [rbp+20h+arg_10]                                          ; +0xf4, 0x140352684\nmovss   [rbp+20h+var_54], xmm1                                         ; +0xf8, 0x140352688\nmov     [rbp+20h+arg_A], r13b                                          ; +0xfd, 0x14035268d\nmov     [rbp+20h+arg_8], bx                                            ; +0x101, 0x140352691\nmov     [rsp+120h+var_E0], bx                                          ; +0x105, 0x140352695\nmov     [rbp+20h+var_60], 0                                            ; +0x10a, 0x14035269a\nmov     [rbp+20h+var_5C], 0BE4CCCCDh                                   ; +0x111, 0x1403526a1\nmov     [rbp+20h+var_58], 3E4CCCCDh                                    ; +0x118, 0x1403526a8\ncall    GameToolbox__transformColor                                    ; +0x11f, 0x1403526af\nmovzx   eax, [rbp+20h+arg_10]                                          ; +0x124, 0x1403526b4\nmov     [rsp+120h+var_DC], ax                                          ; +0x128, 0x1403526b8\nmovzx   eax, [rbp+20h+arg_12]                                          ; +0x12d, 0x1403526bd\nmov     [rsp+120h+var_DA], al                                          ; +0x131, 0x1403526c1\ntest    r12b, r12b                                                     ; +0x135, 0x1403526c5\njnz     short loc_1403526E4                                            ; +0x138, 0x1403526c8\ncmp     byte ptr [rbp+20h+arg_0+1], r12b                               ; +0x13a, 0x1403526ca\njnz     short loc_1403526E4                                            ; +0x13e, 0x1403526ce\ntest    r15b, r15b                                                     ; +0x140, 0x1403526d0\njnz     short loc_1403526E4                                            ; +0x143, 0x1403526d3\nmovzx   esi, r12w                                                      ; +0x145, 0x1403526d5\nmov     [rbp+20h+arg_18], r12w                                         ; +0x149, 0x1403526d9\nmov     byte ptr [rbp+20h+arg_0], r15b                                 ; +0x14e, 0x1403526de\njmp     short loc_140352729                                            ; +0x152, 0x1403526e2\nmov     word ptr [rbp+20h+var_44], 101h                                ; +0x154, 0x1403526e4\nlea     r8, [rbp+20h+var_60]                                           ; +0x15a, 0x1403526ea\nmovss   xmm0, [rbp+20h+var_44]                                         ; +0x15e, 0x1403526ee\nlea     rdx, [rbp+20h+arg_0]                                           ; +0x163, 0x1403526f3\nlea     rcx, [rbp+20h+arg_10]                                          ; +0x167, 0x1403526f7\nmovss   [rbp+20h+var_54], xmm0                                         ; +0x16b, 0x1403526fb\nmov     [rbp+20h+var_60], 0                                            ; +0x170, 0x140352700\nmov     [rbp+20h+var_5C], 0BE4CCCCDh                                   ; +0x177, 0x140352707\nmov     [rbp+20h+var_58], 3E4CCCCDh                                    ; +0x17e, 0x14035270e\ncall    GameToolbox__transformColor                                    ; +0x185, 0x140352715\nmovzx   eax, [rbp+20h+arg_12]                                          ; +0x18a, 0x14035271a\nmovzx   esi, [rbp+20h+arg_10]                                          ; +0x18e, 0x14035271e\nmov     byte ptr [rbp+20h+arg_0], al                                   ; +0x192, 0x140352722\nmov     [rbp+20h+arg_18], si                                           ; +0x195, 0x140352725\ntest    bl, bl                                                         ; +0x199, 0x140352729\njnz     short loc_140352741                                            ; +0x19b, 0x14035272b\ncmp     byte ptr [rbp+20h+arg_8+1], bl                                 ; +0x19d, 0x14035272d\njnz     short loc_140352741                                            ; +0x1a0, 0x140352730\ntest    r13b, r13b                                                     ; +0x1a2, 0x140352732\njnz     short loc_140352741                                            ; +0x1a5, 0x140352735\nmov     [rbp+20h+arg_10], bx                                           ; +0x1a7, 0x140352737\nmov     byte ptr [rbp+20h+arg_8], r13b                                 ; +0x1ab, 0x14035273b\njmp     short loc_140352789                                            ; +0x1af, 0x14035273f\nmov     word ptr [rbp+20h+var_44], 101h                                ; +0x1b1, 0x140352741\nlea     r8, [rbp+20h+var_60]                                           ; +0x1b7, 0x140352747\nmovss   xmm0, [rbp+20h+var_44]                                         ; +0x1bb, 0x14035274b\nlea     rdx, [rbp+20h+arg_8]                                           ; +0x1c0, 0x140352750\nlea     rcx, [rsp+120h+var_F0]                                         ; +0x1c4, 0x140352754\nmovss   [rbp+20h+var_54], xmm0                                         ; +0x1c9, 0x140352759\nmov     [rbp+20h+var_60], 0                                            ; +0x1ce, 0x14035275e\nmov     [rbp+20h+var_5C], 0BE4CCCCDh                                   ; +0x1d5, 0x140352765\nmov     [rbp+20h+var_58], 3E4CCCCDh                                    ; +0x1dc, 0x14035276c\ncall    GameToolbox__transformColor                                    ; +0x1e3, 0x140352773\nmovzx   eax, [rsp+120h+var_F0]                                         ; +0x1e8, 0x140352778\nmov     [rbp+20h+arg_10], ax                                           ; +0x1ed, 0x14035277d\nmovzx   eax, [rsp+120h+var_EE]                                         ; +0x1f1, 0x140352781\nmov     byte ptr [rbp+20h+arg_8], al                                   ; +0x1f6, 0x140352786\nmov     rcx, [r14+10E0h]                                               ; +0x1f9, 0x140352789\nlea     rdx, [rsp+120h+var_DC]                                         ; +0x200, 0x140352790\nadd     rcx, 140h                                                      ; +0x205, 0x140352795\nmov     [rsp+120h+var_18], rdi                                         ; +0x20c, 0x14035279c\nmov     rax, [rcx]                                                     ; +0x214, 0x1403527a4\ncall    qword ptr [rax]                                                ; +0x217, 0x1403527a7\nmovzx   eax, byte ptr [rbp+20h+arg_0]                                  ; +0x219, 0x1403527a9\nmov     [rsp+120h+var_EE], al                                          ; +0x21d, 0x1403527ad\nmov     rax, [r14+10F0h]                                               ; +0x221, 0x1403527b1\nmov     [rsp+120h+var_F0], si                                          ; +0x228, 0x1403527b8\nmov     rcx, [rax+198h]                                                ; +0x22d, 0x1403527bd\nmov     rax, [rcx]                                                     ; +0x234, 0x1403527c4\ncall    qword ptr [rax+1E0h]                                           ; +0x237, 0x1403527c7\nxor     ebx, ebx                                                       ; +0x23d, 0x1403527cd\nmov     rsi, rax                                                       ; +0x23f, 0x1403527cf\ntest    rax, rax                                                       ; +0x242, 0x1403527d2\njz      short loc_14035281B                                            ; +0x245, 0x1403527d5\nmov     rcx, rax                                                       ; +0x247, 0x1403527d7\nmov     edi, ebx                                                       ; +0x24a, 0x1403527da\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24c, 0x1403527dc\ntest    eax, eax                                                       ; +0x252, 0x1403527e2\njz      short loc_14035281B                                            ; +0x254, 0x1403527e4\nnop     word ptr [rax+rax+00000000h]                                   ; +0x256, 0x1403527e6\nmov     edx, edi                                                       ; +0x260, 0x1403527f0\nmov     rcx, rsi                                                       ; +0x262, 0x1403527f2\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x265, 0x1403527f5\nlea     rdx, [rsp+120h+var_F0]                                         ; +0x26b, 0x1403527fb\nlea     rcx, [rax+140h]                                                ; +0x270, 0x140352800\nmov     rax, [rcx]                                                     ; +0x277, 0x140352807\ncall    qword ptr [rax]                                                ; +0x27a, 0x14035280a\nmov     rcx, rsi                                                       ; +0x27c, 0x14035280c\ninc     edi                                                            ; +0x27f, 0x14035280f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x281, 0x140352811\ncmp     edi, eax                                                       ; +0x287, 0x140352817\njb      short loc_1403527F0                                            ; +0x289, 0x140352819\nmovzx   eax, [rbp+20h+arg_18]                                          ; +0x28b, 0x14035281b\nmov     [rsp+120h+var_D0], ax                                          ; +0x28f, 0x14035281f\nmovzx   eax, byte ptr [rbp+20h+arg_0]                                  ; +0x294, 0x140352824\nmov     [rsp+120h+var_CE], al                                          ; +0x298, 0x140352828\nmov     rax, [r14+10F8h]                                               ; +0x29c, 0x14035282c\nmov     rcx, [rax+198h]                                                ; +0x2a3, 0x140352833\nmov     rax, [rcx]                                                     ; +0x2aa, 0x14035283a\ncall    qword ptr [rax+1E0h]                                           ; +0x2ad, 0x14035283d\nmov     rsi, rax                                                       ; +0x2b3, 0x140352843\ntest    rax, rax                                                       ; +0x2b6, 0x140352846\njz      short loc_14035288B                                            ; +0x2b9, 0x140352849\nmov     rcx, rax                                                       ; +0x2bb, 0x14035284b\nmov     edi, ebx                                                       ; +0x2be, 0x14035284e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2c0, 0x140352850\ntest    eax, eax                                                       ; +0x2c6, 0x140352856\njz      short loc_14035288B                                            ; +0x2c8, 0x140352858\nnop     word ptr [rax+rax+00h]                                         ; +0x2ca, 0x14035285a\nmov     edx, edi                                                       ; +0x2d0, 0x140352860\nmov     rcx, rsi                                                       ; +0x2d2, 0x140352862\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2d5, 0x140352865\nlea     rdx, [rsp+120h+var_D0]                                         ; +0x2db, 0x14035286b\nlea     rcx, [rax+140h]                                                ; +0x2e0, 0x140352870\nmov     rax, [rcx]                                                     ; +0x2e7, 0x140352877\ncall    qword ptr [rax]                                                ; +0x2ea, 0x14035287a\nmov     rcx, rsi                                                       ; +0x2ec, 0x14035287c\ninc     edi                                                            ; +0x2ef, 0x14035287f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2f1, 0x140352881\ncmp     edi, eax                                                       ; +0x2f7, 0x140352887\njb      short loc_140352860                                            ; +0x2f9, 0x140352889\nmovzx   eax, [rbp+20h+arg_10]                                          ; +0x2fb, 0x14035288b\nmov     [rsp+120h+var_C0], ax                                          ; +0x2ff, 0x14035288f\nmovzx   eax, byte ptr [rbp+20h+arg_8]                                  ; +0x304, 0x140352894\nmov     [rsp+120h+var_BE], al                                          ; +0x308, 0x140352898\nmov     rax, [r14+10F0h]                                               ; +0x30c, 0x14035289c\nmov     rcx, [rax+1A0h]                                                ; +0x313, 0x1403528a3\ntest    rcx, rcx                                                       ; +0x31a, 0x1403528aa\njz      short loc_1403528FB                                            ; +0x31d, 0x1403528ad\nmov     rax, [rcx]                                                     ; +0x31f, 0x1403528af\ncall    qword ptr [rax+1E0h]                                           ; +0x322, 0x1403528b2\nmov     rsi, rax                                                       ; +0x328, 0x1403528b8\ntest    rax, rax                                                       ; +0x32b, 0x1403528bb\njz      short loc_1403528FB                                            ; +0x32e, 0x1403528be\nmov     rcx, rax                                                       ; +0x330, 0x1403528c0\nmov     edi, ebx                                                       ; +0x333, 0x1403528c3\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x335, 0x1403528c5\ntest    eax, eax                                                       ; +0x33b, 0x1403528cb\njz      short loc_1403528FB                                            ; +0x33d, 0x1403528cd\nnop                                                                    ; +0x33f, 0x1403528cf\nmov     edx, edi                                                       ; +0x340, 0x1403528d0\nmov     rcx, rsi                                                       ; +0x342, 0x1403528d2\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x345, 0x1403528d5\nlea     rdx, [rsp+120h+var_C0]                                         ; +0x34b, 0x1403528db\nlea     rcx, [rax+140h]                                                ; +0x350, 0x1403528e0\nmov     rax, [rcx]                                                     ; +0x357, 0x1403528e7\ncall    qword ptr [rax]                                                ; +0x35a, 0x1403528ea\nmov     rcx, rsi                                                       ; +0x35c, 0x1403528ec\ninc     edi                                                            ; +0x35f, 0x1403528ef\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x361, 0x1403528f1\ncmp     edi, eax                                                       ; +0x367, 0x1403528f7\njb      short loc_1403528D0                                            ; +0x369, 0x1403528f9\nmovzx   eax, [rbp+20h+arg_10]                                          ; +0x36b, 0x1403528fb\nmov     [rsp+120h+var_B0], ax                                          ; +0x36f, 0x1403528ff\nmovzx   eax, byte ptr [rbp+20h+arg_8]                                  ; +0x374, 0x140352904\nmov     [rsp+120h+var_AE], al                                          ; +0x378, 0x140352908\nmov     rax, [r14+10F8h]                                               ; +0x37c, 0x14035290c\nmov     rcx, [rax+1A0h]                                                ; +0x383, 0x140352913\ntest    rcx, rcx                                                       ; +0x38a, 0x14035291a\njz      short loc_14035296B                                            ; +0x38d, 0x14035291d\nmov     rax, [rcx]                                                     ; +0x38f, 0x14035291f\ncall    qword ptr [rax+1E0h]                                           ; +0x392, 0x140352922\nmov     rsi, rax                                                       ; +0x398, 0x140352928\ntest    rax, rax                                                       ; +0x39b, 0x14035292b\njz      short loc_14035296B                                            ; +0x39e, 0x14035292e\nmov     rcx, rax                                                       ; +0x3a0, 0x140352930\nmov     edi, ebx                                                       ; +0x3a3, 0x140352933\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a5, 0x140352935\ntest    eax, eax                                                       ; +0x3ab, 0x14035293b\njz      short loc_14035296B                                            ; +0x3ad, 0x14035293d\nnop                                                                    ; +0x3af, 0x14035293f\nmov     edx, edi                                                       ; +0x3b0, 0x140352940\nmov     rcx, rsi                                                       ; +0x3b2, 0x140352942\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x3b5, 0x140352945\nlea     rdx, [rsp+120h+var_B0]                                         ; +0x3bb, 0x14035294b\nlea     rcx, [rax+140h]                                                ; +0x3c0, 0x140352950\nmov     rax, [rcx]                                                     ; +0x3c7, 0x140352957\ncall    qword ptr [rax]                                                ; +0x3ca, 0x14035295a\nmov     rcx, rsi                                                       ; +0x3cc, 0x14035295c\ninc     edi                                                            ; +0x3cf, 0x14035295f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3d1, 0x140352961\ncmp     edi, eax                                                       ; +0x3d7, 0x140352967\njb      short loc_140352940                                            ; +0x3d9, 0x140352969\nmov     rcx, r14                                                       ; +0x3db, 0x14035296b\ncall    cs:__imp_?visit@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::visit(void) ; +0x3de, 0x14035296e\nmov     rcx, [r14+10E0h]                                               ; +0x3e4, 0x140352974\nlea     rdx, [rsp+120h+var_100]                                        ; +0x3eb, 0x14035297b\nadd     rcx, 140h                                                      ; +0x3f0, 0x140352980\nmov     rax, [rcx]                                                     ; +0x3f7, 0x140352987\ncall    qword ptr [rax]                                                ; +0x3fa, 0x14035298a\nmov     rax, [r14+10F0h]                                               ; +0x3fc, 0x14035298c\nmov     [rbp+20h+var_A0], r12w                                         ; +0x403, 0x140352993\nmov     [rbp+20h+var_9E], r15b                                         ; +0x408, 0x140352998\nmov     rcx, [rax+198h]                                                ; +0x40c, 0x14035299c\nmov     rax, [rcx]                                                     ; +0x413, 0x1403529a3\ncall    qword ptr [rax+1E0h]                                           ; +0x416, 0x1403529a6\nmov     rsi, rax                                                       ; +0x41c, 0x1403529ac\ntest    rax, rax                                                       ; +0x41f, 0x1403529af\njz      short loc_1403529ED                                            ; +0x422, 0x1403529b2\nmov     rcx, rax                                                       ; +0x424, 0x1403529b4\nmov     edi, ebx                                                       ; +0x427, 0x1403529b7\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x429, 0x1403529b9\ntest    eax, eax                                                       ; +0x42f, 0x1403529bf\njz      short loc_1403529ED                                            ; +0x431, 0x1403529c1\nmov     edx, edi                                                       ; +0x433, 0x1403529c3\nmov     rcx, rsi                                                       ; +0x435, 0x1403529c5\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x438, 0x1403529c8\nlea     rdx, [rbp+20h+var_A0]                                          ; +0x43e, 0x1403529ce\nlea     rcx, [rax+140h]                                                ; +0x442, 0x1403529d2\nmov     rax, [rcx]                                                     ; +0x449, 0x1403529d9\ncall    qword ptr [rax]                                                ; +0x44c, 0x1403529dc\nmov     rcx, rsi                                                       ; +0x44e, 0x1403529de\ninc     edi                                                            ; +0x451, 0x1403529e1\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x453, 0x1403529e3\ncmp     edi, eax                                                       ; +0x459, 0x1403529e9\njb      short loc_1403529C3                                            ; +0x45b, 0x1403529eb\nmov     rax, [r14+10F8h]                                               ; +0x45d, 0x1403529ed\nmov     [rbp+20h+var_90], r12w                                         ; +0x464, 0x1403529f4\nmov     [rbp+20h+var_8E], r15b                                         ; +0x469, 0x1403529f9\nmov     rcx, [rax+198h]                                                ; +0x46d, 0x1403529fd\nmov     rax, [rcx]                                                     ; +0x474, 0x140352a04\ncall    qword ptr [rax+1E0h]                                           ; +0x477, 0x140352a07\nmov     r12, [rsp+120h+var_20]                                         ; +0x47d, 0x140352a0d\nmov     rsi, rax                                                       ; +0x485, 0x140352a15\ntest    rax, rax                                                       ; +0x488, 0x140352a18\njz      short loc_140352A5A                                            ; +0x48b, 0x140352a1b\nmov     rcx, rax                                                       ; +0x48d, 0x140352a1d\nmov     edi, ebx                                                       ; +0x490, 0x140352a20\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x492, 0x140352a22\ntest    eax, eax                                                       ; +0x498, 0x140352a28\njz      short loc_140352A5A                                            ; +0x49a, 0x140352a2a\nnop     dword ptr [rax+00h]                                            ; +0x49c, 0x140352a2c\nmov     edx, edi                                                       ; +0x4a0, 0x140352a30\nmov     rcx, rsi                                                       ; +0x4a2, 0x140352a32\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a5, 0x140352a35\nlea     rdx, [rbp+20h+var_90]                                          ; +0x4ab, 0x140352a3b\nlea     rcx, [rax+140h]                                                ; +0x4af, 0x140352a3f\nmov     rax, [rcx]                                                     ; +0x4b6, 0x140352a46\ncall    qword ptr [rax]                                                ; +0x4b9, 0x140352a49\nmov     rcx, rsi                                                       ; +0x4bb, 0x140352a4b\ninc     edi                                                            ; +0x4be, 0x140352a4e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4c0, 0x140352a50\ncmp     edi, eax                                                       ; +0x4c6, 0x140352a56\njb      short loc_140352A30                                            ; +0x4c8, 0x140352a58\nmov     rax, [r14+10F0h]                                               ; +0x4ca, 0x140352a5a\nmovzx   r15d, [rsp+120h+var_E0]                                        ; +0x4d1, 0x140352a61\nmov     [rbp+20h+var_80], r15w                                         ; +0x4d7, 0x140352a67\nmov     [rbp+20h+var_7E], r13b                                         ; +0x4dc, 0x140352a6c\nmov     rcx, [rax+1A0h]                                                ; +0x4e0, 0x140352a70\ntest    rcx, rcx                                                       ; +0x4e7, 0x140352a77\njz      short loc_140352ACA                                            ; +0x4ea, 0x140352a7a\nmov     rax, [rcx]                                                     ; +0x4ec, 0x140352a7c\ncall    qword ptr [rax+1E0h]                                           ; +0x4ef, 0x140352a7f\nmov     rsi, rax                                                       ; +0x4f5, 0x140352a85\ntest    rax, rax                                                       ; +0x4f8, 0x140352a88\njz      short loc_140352ACA                                            ; +0x4fb, 0x140352a8b\nmov     rcx, rax                                                       ; +0x4fd, 0x140352a8d\nmov     edi, ebx                                                       ; +0x500, 0x140352a90\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x502, 0x140352a92\ntest    eax, eax                                                       ; +0x508, 0x140352a98\njz      short loc_140352ACA                                            ; +0x50a, 0x140352a9a\nnop     dword ptr [rax+00h]                                            ; +0x50c, 0x140352a9c\nmov     edx, edi                                                       ; +0x510, 0x140352aa0\nmov     rcx, rsi                                                       ; +0x512, 0x140352aa2\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x515, 0x140352aa5\nlea     rdx, [rbp+20h+var_80]                                          ; +0x51b, 0x140352aab\nlea     rcx, [rax+140h]                                                ; +0x51f, 0x140352aaf\nmov     rax, [rcx]                                                     ; +0x526, 0x140352ab6\ncall    qword ptr [rax]                                                ; +0x529, 0x140352ab9\nmov     rcx, rsi                                                       ; +0x52b, 0x140352abb\ninc     edi                                                            ; +0x52e, 0x140352abe\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x530, 0x140352ac0\ncmp     edi, eax                                                       ; +0x536, 0x140352ac6\njb      short loc_140352AA0                                            ; +0x538, 0x140352ac8\nmov     rax, [r14+10F8h]                                               ; +0x53a, 0x140352aca\nmov     r14, [rsp+120h+var_30]                                         ; +0x541, 0x140352ad1\nmov     rsi, [rsp+110h]                                                ; +0x549, 0x140352ad9\nmov     [rbp+20h+var_70], r15w                                         ; +0x551, 0x140352ae1\nmov     r15, [rsp+120h+var_38]                                         ; +0x556, 0x140352ae6\nmov     [rbp+20h+var_6E], r13b                                         ; +0x55e, 0x140352aee\nmov     rcx, [rax+1A0h]                                                ; +0x562, 0x140352af2\nmov     r13, [rsp+120h+var_28]                                         ; +0x569, 0x140352af9\ntest    rcx, rcx                                                       ; +0x571, 0x140352b01\njz      short loc_140352B4E                                            ; +0x574, 0x140352b04\nmov     rax, [rcx]                                                     ; +0x576, 0x140352b06\ncall    qword ptr [rax+1E0h]                                           ; +0x579, 0x140352b09\nmov     rdi, rax                                                       ; +0x57f, 0x140352b0f\ntest    rax, rax                                                       ; +0x582, 0x140352b12\njz      short loc_140352B4E                                            ; +0x585, 0x140352b15\nmov     rcx, rax                                                       ; +0x587, 0x140352b17\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x58a, 0x140352b1a\ntest    eax, eax                                                       ; +0x590, 0x140352b20\njz      short loc_140352B4E                                            ; +0x592, 0x140352b22\nmov     edx, ebx                                                       ; +0x594, 0x140352b24\nmov     rcx, rdi                                                       ; +0x596, 0x140352b26\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x599, 0x140352b29\nlea     rdx, [rbp+20h+var_70]                                          ; +0x59f, 0x140352b2f\nlea     rcx, [rax+140h]                                                ; +0x5a3, 0x140352b33\nmov     rax, [rcx]                                                     ; +0x5aa, 0x140352b3a\ncall    qword ptr [rax]                                                ; +0x5ad, 0x140352b3d\nmov     rcx, rdi                                                       ; +0x5af, 0x140352b3f\ninc     ebx                                                            ; +0x5b2, 0x140352b42\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5b4, 0x140352b44\ncmp     ebx, eax                                                       ; +0x5ba, 0x140352b4a\njb      short loc_140352B24                                            ; +0x5bc, 0x140352b4c\nmov     rdi, [rsp+120h+var_18]                                         ; +0x5be, 0x140352b4e\nadd     rsp, 118h                                                      ; +0x5c6, 0x140352b56\npop     rbx                                                            ; +0x5cd, 0x140352b5d\npop     rbp                                                            ; +0x5ce, 0x140352b5e\nretn                                                                   ; +0x5cf, 0x140352b5f", "xrefs": ["GJBaseGameLayer::visit @ 0x1403522c2", "<???> @ 0x1408b8b48", "<???> @ 0x1408b8bb0", "<???> @ 0x14092039c"], "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"}