{"type": "func", "start": 5370442768, "end": 5370444968, "name": "GJTransformControl::ccTouchMoved", "pseudocode": "// \n// GJTransformControl::ccTouchMoved from 0x1401a7410 to 0x1401a7ca8 (2200 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140750430\n// > <???> @ 0x140919c04\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:27:50 +0000\n// \n\n// Hidden C++ exception states: #wind=2\n__int64 __fastcall GJTransformControl::ccTouchMoved(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  __int16 v5; // ax\n  __int64 v6; // rax\n  __int64 v7; // r15\n  __int64 v8; // rax\n  struct cocos2d::CCObject *v9; // r14\n  int v10; // r8d\n  __int64 v11; // rcx\n  int v12; // esi\n  __int64 v13; // rax\n  __int64 v14; // rax\n  __int64 v15; // r9\n  __int64 v16; // rax\n  __int64 v17; // rax\n  int v18; // eax\n  __int64 v19; // rax\n  struct cocos2d::CCObject *v20; // rsi\n  __int64 v21; // rbx\n  __int64 v22; // rax\n  __int64 v23; // rax\n  const struct cocos2d::CCPoint *v24; // rax\n  __int64 v25; // rax\n  __int64 v26; // rbx\n  __int64 v27; // rax\n  __int64 v28; // rax\n  float v29; // xmm6_4\n  float v30; // xmm1_4\n  __int64 v31; // rax\n  float v32; // xmm2_4\n  struct cocos2d::CCObject *v33; // rsi\n  __int64 v34; // rbx\n  float v35; // xmm6_4\n  float *v36; // rax\n  __int64 v37; // rax\n  const struct cocos2d::CCPoint *v38; // rax\n  __int64 v39; // rax\n  __int64 v40; // rbx\n  float *v41; // rax\n  __int64 v42; // rax\n  float v43; // xmm6_4\n  float v44; // xmm1_4\n  __int64 v45; // rax\n  float v46; // xmm2_4\n  struct cocos2d::CCObject *v47; // rsi\n  __int64 v48; // rbx\n  __int64 v49; // rax\n  const struct cocos2d::CCPoint *v50; // rax\n  __int64 v51; // rax\n  float v52; // xmm8_4\n  float v53; // xmm7_4\n  __int16 v54; // ax\n  float v55; // xmm6_4\n  float v56; // xmm6_4\n  float v57; // xmm8_4\n  float v58; // xmm2_4\n  __int16 v59; // ax\n  float v60; // xmm1_4\n  float v61; // xmm1_4\n  __int32 v62; // xmm8_4\n  float *v63; // rax\n  float *v64; // rbx\n  char v65; // dl\n  float *v66; // rcx\n  float v67; // xmm1_4\n  float v68; // xmm0_4\n  float *v69; // rsi\n  float *v70; // rax\n  __int64 v71; // rax\n  float v72; // xmm2_4\n  struct cocos2d::CCObject *v73; // rax\n  struct cocos2d::CCObject *v74; // rsi\n  float v75; // xmm0_4\n  float v76; // xmm6_4\n  __int64 v77; // rbx\n  __int64 v78; // rax\n  __int64 v79; // rax\n  struct cocos2d::CCObject *v80; // rax\n  struct cocos2d::CCObject *v81; // rsi\n  float v82; // xmm0_4\n  float v83; // xmm6_4\n  __int64 v84; // rbx\n  float *v85; // rax\n  __int64 v86; // rax\n  float v87; // xmm7_4\n  float v88; // xmm0_4\n  __int64 v89; // rcx\n  void *v90; // [rsp+20h] [rbp-40h] BYREF\n  char v91[8]; // [rsp+28h] [rbp-38h] BYREF\n  float v92; // [rsp+90h] [rbp+30h] BYREF\n  float v93; // [rsp+94h] [rbp+34h]\n  float v94; // [rsp+A8h] [rbp+48h] BYREF\n  float v95; // [rsp+ACh] [rbp+4Ch]\n\n  if ( *(_QWORD *)(a1 + 264) )\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 264) + 320LL) + 16LL))(*(_QWORD *)(a1 + 264) + 320LL);\n  cocos2d::CCTouch::getLocation(a2, &v92);\n  v5 = *(_WORD *)(a1 + 116);\n  if ( v5 == 12 || v5 == 1 )\n  {\n    v7 = a1 - 320;\n    cocos2d::CCNode::convertToNodeSpace(a1 - 320, &v94, &v92);\n    cocos2d::CCPoint::operator=(&v92, v8);\n  }\n  else\n  {\n    cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 88), &v94, &v92);\n    cocos2d::CCPoint::operator=(&v92, v6);\n    v7 = a1 - 320;\n  }\n  result = *(unsigned int *)(a2 + 56);\n  if ( *(_DWORD *)(a1 + 112) == (_DWORD)result )\n  {\n    v9 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), 0);\n    v10 = *(__int16 *)(a1 + 116);\n    switch ( *(_WORD *)(a1 + 116) )\n    {\n      case 1:\n        cocos2d::CCPoint::operator+(&v92, &v94, a1 + 128);\n        v11 = qword_14090BFD0;\n        if ( !qword_14090BFD0 )\n        {\n          v90 = operator new(0x6E8u);\n          qword_14090BFD0 = GameManager::GameManager(v90);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n          v11 = qword_14090BFD0;\n        }\n        if ( !(unsigned __int8)GameManager::getGameVariable(v11, \"0242\") )\n        {\n          v12 = *(_DWORD *)(a1 + 312);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v90, (const struct cocos2d::CCPoint *)&v94);\n          v14 = GJTransformControl::snapToNearestVertex(a1 - 320, v91, v13);\n          cocos2d::CCPoint::operator=(&v94, v14);\n          if ( *(_BYTE *)(a1 + 282) && !*(_DWORD *)(a1 + 312) )\n          {\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v91, (const struct cocos2d::CCPoint *)&v94);\n            LOBYTE(v15) = 1;\n            v17 = GJTransformControl::snapToGrid(a1 - 320, &v90, v16, v15);\n            cocos2d::CCPoint::operator=(&v94, v17);\n          }\n          v18 = *(_DWORD *)(a1 + 312);\n          if ( v18 )\n          {\n            if ( v18 != v12 )\n            {\n              v19 = EditorSFXManager::sharedState();\n              EditorSFXManager::playAction(v19, 275);\n            }\n          }\n        }\n        (*(void (__fastcall **)(struct cocos2d::CCObject *, float *))(*(_QWORD *)v9 + 184LL))(v9, &v94);\n        return GJTransformControl::updateButtons(a1 - 320, 0, 0);\n      case 2:\n      case 3:\n        v20 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), v10 - 1);\n        v21 = *(_QWORD *)v20;\n        v22 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v20 + 200LL))(v20);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v94, v92 + *(float *)(a1 + 128), *(float *)(v22 + 4));\n        (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v21 + 184))(v20, v23);\n        if ( *(_BYTE *)(a1 + 282) )\n        {\n          v24 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v20 + 200LL))(v20);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v91, v24);\n          GJTransformControl::snapToGrid(v7, &v94, v25, 0);\n          v26 = *(_QWORD *)v20;\n          v27 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v20 + 200LL))(v20);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v91, v94, *(float *)(v27 + 4));\n          (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v26 + 184))(v20, v28);\n        }\n        v29 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v9 + 200LL))(v9);\n        v30 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v20 + 200LL))(v20) - v29;\n        v31 = 136;\n        if ( *(_WORD *)(a1 + 116) != 3 )\n          v31 = 144;\n        v32 = *(float *)(v31 + a1) - v29;\n        if ( fabs(v32) > 0.0099999998 )\n        {\n          *(float *)(a1 + 272) = v30 / v32;\n          (***(void (__fastcall ****)(_QWORD))(a1 + 120))(*(_QWORD *)(a1 + 120));\n        }\n        return GJTransformControl::updateButtons(a1 - 320, 0, 0);\n      case 4:\n      case 5:\n        v33 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), v10 - 1);\n        v34 = *(_QWORD *)v33;\n        v35 = v93 + *(float *)(a1 + 132);\n        v36 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v33 + 200LL))(v33);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v94, *v36, v35);\n        (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v34 + 184))(v33, v37);\n        if ( *(_BYTE *)(a1 + 282) )\n        {\n          v38 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v33 + 200LL))(v33);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v91, v38);\n          GJTransformControl::snapToGrid(v7, &v94, v39, 0);\n          v40 = *(_QWORD *)v33;\n          v41 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v33 + 200LL))(v33);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v91, *v41, v95);\n          (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v40 + 184))(v33, v42);\n        }\n        v43 = *(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v9 + 200LL))(v9) + 4);\n        v44 = *(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v33 + 200LL))(v33) + 4)\n            - v43;\n        v45 = 140;\n        if ( *(_WORD *)(a1 + 116) != 4 )\n          v45 = 148;\n        v46 = *(float *)(v45 + a1) - v43;\n        if ( fabs(v46) > 0.0099999998 )\n        {\n          *(float *)(a1 + 276) = v44 / v46;\n          (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 120) + 8LL))(*(_QWORD *)(a1 + 120));\n        }\n        return GJTransformControl::updateButtons(a1 - 320, 0, 0);\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n        v47 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), v10 - 1);\n        v48 = *(_QWORD *)v47;\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v94, v92 + *(float *)(a1 + 128), v93 + *(float *)(a1 + 132));\n        (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v48 + 184))(v47, v49);\n        if ( *(_BYTE *)(a1 + 282) )\n        {\n          v50 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v47 + 200LL))(v47);\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v91, v50);\n          GJTransformControl::snapToGrid(v7, &v94, v51, 0);\n          (*(void (__fastcall **)(struct cocos2d::CCObject *, float *))(*(_QWORD *)v47 + 184LL))(v47, &v94);\n        }\n        v52 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v9 + 200LL))(v9);\n        v53 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v47 + 200LL))(v47) - v52;\n        v54 = *(_WORD *)(a1 + 116);\n        if ( v54 == 7 || v54 == 9 )\n          v55 = *(float *)(a1 + 136);\n        else\n          v55 = *(float *)(a1 + 144);\n        v56 = v55 - v52;\n        v57 = *(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v9 + 200LL))(v9) + 4);\n        v58 = *(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v47 + 200LL))(v47) + 4)\n            - v57;\n        v59 = *(_WORD *)(a1 + 116);\n        if ( v59 == 6 || v59 == 7 )\n          v60 = *(float *)(a1 + 140);\n        else\n          v60 = *(float *)(a1 + 148);\n        v61 = v60 - v57;\n        v62 = _mm_load_si128((const __m128i *)&xmmword_140836C90).m128i_i32[0];\n        v63 = (float *)(a1 + 272);\n        if ( COERCE_FLOAT(LODWORD(v56) & v62) > 0.0099999998 )\n          *v63 = v53 / v56;\n        v64 = (float *)(a1 + 276);\n        if ( COERCE_FLOAT(LODWORD(v61) & v62) > 0.0099999998 )\n          *v64 = v58 / v61;\n        v65 = *(_BYTE *)(a1 + 280);\n        v66 = (float *)(a1 + 272);\n        if ( v65 )\n        {\n          v67 = *(float *)(a1 + 168);\n          if ( v67 != 0.0 )\n          {\n            v68 = *(float *)(a1 + 172);\n            v66 = (float *)(a1 + 272);\n            if ( v68 != 0.0 )\n            {\n              *v64 = (float)(v68 * *v63) / v67;\nLABEL_55:\n              (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 120) + 16LL))(*(_QWORD *)(a1 + 120));\n              return GJTransformControl::updateButtons(a1 - 320, 0, 0);\n            }\n          }\n        }\n        v69 = v66;\n        v70 = (float *)(a1 + 276);\n        if ( !v65 )\n        {\n          v71 = cocos2d::CCDirector::sharedDirector(v66);\n          if ( !*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v71 + 176LL))(v71) + 152) )\n            goto LABEL_55;\n          v70 = (float *)(a1 + 276);\n        }\n        v72 = *v69;\n        if ( COERCE_FLOAT(*(_DWORD *)v69 & v62) < COERCE_FLOAT(*(_DWORD *)v64 & v62) )\n          v72 = *v64;\n        *v69 = v72;\n        *v70 = v72;\n        goto LABEL_55;\n      case 0xA:\n        v73 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), v10 - 1);\n        v74 = v73;\n        v75 = v92 + *(float *)(a1 + 128);\n        v76 = -100.0;\n        if ( v75 >= -100.0 )\n          v76 = fminf(100.0, v75);\n        v77 = *(_QWORD *)v73;\n        v78 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v73 + 200LL))(v73);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v94, v76, *(float *)(v78 + 4));\n        (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v77 + 184))(v74, v79);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 120) + 64LL))(*(_QWORD *)(a1 + 120));\n        return GJTransformControl::updateButtons(a1 - 320, 0, 0);\n      case 0xB:\n        v80 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), v10 - 1);\n        v81 = v80;\n        v82 = v93 + *(float *)(a1 + 132);\n        v83 = -100.0;\n        if ( v82 >= -100.0 )\n          v83 = fminf(100.0, v82);\n        v84 = *(_QWORD *)v80;\n        v85 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v80 + 200LL))(v80);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v94, *v85, v83);\n        (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v84 + 184))(v81, v86);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 120) + 72LL))(*(_QWORD *)(a1 + 120));\n        return GJTransformControl::updateButtons(a1 - 320, 0, 0);\n      case 0xC:\n        v87 = (float)((float)((float)-(float)(atan2f(v93 + *(float *)(a1 + 132), v92 + *(float *)(a1 + 128)) * 57.29578)\n                            * 100.0)\n                    / 100.0)\n            - *(float *)(a1 + 292);\n        if ( *(_BYTE *)(a1 + 282) )\n        {\n          v88 = roundf(v87 / 45.0) * 45.0;\n          if ( fabs(v88 - v87) < 4.0 )\n            v87 = v88;\n        }\n        if ( v87 != *(float *)(a1 + 288) )\n        {\n          *(float *)(a1 + 288) = v87;\n          (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 96) + 352LL))(*(_QWORD *)(a1 + 96));\n          v89 = *(_QWORD *)(a1 + 120);\n          if ( v89 )\n          {\n            if ( !*(_BYTE *)(a1 + 283) )\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)v89 + 40LL))(v89);\n          }\n        }\n        return GJTransformControl::updateButtons(a1 - 320, 0, 0);\n      default:\n        return GJTransformControl::updateButtons(a1 - 320, 0, 0);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJTransformControl::ccTouchMoved from 0x1401a7410 to 0x1401a7ca8 (2200 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140750430\n; > <???> @ 0x140919c04\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:27:50 +0000\n; \nmov     [rsp-28h+arg_8], rbx                                           ; +0x0, 0x1401a7410\npush    rbp                                                            ; +0x5, 0x1401a7415\npush    rsi                                                            ; +0x6, 0x1401a7416\npush    rdi                                                            ; +0x7, 0x1401a7417\npush    r14                                                            ; +0x8, 0x1401a7418\npush    r15                                                            ; +0xa, 0x1401a741a\nmov     rbp, rsp                                                       ; +0xc, 0x1401a741c\nsub     rsp, 60h                                                       ; +0xf, 0x1401a741f\nmovaps  [rsp+60h+var_10], xmm6                                         ; +0x13, 0x1401a7423\nmovaps  [rsp+60h+var_20], xmm7                                         ; +0x18, 0x1401a7428\nmovaps  [rsp+60h+var_30], xmm8                                         ; +0x1d, 0x1401a742d\nmov     rbx, rdx                                                       ; +0x23, 0x1401a7433\nmov     rdi, rcx                                                       ; +0x26, 0x1401a7436\ncmp     qword ptr [rcx+108h], 0                                        ; +0x29, 0x1401a7439\njz      short loc_1401A745C                                            ; +0x31, 0x1401a7441\nmov     rcx, [rcx+108h]                                                ; +0x33, 0x1401a7443\nadd     rcx, 140h                                                      ; +0x3a, 0x1401a744a\nmov     rax, [rcx]                                                     ; +0x41, 0x1401a7451\ncall    qword ptr [rax+10h]                                            ; +0x44, 0x1401a7454\njmp     loc_1401A7C53                                                  ; +0x47, 0x1401a7457\nlea     rdx, [rbp+arg_0]                                               ; +0x4c, 0x1401a745c\nmov     rcx, rbx                                                       ; +0x50, 0x1401a7460\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x53, 0x1401a7463\nmovzx   eax, word ptr [rdi+74h]                                        ; +0x59, 0x1401a7469\ncmp     ax, 0Ch                                                        ; +0x5d, 0x1401a746d\njz      short loc_1401A74A1                                            ; +0x61, 0x1401a7471\ncmp     ax, 1                                                          ; +0x63, 0x1401a7473\njz      short loc_1401A74A1                                            ; +0x67, 0x1401a7477\nlea     r8, [rbp+arg_0]                                                ; +0x69, 0x1401a7479\nlea     rdx, [rbp+arg_18]                                              ; +0x6d, 0x1401a747d\nmov     rcx, [rdi+58h]                                                 ; +0x71, 0x1401a7481\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x75, 0x1401a7485\nmov     rdx, rax                                                       ; +0x7b, 0x1401a748b\nlea     rcx, [rbp+arg_0]                                               ; +0x7e, 0x1401a748e\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x82, 0x1401a7492\nlea     r15, [rdi-140h]                                                ; +0x88, 0x1401a7498\njmp     short loc_1401A74C6                                            ; +0x8f, 0x1401a749f\nlea     r15, [rdi-140h]                                                ; +0x91, 0x1401a74a1\nlea     r8, [rbp+arg_0]                                                ; +0x98, 0x1401a74a8\nlea     rdx, [rbp+arg_18]                                              ; +0x9c, 0x1401a74ac\nmov     rcx, r15                                                       ; +0xa0, 0x1401a74b0\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0xa3, 0x1401a74b3\nmov     rdx, rax                                                       ; +0xa9, 0x1401a74b9\nlea     rcx, [rbp+arg_0]                                               ; +0xac, 0x1401a74bc\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xb0, 0x1401a74c0\nmov     eax, [rbx+38h]                                                 ; +0xb6, 0x1401a74c6\ncmp     [rdi+70h], eax                                                 ; +0xb9, 0x1401a74c9\njnz     loc_1401A7C53                                                  ; +0xbc, 0x1401a74cc\nxor     edx, edx                                                       ; +0xc2, 0x1401a74d2\nmov     rcx, [rdi+0C0h]                                                ; +0xc4, 0x1401a74d4\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xcb, 0x1401a74db\nmov     r14, rax                                                       ; +0xd1, 0x1401a74e1\nmovsx   r8d, word ptr [rdi+74h]                                        ; +0xd4, 0x1401a74e4\nlea     eax, [r8-1]; switch 12 cases                                   ; +0xd9, 0x1401a74e9\ncmp     eax, 0Bh                                                       ; +0xdd, 0x1401a74ed\nja      def_1401A750A; jumptable 00000001401A750A default case         ; +0xe0, 0x1401a74f0\nmovsxd  rcx, eax                                                       ; +0xe6, 0x1401a74f6\nlea     rax, cs:140000000h                                             ; +0xe9, 0x1401a74f9\nmov     edx, ds:(jpt_1401A750A - 140000000h)[rax+rcx*4]                ; +0xf0, 0x1401a7500\nadd     rdx, rax                                                       ; +0xf7, 0x1401a7507\njmp     rdx; switch jump                                               ; +0xfa, 0x1401a750a\nlea     r8, [rdi+80h]; jumptable 00000001401A750A case 1               ; +0xfc, 0x1401a750c\nlea     rdx, [rbp+arg_18]                                              ; +0x103, 0x1401a7513\nlea     rcx, [rbp+arg_0]                                               ; +0x107, 0x1401a7517\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x10b, 0x1401a751b\nmov     rcx, cs:qword_14090BFD0                                        ; +0x111, 0x1401a7521\ntest    rcx, rcx                                                       ; +0x118, 0x1401a7528\njnz     short loc_1401A755E                                            ; +0x11b, 0x1401a752b\nmov     ecx, 6E8h; Size                                                ; +0x11d, 0x1401a752d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x122, 0x1401a7532\nmov     [rbp+var_40], rax                                              ; +0x127, 0x1401a7537\nmov     rcx, rax                                                       ; +0x12b, 0x1401a753b\ncall    GameManager__GameManager                                       ; +0x12e, 0x1401a753e\nnop                                                                    ; +0x133, 0x1401a7543\nmov     cs:qword_14090BFD0, rax                                        ; +0x134, 0x1401a7544\nmov     rcx, [rax]                                                     ; +0x13b, 0x1401a754b\nmov     rdx, [rcx+48h]                                                 ; +0x13e, 0x1401a754e\nmov     rcx, rax                                                       ; +0x142, 0x1401a7552\ncall    rdx                                                            ; +0x145, 0x1401a7555\nmov     rcx, cs:qword_14090BFD0                                        ; +0x147, 0x1401a7557\nlea     rdx, a0242; \"0242\"                                             ; +0x14e, 0x1401a755e\ncall    GameManager__getGameVariable                                   ; +0x155, 0x1401a7565\ntest    al, al                                                         ; +0x15a, 0x1401a756a\njnz     loc_1401A7609                                                  ; +0x15c, 0x1401a756c\nmov     esi, [rdi+138h]                                                ; +0x162, 0x1401a7572\nlea     rdx, [rbp+arg_18]                                              ; +0x168, 0x1401a7578\nlea     rcx, [rbp+var_40]                                              ; +0x16c, 0x1401a757c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x170, 0x1401a7580\nmov     r8, rax                                                        ; +0x176, 0x1401a7586\nlea     rdx, [rbp+var_38]                                              ; +0x179, 0x1401a7589\nlea     rcx, [rdi-140h]                                                ; +0x17d, 0x1401a758d\ncall    GJTransformControl__snapToNearestVertex                        ; +0x184, 0x1401a7594\nmov     rdx, rax                                                       ; +0x189, 0x1401a7599\nlea     rcx, [rbp+arg_18]                                              ; +0x18c, 0x1401a759c\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x190, 0x1401a75a0\ncmp     byte ptr [rdi+11Ah], 0                                         ; +0x196, 0x1401a75a6\njz      short loc_1401A75E9                                            ; +0x19d, 0x1401a75ad\ncmp     dword ptr [rdi+138h], 0                                        ; +0x19f, 0x1401a75af\njnz     short loc_1401A75E9                                            ; +0x1a6, 0x1401a75b6\nlea     rdx, [rbp+arg_18]                                              ; +0x1a8, 0x1401a75b8\nlea     rcx, [rbp+var_38]                                              ; +0x1ac, 0x1401a75bc\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1b0, 0x1401a75c0\nmov     r8, rax                                                        ; +0x1b6, 0x1401a75c6\nmov     r9b, 1                                                         ; +0x1b9, 0x1401a75c9\nlea     rdx, [rbp+var_40]                                              ; +0x1bc, 0x1401a75cc\nlea     rcx, [rdi-140h]                                                ; +0x1c0, 0x1401a75d0\ncall    GJTransformControl__snapToGrid                                 ; +0x1c7, 0x1401a75d7\nmov     rdx, rax                                                       ; +0x1cc, 0x1401a75dc\nlea     rcx, [rbp+arg_18]                                              ; +0x1cf, 0x1401a75df\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1d3, 0x1401a75e3\nmov     eax, [rdi+138h]                                                ; +0x1d9, 0x1401a75e9\ntest    eax, eax                                                       ; +0x1df, 0x1401a75ef\njz      short loc_1401A7609                                            ; +0x1e1, 0x1401a75f1\ncmp     eax, esi                                                       ; +0x1e3, 0x1401a75f3\njz      short loc_1401A7609                                            ; +0x1e5, 0x1401a75f5\ncall    EditorSFXManager__sharedState                                  ; +0x1e7, 0x1401a75f7\nmov     rcx, rax                                                       ; +0x1ec, 0x1401a75fc\nmov     edx, 113h                                                      ; +0x1ef, 0x1401a75ff\ncall    EditorSFXManager__playAction                                   ; +0x1f4, 0x1401a7604\nmov     rax, [r14]                                                     ; +0x1f9, 0x1401a7609\nlea     rdx, [rbp+arg_18]                                              ; +0x1fc, 0x1401a760c\nmov     rcx, r14                                                       ; +0x200, 0x1401a7610\ncall    qword ptr [rax+0B8h]                                           ; +0x203, 0x1401a7613\njmp     def_1401A750A; jumptable 00000001401A750A default case         ; +0x209, 0x1401a7619\nlea     edx, [r8-1]; jumptable 00000001401A750A cases 2,3              ; +0x20e, 0x1401a761e\nmov     rcx, [rdi+0C0h]                                                ; +0x212, 0x1401a7622\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x219, 0x1401a7629\nmov     rsi, rax                                                       ; +0x21f, 0x1401a762f\nmov     rbx, [rax]                                                     ; +0x222, 0x1401a7632\nmov     rcx, rax                                                       ; +0x225, 0x1401a7635\ncall    qword ptr [rbx+0C8h]                                           ; +0x228, 0x1401a7638\nmovss   xmm1, [rbp+arg_0]                                              ; +0x22e, 0x1401a763e\naddss   xmm1, dword ptr [rdi+80h]                                      ; +0x233, 0x1401a7643\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x23b, 0x1401a764b\nlea     rcx, [rbp+arg_18]                                              ; +0x240, 0x1401a7650\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x244, 0x1401a7654\nmov     rdx, rax                                                       ; +0x24a, 0x1401a765a\nmov     rcx, rsi                                                       ; +0x24d, 0x1401a765d\ncall    qword ptr [rbx+0B8h]                                           ; +0x250, 0x1401a7660\ncmp     byte ptr [rdi+11Ah], 0                                         ; +0x256, 0x1401a7666\njz      short loc_1401A76C6                                            ; +0x25d, 0x1401a766d\nmov     rax, [rsi]                                                     ; +0x25f, 0x1401a766f\nmov     rcx, rsi                                                       ; +0x262, 0x1401a7672\ncall    qword ptr [rax+0C8h]                                           ; +0x265, 0x1401a7675\nmov     rdx, rax                                                       ; +0x26b, 0x1401a767b\nlea     rcx, [rbp+var_38]                                              ; +0x26e, 0x1401a767e\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x272, 0x1401a7682\nmov     r8, rax                                                        ; +0x278, 0x1401a7688\nxor     r9d, r9d                                                       ; +0x27b, 0x1401a768b\nlea     rdx, [rbp+arg_18]                                              ; +0x27e, 0x1401a768e\nmov     rcx, r15                                                       ; +0x282, 0x1401a7692\ncall    GJTransformControl__snapToGrid                                 ; +0x285, 0x1401a7695\nmov     rbx, [rsi]                                                     ; +0x28a, 0x1401a769a\nmov     rcx, rsi                                                       ; +0x28d, 0x1401a769d\ncall    qword ptr [rbx+0C8h]                                           ; +0x290, 0x1401a76a0\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x296, 0x1401a76a6\nmovss   xmm1, [rbp+arg_18]                                             ; +0x29b, 0x1401a76ab\nlea     rcx, [rbp+var_38]                                              ; +0x2a0, 0x1401a76b0\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2a4, 0x1401a76b4\nmov     rdx, rax                                                       ; +0x2aa, 0x1401a76ba\nmov     rcx, rsi                                                       ; +0x2ad, 0x1401a76bd\ncall    qword ptr [rbx+0B8h]                                           ; +0x2b0, 0x1401a76c0\nmov     rax, [r14]                                                     ; +0x2b6, 0x1401a76c6\nmov     rcx, r14                                                       ; +0x2b9, 0x1401a76c9\ncall    qword ptr [rax+0C8h]                                           ; +0x2bc, 0x1401a76cc\nmovss   xmm6, dword ptr [rax]                                          ; +0x2c2, 0x1401a76d2\nmov     rax, [rsi]                                                     ; +0x2c6, 0x1401a76d6\nmov     rcx, rsi                                                       ; +0x2c9, 0x1401a76d9\ncall    qword ptr [rax+0C8h]                                           ; +0x2cc, 0x1401a76dc\nmovss   xmm1, dword ptr [rax]                                          ; +0x2d2, 0x1401a76e2\nsubss   xmm1, xmm6                                                     ; +0x2d6, 0x1401a76e6\nmov     eax, 88h                                                       ; +0x2da, 0x1401a76ea\nmov     ecx, 90h                                                       ; +0x2df, 0x1401a76ef\ncmp     word ptr [rdi+74h], 3                                          ; +0x2e4, 0x1401a76f4\ncmovnz  eax, ecx                                                       ; +0x2e9, 0x1401a76f9\nmovss   xmm2, dword ptr [rax+rdi]                                      ; +0x2ec, 0x1401a76fc\nsubss   xmm2, xmm6                                                     ; +0x2f1, 0x1401a7701\nmovaps  xmm0, xmm2                                                     ; +0x2f5, 0x1401a7705\nandps   xmm0, cs:xmmword_140836C90                                     ; +0x2f8, 0x1401a7708\ncomiss  xmm0, cs:dword_140834D9C                                       ; +0x2ff, 0x1401a770f\njbe     def_1401A750A; jumptable 00000001401A750A default case         ; +0x306, 0x1401a7716\ndivss   xmm1, xmm2                                                     ; +0x30c, 0x1401a771c\nmovss   dword ptr [rdi+110h], xmm1                                     ; +0x310, 0x1401a7720\nmov     rcx, [rdi+78h]                                                 ; +0x318, 0x1401a7728\nmov     rax, [rcx]                                                     ; +0x31c, 0x1401a772c\ncall    qword ptr [rax]                                                ; +0x31f, 0x1401a772f\njmp     def_1401A750A; jumptable 00000001401A750A default case         ; +0x321, 0x1401a7731\nlea     edx, [r8-1]; jumptable 00000001401A750A cases 4,5              ; +0x326, 0x1401a7736\nmov     rcx, [rdi+0C0h]                                                ; +0x32a, 0x1401a773a\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x331, 0x1401a7741\nmov     rsi, rax                                                       ; +0x337, 0x1401a7747\nmov     rbx, [rax]                                                     ; +0x33a, 0x1401a774a\nmovss   xmm6, [rbp+arg_4]                                              ; +0x33d, 0x1401a774d\naddss   xmm6, dword ptr [rdi+84h]                                      ; +0x342, 0x1401a7752\nmov     rcx, rax                                                       ; +0x34a, 0x1401a775a\ncall    qword ptr [rbx+0C8h]                                           ; +0x34d, 0x1401a775d\nmovaps  xmm2, xmm6                                                     ; +0x353, 0x1401a7763\nmovss   xmm1, dword ptr [rax]                                          ; +0x356, 0x1401a7766\nlea     rcx, [rbp+arg_18]                                              ; +0x35a, 0x1401a776a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x35e, 0x1401a776e\nmov     rdx, rax                                                       ; +0x364, 0x1401a7774\nmov     rcx, rsi                                                       ; +0x367, 0x1401a7777\ncall    qword ptr [rbx+0B8h]                                           ; +0x36a, 0x1401a777a\ncmp     byte ptr [rdi+11Ah], 0                                         ; +0x370, 0x1401a7780\njz      short loc_1401A77DF                                            ; +0x377, 0x1401a7787\nmov     rax, [rsi]                                                     ; +0x379, 0x1401a7789\nmov     rcx, rsi                                                       ; +0x37c, 0x1401a778c\ncall    qword ptr [rax+0C8h]                                           ; +0x37f, 0x1401a778f\nmov     rdx, rax                                                       ; +0x385, 0x1401a7795\nlea     rcx, [rbp+var_38]                                              ; +0x388, 0x1401a7798\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x38c, 0x1401a779c\nmov     r8, rax                                                        ; +0x392, 0x1401a77a2\nxor     r9d, r9d                                                       ; +0x395, 0x1401a77a5\nlea     rdx, [rbp+arg_18]                                              ; +0x398, 0x1401a77a8\nmov     rcx, r15                                                       ; +0x39c, 0x1401a77ac\ncall    GJTransformControl__snapToGrid                                 ; +0x39f, 0x1401a77af\nmov     rbx, [rsi]                                                     ; +0x3a4, 0x1401a77b4\nmov     rcx, rsi                                                       ; +0x3a7, 0x1401a77b7\ncall    qword ptr [rbx+0C8h]                                           ; +0x3aa, 0x1401a77ba\nmovss   xmm2, [rbp+arg_1C]                                             ; +0x3b0, 0x1401a77c0\nmovss   xmm1, dword ptr [rax]                                          ; +0x3b5, 0x1401a77c5\nlea     rcx, [rbp+var_38]                                              ; +0x3b9, 0x1401a77c9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3bd, 0x1401a77cd\nmov     rdx, rax                                                       ; +0x3c3, 0x1401a77d3\nmov     rcx, rsi                                                       ; +0x3c6, 0x1401a77d6\ncall    qword ptr [rbx+0B8h]                                           ; +0x3c9, 0x1401a77d9\nmov     rax, [r14]                                                     ; +0x3cf, 0x1401a77df\nmov     rcx, r14                                                       ; +0x3d2, 0x1401a77e2\ncall    qword ptr [rax+0C8h]                                           ; +0x3d5, 0x1401a77e5\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x3db, 0x1401a77eb\nmov     rax, [rsi]                                                     ; +0x3e0, 0x1401a77f0\nmov     rcx, rsi                                                       ; +0x3e3, 0x1401a77f3\ncall    qword ptr [rax+0C8h]                                           ; +0x3e6, 0x1401a77f6\nmovss   xmm1, dword ptr [rax+4]                                        ; +0x3ec, 0x1401a77fc\nsubss   xmm1, xmm6                                                     ; +0x3f1, 0x1401a7801\nmov     eax, 8Ch                                                       ; +0x3f5, 0x1401a7805\nmov     ecx, 94h                                                       ; +0x3fa, 0x1401a780a\ncmp     word ptr [rdi+74h], 4                                          ; +0x3ff, 0x1401a780f\ncmovnz  eax, ecx                                                       ; +0x404, 0x1401a7814\nmovss   xmm2, dword ptr [rax+rdi]                                      ; +0x407, 0x1401a7817\nsubss   xmm2, xmm6                                                     ; +0x40c, 0x1401a781c\nmovaps  xmm0, xmm2                                                     ; +0x410, 0x1401a7820\nandps   xmm0, cs:xmmword_140836C90                                     ; +0x413, 0x1401a7823\ncomiss  xmm0, cs:dword_140834D9C                                       ; +0x41a, 0x1401a782a\njbe     def_1401A750A; jumptable 00000001401A750A default case         ; +0x421, 0x1401a7831\ndivss   xmm1, xmm2                                                     ; +0x427, 0x1401a7837\nmovss   dword ptr [rdi+114h], xmm1                                     ; +0x42b, 0x1401a783b\nmov     rcx, [rdi+78h]                                                 ; +0x433, 0x1401a7843\nmov     rax, [rcx]                                                     ; +0x437, 0x1401a7847\ncall    qword ptr [rax+8]                                              ; +0x43a, 0x1401a784a\njmp     def_1401A750A; jumptable 00000001401A750A default case         ; +0x43d, 0x1401a784d\nlea     edx, [r8-1]; jumptable 00000001401A750A cases 6-9              ; +0x442, 0x1401a7852\nmov     rcx, [rdi+0C0h]                                                ; +0x446, 0x1401a7856\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x44d, 0x1401a785d\nmov     rsi, rax                                                       ; +0x453, 0x1401a7863\nmov     rbx, [rax]                                                     ; +0x456, 0x1401a7866\nmovss   xmm2, [rbp+arg_4]                                              ; +0x459, 0x1401a7869\naddss   xmm2, dword ptr [rdi+84h]                                      ; +0x45e, 0x1401a786e\nmovss   xmm1, [rbp+arg_0]                                              ; +0x466, 0x1401a7876\naddss   xmm1, dword ptr [rdi+80h]                                      ; +0x46b, 0x1401a787b\nlea     rcx, [rbp+arg_18]                                              ; +0x473, 0x1401a7883\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x477, 0x1401a7887\nmov     rdx, rax                                                       ; +0x47d, 0x1401a788d\nmov     rcx, rsi                                                       ; +0x480, 0x1401a7890\ncall    qword ptr [rbx+0B8h]                                           ; +0x483, 0x1401a7893\ncmp     byte ptr [rdi+11Ah], 0                                         ; +0x489, 0x1401a7899\njz      short loc_1401A78DD                                            ; +0x490, 0x1401a78a0\nmov     rax, [rsi]                                                     ; +0x492, 0x1401a78a2\nmov     rcx, rsi                                                       ; +0x495, 0x1401a78a5\ncall    qword ptr [rax+0C8h]                                           ; +0x498, 0x1401a78a8\nmov     rdx, rax                                                       ; +0x49e, 0x1401a78ae\nlea     rcx, [rbp+var_38]                                              ; +0x4a1, 0x1401a78b1\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4a5, 0x1401a78b5\nmov     r8, rax                                                        ; +0x4ab, 0x1401a78bb\nxor     r9d, r9d                                                       ; +0x4ae, 0x1401a78be\nlea     rdx, [rbp+arg_18]                                              ; +0x4b1, 0x1401a78c1\nmov     rcx, r15                                                       ; +0x4b5, 0x1401a78c5\ncall    GJTransformControl__snapToGrid                                 ; +0x4b8, 0x1401a78c8\nmov     rax, [rsi]                                                     ; +0x4bd, 0x1401a78cd\nlea     rdx, [rbp+arg_18]                                              ; +0x4c0, 0x1401a78d0\nmov     rcx, rsi                                                       ; +0x4c4, 0x1401a78d4\ncall    qword ptr [rax+0B8h]                                           ; +0x4c7, 0x1401a78d7\nmov     rax, [r14]                                                     ; +0x4cd, 0x1401a78dd\nmov     rcx, r14                                                       ; +0x4d0, 0x1401a78e0\ncall    qword ptr [rax+0C8h]                                           ; +0x4d3, 0x1401a78e3\nmovss   xmm8, dword ptr [rax]                                          ; +0x4d9, 0x1401a78e9\nmov     rax, [rsi]                                                     ; +0x4de, 0x1401a78ee\nmov     rcx, rsi                                                       ; +0x4e1, 0x1401a78f1\ncall    qword ptr [rax+0C8h]                                           ; +0x4e4, 0x1401a78f4\nmovss   xmm7, dword ptr [rax]                                          ; +0x4ea, 0x1401a78fa\nsubss   xmm7, xmm8                                                     ; +0x4ee, 0x1401a78fe\nmovzx   eax, word ptr [rdi+74h]                                        ; +0x4f3, 0x1401a7903\ncmp     ax, 7                                                          ; +0x4f7, 0x1401a7907\njz      short loc_1401A791D                                            ; +0x4fb, 0x1401a790b\ncmp     ax, 9                                                          ; +0x4fd, 0x1401a790d\njz      short loc_1401A791D                                            ; +0x501, 0x1401a7911\nmovss   xmm6, dword ptr [rdi+90h]                                      ; +0x503, 0x1401a7913\njmp     short loc_1401A7925                                            ; +0x50b, 0x1401a791b\nmovss   xmm6, dword ptr [rdi+88h]                                      ; +0x50d, 0x1401a791d\nsubss   xmm6, xmm8                                                     ; +0x515, 0x1401a7925\nmov     rax, [r14]                                                     ; +0x51a, 0x1401a792a\nmov     rcx, r14                                                       ; +0x51d, 0x1401a792d\ncall    qword ptr [rax+0C8h]                                           ; +0x520, 0x1401a7930\nmovss   xmm8, dword ptr [rax+4]                                        ; +0x526, 0x1401a7936\nmov     rax, [rsi]                                                     ; +0x52c, 0x1401a793c\nmov     rcx, rsi                                                       ; +0x52f, 0x1401a793f\ncall    qword ptr [rax+0C8h]                                           ; +0x532, 0x1401a7942\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x538, 0x1401a7948\nsubss   xmm2, xmm8                                                     ; +0x53d, 0x1401a794d\nmovzx   eax, word ptr [rdi+74h]                                        ; +0x542, 0x1401a7952\ncmp     ax, 6                                                          ; +0x546, 0x1401a7956\njz      short loc_1401A796C                                            ; +0x54a, 0x1401a795a\ncmp     ax, 7                                                          ; +0x54c, 0x1401a795c\njz      short loc_1401A796C                                            ; +0x550, 0x1401a7960\nmovss   xmm1, dword ptr [rdi+94h]                                      ; +0x552, 0x1401a7962\njmp     short loc_1401A7974                                            ; +0x55a, 0x1401a796a\nmovss   xmm1, dword ptr [rdi+8Ch]                                      ; +0x55c, 0x1401a796c\nsubss   xmm1, xmm8                                                     ; +0x564, 0x1401a7974\nmovaps  xmm0, xmm6                                                     ; +0x569, 0x1401a7979\nmovdqa  xmm8, cs:xmmword_140836C90                                     ; +0x56c, 0x1401a797c\nandps   xmm0, xmm8                                                     ; +0x575, 0x1401a7985\nmovss   xmm3, cs:dword_140834D9C                                       ; +0x579, 0x1401a7989\nlea     rax, [rdi+110h]                                                ; +0x581, 0x1401a7991\ncomiss  xmm0, xmm3                                                     ; +0x588, 0x1401a7998\njbe     short loc_1401A79A5                                            ; +0x58b, 0x1401a799b\ndivss   xmm7, xmm6                                                     ; +0x58d, 0x1401a799d\nmovss   dword ptr [rax], xmm7                                          ; +0x591, 0x1401a79a1\nmovaps  xmm0, xmm1                                                     ; +0x595, 0x1401a79a5\nandps   xmm0, xmm8                                                     ; +0x598, 0x1401a79a8\nlea     rbx, [rdi+114h]                                                ; +0x59c, 0x1401a79ac\ncomiss  xmm0, xmm3                                                     ; +0x5a3, 0x1401a79b3\njbe     short loc_1401A79C9                                            ; +0x5a6, 0x1401a79b6\ndivss   xmm2, xmm1                                                     ; +0x5a8, 0x1401a79b8\nmovss   dword ptr [rbx], xmm2                                          ; +0x5ac, 0x1401a79bc\nlea     rsi, [rdi+110h]                                                ; +0x5b0, 0x1401a79c0\njmp     short loc_1401A79CC                                            ; +0x5b7, 0x1401a79c7\nmov     rsi, rax                                                       ; +0x5b9, 0x1401a79c9\nmovzx   edx, byte ptr [rdi+118h]                                       ; +0x5bc, 0x1401a79cc\nmov     rcx, rax                                                       ; +0x5c3, 0x1401a79d3\ntest    dl, dl                                                         ; +0x5c6, 0x1401a79d6\njz      short loc_1401A7A0C                                            ; +0x5c8, 0x1401a79d8\nmovss   xmm1, dword ptr [rdi+0A8h]                                     ; +0x5ca, 0x1401a79da\nxorps   xmm2, xmm2                                                     ; +0x5d2, 0x1401a79e2\nucomiss xmm1, xmm2                                                     ; +0x5d5, 0x1401a79e5\njp      short loc_1401A79EC                                            ; +0x5d8, 0x1401a79e8\njz      short loc_1401A7A0C                                            ; +0x5da, 0x1401a79ea\nmovss   xmm0, dword ptr [rdi+0ACh]                                     ; +0x5dc, 0x1401a79ec\nmov     rcx, rsi                                                       ; +0x5e4, 0x1401a79f4\nucomiss xmm0, xmm2                                                     ; +0x5e7, 0x1401a79f7\njp      short loc_1401A79FE                                            ; +0x5ea, 0x1401a79fa\njz      short loc_1401A7A0C                                            ; +0x5ec, 0x1401a79fc\nmulss   xmm0, dword ptr [rax]                                          ; +0x5ee, 0x1401a79fe\ndivss   xmm0, xmm1                                                     ; +0x5f2, 0x1401a7a02\nmovss   dword ptr [rbx], xmm0                                          ; +0x5f6, 0x1401a7a06\njmp     short loc_1401A7A64                                            ; +0x5fa, 0x1401a7a0a\nmov     rsi, rcx                                                       ; +0x5fc, 0x1401a7a0c\nmov     rax, rbx                                                       ; +0x5ff, 0x1401a7a0f\ntest    dl, dl                                                         ; +0x602, 0x1401a7a12\njnz     short loc_1401A7A3B                                            ; +0x604, 0x1401a7a14\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x606, 0x1401a7a16\nmov     rcx, [rax]                                                     ; +0x60c, 0x1401a7a1c\nmov     rdx, [rcx+0B0h]                                                ; +0x60f, 0x1401a7a1f\nmov     rcx, rax                                                       ; +0x616, 0x1401a7a26\ncall    rdx                                                            ; +0x619, 0x1401a7a29\ncmp     byte ptr [rax+98h], 0                                          ; +0x61b, 0x1401a7a2b\njz      short loc_1401A7A64                                            ; +0x622, 0x1401a7a32\nlea     rax, [rdi+114h]                                                ; +0x624, 0x1401a7a34\nmovss   xmm2, dword ptr [rsi]                                          ; +0x62b, 0x1401a7a3b\nmovss   xmm3, dword ptr [rbx]                                          ; +0x62f, 0x1401a7a3f\nmovaps  xmm1, xmm2                                                     ; +0x633, 0x1401a7a43\nandps   xmm1, xmm8                                                     ; +0x636, 0x1401a7a46\nmovaps  xmm0, xmm3                                                     ; +0x63a, 0x1401a7a4a\nandps   xmm0, xmm8                                                     ; +0x63d, 0x1401a7a4d\ncomiss  xmm1, xmm0                                                     ; +0x641, 0x1401a7a51\njnb     short loc_1401A7A59                                            ; +0x644, 0x1401a7a54\nmovaps  xmm2, xmm3                                                     ; +0x646, 0x1401a7a56\nmovss   dword ptr [rsi], xmm2                                          ; +0x649, 0x1401a7a59\nmovss   dword ptr [rax], xmm2                                          ; +0x64d, 0x1401a7a5d\nmov     rbx, rax                                                       ; +0x651, 0x1401a7a61\nmov     rcx, [rdi+78h]                                                 ; +0x654, 0x1401a7a64\nmov     rax, [rcx]                                                     ; +0x658, 0x1401a7a68\nmovss   xmm2, dword ptr [rbx]                                          ; +0x65b, 0x1401a7a6b\nmovss   xmm1, dword ptr [rsi]                                          ; +0x65f, 0x1401a7a6f\ncall    qword ptr [rax+10h]                                            ; +0x663, 0x1401a7a73\njmp     def_1401A750A; jumptable 00000001401A750A default case         ; +0x666, 0x1401a7a76\nlea     edx, [r8-1]; jumptable 00000001401A750A case 10                ; +0x66b, 0x1401a7a7b\nmov     rcx, [rdi+0C0h]                                                ; +0x66f, 0x1401a7a7f\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x676, 0x1401a7a86\nmov     rsi, rax                                                       ; +0x67c, 0x1401a7a8c\nmovss   xmm0, [rbp+arg_0]                                              ; +0x67f, 0x1401a7a8f\naddss   xmm0, dword ptr [rdi+80h]                                      ; +0x684, 0x1401a7a94\nmovss   xmm6, cs:dword_140835FA8                                       ; +0x68c, 0x1401a7a9c\ncomiss  xmm6, xmm0                                                     ; +0x694, 0x1401a7aa4\nja      short loc_1401A7AB5                                            ; +0x697, 0x1401a7aa7\nmovss   xmm6, cs:dword_1408357B0                                       ; +0x699, 0x1401a7aa9\nminss   xmm6, xmm0                                                     ; +0x6a1, 0x1401a7ab1\nmov     rbx, [rax]                                                     ; +0x6a5, 0x1401a7ab5\nmov     rcx, rsi                                                       ; +0x6a8, 0x1401a7ab8\ncall    qword ptr [rbx+0C8h]                                           ; +0x6ab, 0x1401a7abb\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x6b1, 0x1401a7ac1\nmovaps  xmm1, xmm6                                                     ; +0x6b6, 0x1401a7ac6\nlea     rcx, [rbp+arg_18]                                              ; +0x6b9, 0x1401a7ac9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x6bd, 0x1401a7acd\nmov     rdx, rax                                                       ; +0x6c3, 0x1401a7ad3\nmov     rcx, rsi                                                       ; +0x6c6, 0x1401a7ad6\ncall    qword ptr [rbx+0B8h]                                           ; +0x6c9, 0x1401a7ad9\nmov     rcx, [rdi+78h]                                                 ; +0x6cf, 0x1401a7adf\nmulss   xmm6, cs:dword_140834F00                                       ; +0x6d3, 0x1401a7ae3\nmov     rax, [rcx]                                                     ; +0x6db, 0x1401a7aeb\nmovaps  xmm1, xmm6                                                     ; +0x6de, 0x1401a7aee\ncall    qword ptr [rax+40h]                                            ; +0x6e1, 0x1401a7af1\njmp     def_1401A750A; jumptable 00000001401A750A default case         ; +0x6e4, 0x1401a7af4\nlea     edx, [r8-1]; jumptable 00000001401A750A case 11                ; +0x6e9, 0x1401a7af9\nmov     rcx, [rdi+0C0h]                                                ; +0x6ed, 0x1401a7afd\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x6f4, 0x1401a7b04\nmov     rsi, rax                                                       ; +0x6fa, 0x1401a7b0a\nmovss   xmm0, [rbp+arg_4]                                              ; +0x6fd, 0x1401a7b0d\naddss   xmm0, dword ptr [rdi+84h]                                      ; +0x702, 0x1401a7b12\nmovss   xmm6, cs:dword_140835FA8                                       ; +0x70a, 0x1401a7b1a\ncomiss  xmm6, xmm0                                                     ; +0x712, 0x1401a7b22\nja      short loc_1401A7B33                                            ; +0x715, 0x1401a7b25\nmovss   xmm6, cs:dword_1408357B0                                       ; +0x717, 0x1401a7b27\nminss   xmm6, xmm0                                                     ; +0x71f, 0x1401a7b2f\nmov     rbx, [rax]                                                     ; +0x723, 0x1401a7b33\nmov     rcx, rsi                                                       ; +0x726, 0x1401a7b36\ncall    qword ptr [rbx+0C8h]                                           ; +0x729, 0x1401a7b39\nmovaps  xmm2, xmm6                                                     ; +0x72f, 0x1401a7b3f\nmovss   xmm1, dword ptr [rax]                                          ; +0x732, 0x1401a7b42\nlea     rcx, [rbp+arg_18]                                              ; +0x736, 0x1401a7b46\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x73a, 0x1401a7b4a\nmov     rdx, rax                                                       ; +0x740, 0x1401a7b50\nmov     rcx, rsi                                                       ; +0x743, 0x1401a7b53\ncall    qword ptr [rbx+0B8h]                                           ; +0x746, 0x1401a7b56\nmov     rcx, [rdi+78h]                                                 ; +0x74c, 0x1401a7b5c\nmulss   xmm6, cs:dword_140834F00                                       ; +0x750, 0x1401a7b60\nmov     rax, [rcx]                                                     ; +0x758, 0x1401a7b68\nmovaps  xmm1, xmm6                                                     ; +0x75b, 0x1401a7b6b\ncall    qword ptr [rax+48h]                                            ; +0x75e, 0x1401a7b6e\njmp     def_1401A750A; jumptable 00000001401A750A default case         ; +0x761, 0x1401a7b71\nmovss   xmm0, [rbp+arg_4]; jumptable 00000001401A750A case 12          ; +0x766, 0x1401a7b76\naddss   xmm0, dword ptr [rdi+84h]; Y                                   ; +0x76b, 0x1401a7b7b\nmovss   xmm1, [rbp+arg_0]                                              ; +0x773, 0x1401a7b83\naddss   xmm1, dword ptr [rdi+80h]; X                                   ; +0x778, 0x1401a7b88\ncall    atan2f                                                         ; +0x780, 0x1401a7b90\nmovaps  xmm7, xmm0                                                     ; +0x785, 0x1401a7b95\nmulss   xmm7, cs:dword_1408356D4                                       ; +0x788, 0x1401a7b98\nxorps   xmm7, cs:xmmword_140836CC0                                     ; +0x790, 0x1401a7ba0\nmulss   xmm7, cs:dword_1408357B0                                       ; +0x797, 0x1401a7ba7\ndivss   xmm7, cs:dword_1408357B0                                       ; +0x79f, 0x1401a7baf\nsubss   xmm7, dword ptr [rdi+124h]                                     ; +0x7a7, 0x1401a7bb7\ncmp     byte ptr [rdi+11Ah], 0                                         ; +0x7af, 0x1401a7bbf\njz      short loc_1401A7BFF                                            ; +0x7b6, 0x1401a7bc6\nmovaps  xmm0, xmm7                                                     ; +0x7b8, 0x1401a7bc8\ndivss   xmm0, cs:dword_140835690; X                                    ; +0x7bb, 0x1401a7bcb\ncall    cs:__imp_roundf                                                ; +0x7c3, 0x1401a7bd3\nmulss   xmm0, cs:dword_140835690                                       ; +0x7c9, 0x1401a7bd9\nmovaps  xmm2, xmm0                                                     ; +0x7d1, 0x1401a7be1\nsubss   xmm2, xmm7                                                     ; +0x7d4, 0x1401a7be4\nandps   xmm2, cs:xmmword_140836C90                                     ; +0x7d8, 0x1401a7be8\nmovss   xmm1, cs:dword_140835450                                       ; +0x7df, 0x1401a7bef\ncomiss  xmm1, xmm2                                                     ; +0x7e7, 0x1401a7bf7\njbe     short loc_1401A7BFF                                            ; +0x7ea, 0x1401a7bfa\nmovaps  xmm7, xmm0                                                     ; +0x7ec, 0x1401a7bfc\nucomiss xmm7, dword ptr [rdi+120h]                                     ; +0x7ef, 0x1401a7bff\njp      short loc_1401A7C0A                                            ; +0x7f6, 0x1401a7c06\njz      short def_1401A750A; jumptable 00000001401A750A default case   ; +0x7f8, 0x1401a7c08\nmovss   dword ptr [rdi+120h], xmm7                                     ; +0x7fa, 0x1401a7c0a\nmov     rcx, [rdi+60h]                                                 ; +0x802, 0x1401a7c12\nmov     rax, [rcx]                                                     ; +0x806, 0x1401a7c16\nmovaps  xmm1, xmm7                                                     ; +0x809, 0x1401a7c19\ncall    qword ptr [rax+160h]                                           ; +0x80c, 0x1401a7c1c\nmov     rcx, [rdi+78h]                                                 ; +0x812, 0x1401a7c22\ntest    rcx, rcx                                                       ; +0x816, 0x1401a7c26\njz      short def_1401A750A; jumptable 00000001401A750A default case   ; +0x819, 0x1401a7c29\ncmp     byte ptr [rdi+11Bh], 0                                         ; +0x81b, 0x1401a7c2b\njnz     short def_1401A750A; jumptable 00000001401A750A default case   ; +0x822, 0x1401a7c32\nmov     rax, [rcx]                                                     ; +0x824, 0x1401a7c34\nmovss   xmm1, dword ptr [rdi+120h]                                     ; +0x827, 0x1401a7c37\ncall    qword ptr [rax+28h]                                            ; +0x82f, 0x1401a7c3f\nlea     rcx, [rdi-140h]; jumptable 00000001401A750A default case       ; +0x832, 0x1401a7c42\nxor     r8d, r8d                                                       ; +0x839, 0x1401a7c49\nxor     edx, edx                                                       ; +0x83c, 0x1401a7c4c\ncall    GJTransformControl__updateButtons                              ; +0x83e, 0x1401a7c4e\nmov     rbx, [rsp+60h+arg_8]                                           ; +0x843, 0x1401a7c53\nmovaps  xmm6, [rsp+60h+var_10]                                         ; +0x84b, 0x1401a7c5b\nmovaps  xmm7, [rsp+60h+var_20]                                         ; +0x850, 0x1401a7c60\nmovaps  xmm8, [rsp+60h+var_30]                                         ; +0x855, 0x1401a7c65\nadd     rsp, 60h                                                       ; +0x85b, 0x1401a7c6b\npop     r15                                                            ; +0x85f, 0x1401a7c6f\npop     r14                                                            ; +0x861, 0x1401a7c71\npop     rdi                                                            ; +0x863, 0x1401a7c73\npop     rsi                                                            ; +0x864, 0x1401a7c74\npop     rbp                                                            ; +0x865, 0x1401a7c75\nretn                                                                   ; +0x866, 0x1401a7c76\nalign 8                                                                ; +0x867, 0x1401a7c77\ndd offset loc_1401A750C - 140000000h; jump table for switch statement  ; +0x868, 0x1401a7c78", "xrefs": ["<???> @ 0x140750430", "<???> @ 0x140919c04"], "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"}