{"type": "func", "start": 5369939632, "end": 5369940996, "name": "GJTransformControl::ccTouchMoved", "pseudocode": "// \n// GJTransformControl::ccTouchMoved from 0x14012c6b0 to 0x14012cc04 (1364 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x140552c68\n// > <???> @ 0x140670ba0\n// > <???> @ 0x140670bfc\n// > <???> @ 0x1406c9c24\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJTransformControl::ccTouchMoved(GJTransformControl *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  __int16 a_low; // ax\n  cocos2d::CCNode *v6; // rcx\n  struct cocos2d::CCPoint v7; // rax\n  struct cocos2d::CCObject *v8; // r14\n  int v9; // eax\n  struct cocos2d::CCObject *v10; // rdi\n  cocos2d::CCObject_vtbl *v11; // rbx\n  __int64 v12; // rax\n  DS_Dictionary *v13; // rax\n  float v14; // xmm6_4\n  float v15; // xmm1_4\n  float ty; // xmm0_4\n  void (__fastcall ***v17)(_QWORD); // rcx\n  struct cocos2d::CCObject *v18; // rax\n  float v19; // xmm6_4\n  struct cocos2d::CCObject *v20; // rdi\n  cocos2d::CCObject_vtbl *v21; // rbx\n  float *v22; // rax\n  DS_Dictionary *v23; // rax\n  float v24; // xmm6_4\n  float v25; // xmm1_4\n  float a; // xmm0_4\n  __int64 v27; // rcx\n  struct cocos2d::CCObject *v28; // rdi\n  cocos2d::CCObject_vtbl *v29; // rbx\n  DS_Dictionary *v30; // rax\n  float v31; // xmm8_4\n  float v32; // xmm6_4\n  float b; // xmm7_4\n  float v34; // xmm7_4\n  float v35; // xmm8_4\n  float v36; // xmm2_4\n  float c; // xmm0_4\n  bool v38; // zf\n  float v39; // xmm1_4\n  float v40; // xmm3_4\n  float v41; // xmm6_4\n  struct cocos2d::CCObject *v42; // rax\n  struct cocos2d::CCObject *v43; // rdi\n  float v44; // xmm0_4\n  float v45; // xmm6_4\n  cocos2d::CCObject_vtbl *v46; // rbx\n  __int64 v47; // rax\n  DS_Dictionary *v48; // rax\n  struct cocos2d::CCObject *v49; // rax\n  struct cocos2d::CCObject *v50; // rdi\n  float v51; // xmm0_4\n  float v52; // xmm6_4\n  cocos2d::CCObject_vtbl *v53; // rbx\n  float *v54; // rax\n  DS_Dictionary *v55; // rax\n  float v56; // xmm1_4\n  __int64 v57; // rcx\n  __int64 v58; // rcx\n  float v59; // [rsp+70h] [rbp+8h] BYREF\n  float v60; // [rsp+74h] [rbp+Ch]\n  cocos2d::CCPoint v61; // [rsp+78h] [rbp+10h] BYREF\n\n  cocos2d::CCTouch::getLocation(a2);\n  a_low = LOWORD(a1->m_sAdditionalTransform.a);\n  if ( a_low == 12 || a_low == 1 )\n    v6 = (GJTransformControl *)((char *)a1 - 320);\n  else\n    v6 = *(cocos2d::CCNode **)&a1->m_fSkewY;\n  v7 = cocos2d::CCNode::convertToNodeSpace(v6, &v61);\n  ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v59, v7);\n  if ( LODWORD(a1->m_obContentSize.height) == a2->m_nId )\n  {\n    v8 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)&a1->m_sInverse.ty, 0);\n    v9 = SLOWORD(a1->m_sAdditionalTransform.a);\n    switch ( LOWORD(a1->m_sAdditionalTransform.a) )\n    {\n      case 1:\n        cocos2d::CCPoint::operator+(&v59, &v61);\n        v8->__vftable[2].encodeWithCoder(v8, (DS_Dictionary *)&v61);\n        break;\n      case 2:\n      case 3:\n        v10 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)&a1->m_sInverse.ty, v9 - 1);\n        v11 = v10->__vftable;\n        v12 = ((__int64 (__fastcall *)(struct cocos2d::CCObject *))v10->__vftable[2].getTag)(v10);\n        cocos2d::CCPoint::CCPoint(&v61, v59 + a1->m_sAdditionalTransform.d, *(float *)(v12 + 4));\n        v11[2].encodeWithCoder(v10, v13);\n        v14 = *(float *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v8->__vftable[2].getTag)(v8);\n        v15 = *(float *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v10->__vftable[2].getTag)(v10) - v14;\n        if ( LOWORD(a1->m_sAdditionalTransform.a) == 3 )\n          ty = a1->m_sAdditionalTransform.ty;\n        else\n          ty = a1->m_sTransform.b;\n        v17 = *(void (__fastcall ****)(_QWORD))&a1->m_sAdditionalTransform.b;\n        *(float *)&a1->m_pChildren = v15 / (float)(ty - v14);\n        (**v17)(v17);\n        break;\n      case 4:\n      case 5:\n        v18 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)&a1->m_sInverse.ty, v9 - 1);\n        v19 = a1->m_sAdditionalTransform.tx + v60;\n        v20 = v18;\n        v21 = v18->__vftable;\n        v22 = (float *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v18->__vftable[2].getTag)(v18);\n        cocos2d::CCPoint::CCPoint(&v61, *v22, v19);\n        v21[2].encodeWithCoder(v20, v23);\n        v24 = *(float *)(((__int64 (__fastcall *)(struct cocos2d::CCObject *))v8->__vftable[2].getTag)(v8) + 4);\n        v25 = *(float *)(((__int64 (__fastcall *)(struct cocos2d::CCObject *))v20->__vftable[2].getTag)(v20) + 4) - v24;\n        if ( LOWORD(a1->m_sAdditionalTransform.a) == 4 )\n          a = a1->m_sTransform.a;\n        else\n          a = a1->m_sTransform.c;\n        v27 = *(_QWORD *)&a1->m_sAdditionalTransform.b;\n        *((float *)&a1->m_pChildren + 1) = v25 / (float)(a - v24);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)v27 + 8LL))(v27);\n        break;\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n        v28 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)&a1->m_sInverse.ty, v9 - 1);\n        v29 = v28->__vftable;\n        cocos2d::CCPoint::CCPoint(&v61, v59 + a1->m_sAdditionalTransform.d, v60 + a1->m_sAdditionalTransform.tx);\n        v29[2].encodeWithCoder(v28, v30);\n        v31 = *(float *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v8->__vftable[2].getTag)(v8);\n        v32 = *(float *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v28->__vftable[2].getTag)(v28) - v31;\n        if ( ((LOWORD(a1->m_sAdditionalTransform.a) - 7) & 0xFFFD) != 0 )\n          b = a1->m_sTransform.b;\n        else\n          b = a1->m_sAdditionalTransform.ty;\n        v34 = b - v31;\n        v35 = *(float *)(((__int64 (__fastcall *)(struct cocos2d::CCObject *))v8->__vftable[2].getTag)(v8) + 4);\n        v36 = *(float *)(((__int64 (__fastcall *)(struct cocos2d::CCObject *))v28->__vftable[2].getTag)(v28) + 4) - v35;\n        if ( (unsigned __int16)(LOWORD(a1->m_sAdditionalTransform.a) - 6) <= 1u )\n          c = a1->m_sTransform.a;\n        else\n          c = a1->m_sTransform.c;\n        v38 = LOBYTE(a1->m_pParent) == 0;\n        v39 = *(float *)&a1->m_pChildren;\n        v40 = *((float *)&a1->m_pChildren + 1);\n        v41 = v32 / v34;\n        *(float *)&a1->m_pChildren = v41;\n        *((float *)&a1->m_pChildren + 1) = v36 / (float)(c - v35);\n        if ( !v38 )\n          *((float *)&a1->m_pChildren + 1) = v41 / (float)(v39 / v40);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&a1->m_sAdditionalTransform.b + 16LL))(*(_QWORD *)&a1->m_sAdditionalTransform.b);\n        break;\n      case 0xA:\n        v42 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)&a1->m_sInverse.ty, v9 - 1);\n        v43 = v42;\n        v44 = v59 + a1->m_sAdditionalTransform.d;\n        v45 = -100.0;\n        if ( v44 >= -100.0 )\n          v45 = fminf(100.0, v44);\n        v46 = v42->__vftable;\n        v47 = ((__int64 (__fastcall *)(struct cocos2d::CCObject *))v42->__vftable[2].getTag)(v42);\n        cocos2d::CCPoint::CCPoint(&v61, v45, *(float *)(v47 + 4));\n        v46[2].encodeWithCoder(v43, v48);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&a1->m_sAdditionalTransform.b + 64LL))(*(_QWORD *)&a1->m_sAdditionalTransform.b);\n        break;\n      case 0xB:\n        v49 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)&a1->m_sInverse.ty, v9 - 1);\n        v50 = v49;\n        v51 = v60 + a1->m_sAdditionalTransform.tx;\n        v52 = -100.0;\n        if ( v51 >= -100.0 )\n          v52 = fminf(100.0, v51);\n        v53 = v49->__vftable;\n        v54 = (float *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v49->__vftable[2].getTag)(v49);\n        cocos2d::CCPoint::CCPoint(&v61, *v54, v52);\n        v53[2].encodeWithCoder(v50, v55);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&a1->m_sAdditionalTransform.b + 72LL))(*(_QWORD *)&a1->m_sAdditionalTransform.b);\n        break;\n      case 0xC:\n        v56 = (float)((float)((float)-(float)(atan2f(\n                                                v60 + a1->m_sAdditionalTransform.tx,\n                                                v59 + a1->m_sAdditionalTransform.d)\n                                            * 57.29578)\n                            * 100.0)\n                    / 100.0)\n            - *((float *)&a1->m_pUserData + 1);\n        if ( v56 != *(float *)&a1->m_pUserData )\n        {\n          v57 = *(_QWORD *)&a1->m_obAnchorPointInPoints.y;\n          *(float *)&a1->m_pUserData = v56;\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)v57 + 336LL))(v57);\n          v58 = *(_QWORD *)&a1->m_sAdditionalTransform.b;\n          if ( v58 )\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)v58 + 40LL))(v58);\n        }\n        break;\n      default:\n        break;\n    }\n    GJTransformControl::updateButtons((GJTransformControl *)((char *)a1 - 320), 0, 0);\n  }\n}", "assembly": "; \n; GJTransformControl::ccTouchMoved from 0x14012c6b0 to 0x14012cc04 (1364 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x140552c68\n; > <???> @ 0x140670ba0\n; > <???> @ 0x140670bfc\n; > <???> @ 0x1406c9c24\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x14012c6b0\npush    rsi                                                            ; +0x2, 0x14012c6b2\nsub     rsp, 58h                                                       ; +0x3, 0x14012c6b3\nmov     rbx, rdx                                                       ; +0x7, 0x14012c6b7\nmov     rsi, rcx                                                       ; +0xa, 0x14012c6ba\nmov     rcx, rbx                                                       ; +0xd, 0x14012c6bd\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x10, 0x14012c6c0\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x15, 0x14012c6c5\nmovzx   eax, word ptr [rsi+74h]                                        ; +0x1b, 0x14012c6cb\ncmp     ax, 0Ch                                                        ; +0x1f, 0x14012c6cf\njz      short loc_14012C6E1                                            ; +0x23, 0x14012c6d3\ncmp     ax, 1                                                          ; +0x25, 0x14012c6d5\njz      short loc_14012C6E1                                            ; +0x29, 0x14012c6d9\nmov     rcx, [rsi+58h]                                                 ; +0x2b, 0x14012c6db\njmp     short loc_14012C6E8                                            ; +0x2f, 0x14012c6df\nlea     rcx, [rsi-140h]                                                ; +0x31, 0x14012c6e1\nlea     r8, [rsp+68h+arg_0]                                            ; +0x38, 0x14012c6e8\nlea     rdx, [rsp+68h+arg_8]                                           ; +0x3d, 0x14012c6ed\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x42, 0x14012c6f2\nmov     rdx, rax                                                       ; +0x48, 0x14012c6f8\nlea     rcx, [rsp+68h+arg_0]                                           ; +0x4b, 0x14012c6fb\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x50, 0x14012c700\nmov     eax, [rbx+38h]                                                 ; +0x56, 0x14012c706\ncmp     [rsi+70h], eax                                                 ; +0x59, 0x14012c709\njnz     loc_14012CBCA                                                  ; +0x5c, 0x14012c70c\nmov     rcx, [rsi+0B8h]                                                ; +0x62, 0x14012c712\nxor     edx, edx                                                       ; +0x69, 0x14012c719\nmov     [rsp+68h+var_18], r14                                          ; +0x6b, 0x14012c71b\nmovaps  [rsp+68h+var_28], xmm6                                         ; +0x70, 0x14012c720\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x75, 0x14012c725\nmov     r14, rax                                                       ; +0x7b, 0x14012c72b\nmovsx   eax, word ptr [rsi+74h]                                        ; +0x7e, 0x14012c72e\nlea     ecx, [rax-1]; switch 12 cases                                  ; +0x82, 0x14012c732\ncmp     ecx, 0Bh                                                       ; +0x85, 0x14012c735\nja      def_14012C75B; jumptable 000000014012C75B default case         ; +0x88, 0x14012c738\nlea     r8, cs:140000000h                                              ; +0x8e, 0x14012c73e\nmovsxd  rcx, ecx                                                       ; +0x95, 0x14012c745\nmov     [rsp+68h+arg_10], rdi                                          ; +0x98, 0x14012c748\nmov     edx, ds:(jpt_14012C75B - 140000000h)[r8+rcx*4]                 ; +0xa0, 0x14012c750\nadd     rdx, r8                                                        ; +0xa8, 0x14012c758\njmp     rdx; switch jump                                               ; +0xab, 0x14012c75b\nlea     r8, [rsi+80h]; jumptable 000000014012C75B case 1               ; +0xad, 0x14012c75d\nlea     rdx, [rsp+68h+arg_8]                                           ; +0xb4, 0x14012c764\nlea     rcx, [rsp+68h+arg_0]                                           ; +0xb9, 0x14012c769\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xbe, 0x14012c76e\nmov     rax, [r14]                                                     ; +0xc4, 0x14012c774\nlea     rdx, [rsp+68h+arg_8]                                           ; +0xc7, 0x14012c777\nmov     rcx, r14                                                       ; +0xcc, 0x14012c77c\ncall    qword ptr [rax+0B8h]                                           ; +0xcf, 0x14012c77f\njmp     loc_14012CBA7                                                  ; +0xd5, 0x14012c785\nmov     rcx, [rsi+0B8h]; jumptable 000000014012C75B cases 2,3          ; +0xda, 0x14012c78a\nlea     edx, [rax-1]                                                   ; +0xe1, 0x14012c791\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xe4, 0x14012c794\nmov     rcx, rax                                                       ; +0xea, 0x14012c79a\nmov     rdi, rax                                                       ; +0xed, 0x14012c79d\nmov     rbx, [rax]                                                     ; +0xf0, 0x14012c7a0\ncall    qword ptr [rbx+0C8h]                                           ; +0xf3, 0x14012c7a3\nmovss   xmm1, [rsp+68h+arg_0]                                          ; +0xf9, 0x14012c7a9\nlea     rcx, [rsp+68h+arg_8]                                           ; +0xff, 0x14012c7af\naddss   xmm1, dword ptr [rsi+80h]                                      ; +0x104, 0x14012c7b4\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x10c, 0x14012c7bc\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x111, 0x14012c7c1\nmov     rdx, rax                                                       ; +0x117, 0x14012c7c7\nmov     rcx, rdi                                                       ; +0x11a, 0x14012c7ca\ncall    qword ptr [rbx+0B8h]                                           ; +0x11d, 0x14012c7cd\nmov     rdx, [r14]                                                     ; +0x123, 0x14012c7d3\nmov     rcx, r14                                                       ; +0x126, 0x14012c7d6\ncall    qword ptr [rdx+0C8h]                                           ; +0x129, 0x14012c7d9\nmov     rcx, rdi                                                       ; +0x12f, 0x14012c7df\nmovss   xmm6, dword ptr [rax]                                          ; +0x132, 0x14012c7e2\nmov     rax, [rdi]                                                     ; +0x136, 0x14012c7e6\ncall    qword ptr [rax+0C8h]                                           ; +0x139, 0x14012c7e9\ncmp     word ptr [rsi+74h], 3                                          ; +0x13f, 0x14012c7ef\nmovss   xmm1, dword ptr [rax]                                          ; +0x144, 0x14012c7f4\nsubss   xmm1, xmm6                                                     ; +0x148, 0x14012c7f8\njnz     short loc_14012C808                                            ; +0x14c, 0x14012c7fc\nmovss   xmm0, dword ptr [rsi+88h]                                      ; +0x14e, 0x14012c7fe\njmp     short loc_14012C810                                            ; +0x156, 0x14012c806\nmovss   xmm0, dword ptr [rsi+90h]                                      ; +0x158, 0x14012c808\nmov     rcx, [rsi+78h]                                                 ; +0x160, 0x14012c810\nsubss   xmm0, xmm6                                                     ; +0x164, 0x14012c814\ndivss   xmm1, xmm0                                                     ; +0x168, 0x14012c818\nmovss   dword ptr [rsi+0D0h], xmm1                                     ; +0x16c, 0x14012c81c\nmov     rax, [rcx]                                                     ; +0x174, 0x14012c824\ncall    qword ptr [rax]                                                ; +0x177, 0x14012c827\njmp     loc_14012CBA7                                                  ; +0x179, 0x14012c829\nmov     rcx, [rsi+0B8h]; jumptable 000000014012C75B cases 4,5          ; +0x17e, 0x14012c82e\nlea     edx, [rax-1]                                                   ; +0x185, 0x14012c835\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x188, 0x14012c838\nmovss   xmm6, dword ptr [rsi+84h]                                      ; +0x18e, 0x14012c83e\nmov     rcx, rax                                                       ; +0x196, 0x14012c846\naddss   xmm6, [rsp+68h+arg_4]                                          ; +0x199, 0x14012c849\nmov     rdi, rax                                                       ; +0x19f, 0x14012c84f\nmov     rbx, [rax]                                                     ; +0x1a2, 0x14012c852\ncall    qword ptr [rbx+0C8h]                                           ; +0x1a5, 0x14012c855\nmovaps  xmm2, xmm6                                                     ; +0x1ab, 0x14012c85b\nlea     rcx, [rsp+68h+arg_8]                                           ; +0x1ae, 0x14012c85e\nmovss   xmm1, dword ptr [rax]                                          ; +0x1b3, 0x14012c863\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1b7, 0x14012c867\nmov     rdx, rax                                                       ; +0x1bd, 0x14012c86d\nmov     rcx, rdi                                                       ; +0x1c0, 0x14012c870\ncall    qword ptr [rbx+0B8h]                                           ; +0x1c3, 0x14012c873\nmov     rax, [r14]                                                     ; +0x1c9, 0x14012c879\nmov     rcx, r14                                                       ; +0x1cc, 0x14012c87c\ncall    qword ptr [rax+0C8h]                                           ; +0x1cf, 0x14012c87f\nmov     rcx, rdi                                                       ; +0x1d5, 0x14012c885\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x1d8, 0x14012c888\nmov     rax, [rdi]                                                     ; +0x1dd, 0x14012c88d\ncall    qword ptr [rax+0C8h]                                           ; +0x1e0, 0x14012c890\ncmp     word ptr [rsi+74h], 4                                          ; +0x1e6, 0x14012c896\nmovss   xmm1, dword ptr [rax+4]                                        ; +0x1eb, 0x14012c89b\nsubss   xmm1, xmm6                                                     ; +0x1f0, 0x14012c8a0\njnz     short loc_14012C8B0                                            ; +0x1f4, 0x14012c8a4\nmovss   xmm0, dword ptr [rsi+8Ch]                                      ; +0x1f6, 0x14012c8a6\njmp     short loc_14012C8B8                                            ; +0x1fe, 0x14012c8ae\nmovss   xmm0, dword ptr [rsi+94h]                                      ; +0x200, 0x14012c8b0\nmov     rcx, [rsi+78h]                                                 ; +0x208, 0x14012c8b8\nsubss   xmm0, xmm6                                                     ; +0x20c, 0x14012c8bc\ndivss   xmm1, xmm0                                                     ; +0x210, 0x14012c8c0\nmovss   dword ptr [rsi+0D4h], xmm1                                     ; +0x214, 0x14012c8c4\nmov     rax, [rcx]                                                     ; +0x21c, 0x14012c8cc\ncall    qword ptr [rax+8]                                              ; +0x21f, 0x14012c8cf\njmp     loc_14012CBA7                                                  ; +0x222, 0x14012c8d2\nmov     rcx, [rsi+0B8h]; jumptable 000000014012C75B cases 6-9          ; +0x227, 0x14012c8d7\nlea     edx, [rax-1]                                                   ; +0x22e, 0x14012c8de\nmovaps  [rsp+68h+var_38], xmm7                                         ; +0x231, 0x14012c8e1\nmovaps  [rsp+68h+var_48], xmm8                                         ; +0x236, 0x14012c8e6\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x23c, 0x14012c8ec\nmovss   xmm2, [rsp+68h+arg_4]                                          ; +0x242, 0x14012c8f2\nlea     rcx, [rsp+68h+arg_8]                                           ; +0x248, 0x14012c8f8\nmovss   xmm1, [rsp+68h+arg_0]                                          ; +0x24d, 0x14012c8fd\nmov     rdi, rax                                                       ; +0x253, 0x14012c903\naddss   xmm2, dword ptr [rsi+84h]                                      ; +0x256, 0x14012c906\naddss   xmm1, dword ptr [rsi+80h]                                      ; +0x25e, 0x14012c90e\nmov     rbx, [rax]                                                     ; +0x266, 0x14012c916\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x269, 0x14012c919\nmov     rdx, rax                                                       ; +0x26f, 0x14012c91f\nmov     rcx, rdi                                                       ; +0x272, 0x14012c922\ncall    qword ptr [rbx+0B8h]                                           ; +0x275, 0x14012c925\nmov     rax, [r14]                                                     ; +0x27b, 0x14012c92b\nmov     rcx, r14                                                       ; +0x27e, 0x14012c92e\ncall    qword ptr [rax+0C8h]                                           ; +0x281, 0x14012c931\nmov     rcx, rdi                                                       ; +0x287, 0x14012c937\nmovss   xmm8, dword ptr [rax]                                          ; +0x28a, 0x14012c93a\nmov     rax, [rdi]                                                     ; +0x28f, 0x14012c93f\ncall    qword ptr [rax+0C8h]                                           ; +0x292, 0x14012c942\nmov     ecx, 0FFFDh                                                    ; +0x298, 0x14012c948\nmovss   xmm6, dword ptr [rax]                                          ; +0x29d, 0x14012c94d\nmovzx   eax, word ptr [rsi+74h]                                        ; +0x2a1, 0x14012c951\nsubss   xmm6, xmm8                                                     ; +0x2a5, 0x14012c955\nsub     ax, 7                                                          ; +0x2aa, 0x14012c95a\ntest    cx, ax                                                         ; +0x2ae, 0x14012c95e\njz      short loc_14012C96D                                            ; +0x2b1, 0x14012c961\nmovss   xmm7, dword ptr [rsi+90h]                                      ; +0x2b3, 0x14012c963\njmp     short loc_14012C975                                            ; +0x2bb, 0x14012c96b\nmovss   xmm7, dword ptr [rsi+88h]                                      ; +0x2bd, 0x14012c96d\nmov     rax, [r14]                                                     ; +0x2c5, 0x14012c975\nsubss   xmm7, xmm8                                                     ; +0x2c8, 0x14012c978\nmov     rcx, r14                                                       ; +0x2cd, 0x14012c97d\ncall    qword ptr [rax+0C8h]                                           ; +0x2d0, 0x14012c980\nmov     rcx, rdi                                                       ; +0x2d6, 0x14012c986\nmovss   xmm8, dword ptr [rax+4]                                        ; +0x2d9, 0x14012c989\nmov     rax, [rdi]                                                     ; +0x2df, 0x14012c98f\ncall    qword ptr [rax+0C8h]                                           ; +0x2e2, 0x14012c992\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x2e8, 0x14012c998\nmovzx   eax, word ptr [rsi+74h]                                        ; +0x2ed, 0x14012c99d\nsubss   xmm2, xmm8                                                     ; +0x2f1, 0x14012c9a1\nsub     ax, 6                                                          ; +0x2f6, 0x14012c9a6\ncmp     ax, 1                                                          ; +0x2fa, 0x14012c9aa\njbe     short loc_14012C9BA                                            ; +0x2fe, 0x14012c9ae\nmovss   xmm0, dword ptr [rsi+94h]                                      ; +0x300, 0x14012c9b0\njmp     short loc_14012C9C2                                            ; +0x308, 0x14012c9b8\nmovss   xmm0, dword ptr [rsi+8Ch]                                      ; +0x30a, 0x14012c9ba\ncmp     byte ptr [rsi+0D8h], 0                                         ; +0x312, 0x14012c9c2\nsubss   xmm0, xmm8                                                     ; +0x319, 0x14012c9c9\nmovss   xmm1, dword ptr [rsi+0D0h]                                     ; +0x31e, 0x14012c9ce\nmovss   xmm3, dword ptr [rsi+0D4h]                                     ; +0x326, 0x14012c9d6\nmovaps  xmm8, [rsp+68h+var_48]                                         ; +0x32e, 0x14012c9de\ndivss   xmm6, xmm7                                                     ; +0x334, 0x14012c9e4\nmovaps  xmm7, [rsp+68h+var_38]                                         ; +0x338, 0x14012c9e8\ndivss   xmm2, xmm0                                                     ; +0x33d, 0x14012c9ed\nmovss   dword ptr [rsi+0D0h], xmm6                                     ; +0x341, 0x14012c9f1\nmovss   dword ptr [rsi+0D4h], xmm2                                     ; +0x349, 0x14012c9f9\njz      short loc_14012CA16                                            ; +0x351, 0x14012ca01\ndivss   xmm1, xmm3                                                     ; +0x353, 0x14012ca03\nmovaps  xmm2, xmm6                                                     ; +0x357, 0x14012ca07\ndivss   xmm2, xmm1                                                     ; +0x35a, 0x14012ca0a\nmovss   dword ptr [rsi+0D4h], xmm2                                     ; +0x35e, 0x14012ca0e\nmov     rcx, [rsi+78h]                                                 ; +0x366, 0x14012ca16\nmovaps  xmm1, xmm6                                                     ; +0x36a, 0x14012ca1a\nmov     rax, [rcx]                                                     ; +0x36d, 0x14012ca1d\ncall    qword ptr [rax+10h]                                            ; +0x370, 0x14012ca20\njmp     loc_14012CBA7                                                  ; +0x373, 0x14012ca23\nmov     rcx, [rsi+0B8h]; jumptable 000000014012C75B case 10            ; +0x378, 0x14012ca28\nlea     edx, [rax-1]                                                   ; +0x37f, 0x14012ca2f\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x382, 0x14012ca32\nmovss   xmm0, [rsp+68h+arg_0]                                          ; +0x388, 0x14012ca38\nmov     rdi, rax                                                       ; +0x38e, 0x14012ca3e\naddss   xmm0, dword ptr [rsi+80h]                                      ; +0x391, 0x14012ca41\nmovss   xmm6, cs:dword_1406239E8                                       ; +0x399, 0x14012ca49\ncomiss  xmm6, xmm0                                                     ; +0x3a1, 0x14012ca51\nja      short loc_14012CA62                                            ; +0x3a4, 0x14012ca54\nmovss   xmm6, cs:dword_1406232BC                                       ; +0x3a6, 0x14012ca56\nminss   xmm6, xmm0                                                     ; +0x3ae, 0x14012ca5e\nmov     rbx, [rax]                                                     ; +0x3b2, 0x14012ca62\nmov     rcx, rdi                                                       ; +0x3b5, 0x14012ca65\ncall    qword ptr [rbx+0C8h]                                           ; +0x3b8, 0x14012ca68\nmovaps  xmm1, xmm6                                                     ; +0x3be, 0x14012ca6e\nlea     rcx, [rsp+68h+arg_8]                                           ; +0x3c1, 0x14012ca71\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x3c6, 0x14012ca76\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3cb, 0x14012ca7b\nmov     rdx, rax                                                       ; +0x3d1, 0x14012ca81\nmov     rcx, rdi                                                       ; +0x3d4, 0x14012ca84\ncall    qword ptr [rbx+0B8h]                                           ; +0x3d7, 0x14012ca87\nmov     rcx, [rsi+78h]                                                 ; +0x3dd, 0x14012ca8d\nmulss   xmm6, cs:dword_140622AF0                                       ; +0x3e1, 0x14012ca91\nmov     rax, [rcx]                                                     ; +0x3e9, 0x14012ca99\nmovaps  xmm1, xmm6                                                     ; +0x3ec, 0x14012ca9c\ncall    qword ptr [rax+40h]                                            ; +0x3ef, 0x14012ca9f\njmp     loc_14012CBA7                                                  ; +0x3f2, 0x14012caa2\nmov     rcx, [rsi+0B8h]; jumptable 000000014012C75B case 11            ; +0x3f7, 0x14012caa7\nlea     edx, [rax-1]                                                   ; +0x3fe, 0x14012caae\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x401, 0x14012cab1\nmovss   xmm0, [rsp+68h+arg_4]                                          ; +0x407, 0x14012cab7\nmov     rdi, rax                                                       ; +0x40d, 0x14012cabd\naddss   xmm0, dword ptr [rsi+84h]                                      ; +0x410, 0x14012cac0\nmovss   xmm6, cs:dword_1406239E8                                       ; +0x418, 0x14012cac8\ncomiss  xmm6, xmm0                                                     ; +0x420, 0x14012cad0\nja      short loc_14012CAE1                                            ; +0x423, 0x14012cad3\nmovss   xmm6, cs:dword_1406232BC                                       ; +0x425, 0x14012cad5\nminss   xmm6, xmm0                                                     ; +0x42d, 0x14012cadd\nmov     rbx, [rax]                                                     ; +0x431, 0x14012cae1\nmov     rcx, rdi                                                       ; +0x434, 0x14012cae4\ncall    qword ptr [rbx+0C8h]                                           ; +0x437, 0x14012cae7\nmovaps  xmm2, xmm6                                                     ; +0x43d, 0x14012caed\nlea     rcx, [rsp+68h+arg_8]                                           ; +0x440, 0x14012caf0\nmovss   xmm1, dword ptr [rax]                                          ; +0x445, 0x14012caf5\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x449, 0x14012caf9\nmov     rdx, rax                                                       ; +0x44f, 0x14012caff\nmov     rcx, rdi                                                       ; +0x452, 0x14012cb02\ncall    qword ptr [rbx+0B8h]                                           ; +0x455, 0x14012cb05\nmov     rcx, [rsi+78h]                                                 ; +0x45b, 0x14012cb0b\nmulss   xmm6, cs:dword_140622AF0                                       ; +0x45f, 0x14012cb0f\nmov     rax, [rcx]                                                     ; +0x467, 0x14012cb17\nmovaps  xmm1, xmm6                                                     ; +0x46a, 0x14012cb1a\ncall    qword ptr [rax+48h]                                            ; +0x46d, 0x14012cb1d\njmp     loc_14012CBA7                                                  ; +0x470, 0x14012cb20\nmovss   xmm0, [rsp+68h+arg_4]; jumptable 000000014012C75B case 12      ; +0x475, 0x14012cb25\nmovss   xmm1, [rsp+68h+arg_0]                                          ; +0x47b, 0x14012cb2b\naddss   xmm0, dword ptr [rsi+84h]; Y                                   ; +0x481, 0x14012cb31\naddss   xmm1, dword ptr [rsi+80h]; X                                   ; +0x489, 0x14012cb39\ncall    atan2f                                                         ; +0x491, 0x14012cb41\nmovaps  xmm1, xmm0                                                     ; +0x496, 0x14012cb46\nmulss   xmm1, cs:dword_140623200                                       ; +0x499, 0x14012cb49\nxorps   xmm1, cs:xmmword_1406243F0                                     ; +0x4a1, 0x14012cb51\nmulss   xmm1, cs:dword_1406232BC                                       ; +0x4a8, 0x14012cb58\ndivss   xmm1, cs:dword_1406232BC                                       ; +0x4b0, 0x14012cb60\nsubss   xmm1, dword ptr [rsi+0E4h]                                     ; +0x4b8, 0x14012cb68\nucomiss xmm1, dword ptr [rsi+0E0h]                                     ; +0x4c0, 0x14012cb70\njp      short loc_14012CB7B                                            ; +0x4c7, 0x14012cb77\njz      short loc_14012CBA7                                            ; +0x4c9, 0x14012cb79\nmov     rcx, [rsi+60h]                                                 ; +0x4cb, 0x14012cb7b\nmovss   dword ptr [rsi+0E0h], xmm1                                     ; +0x4cf, 0x14012cb7f\nmov     rax, [rcx]                                                     ; +0x4d7, 0x14012cb87\ncall    qword ptr [rax+150h]                                           ; +0x4da, 0x14012cb8a\nmov     rcx, [rsi+78h]                                                 ; +0x4e0, 0x14012cb90\ntest    rcx, rcx                                                       ; +0x4e4, 0x14012cb94\njz      short loc_14012CBA7                                            ; +0x4e7, 0x14012cb97\nmov     rax, [rcx]                                                     ; +0x4e9, 0x14012cb99\nmovss   xmm1, dword ptr [rsi+0E0h]                                     ; +0x4ec, 0x14012cb9c\ncall    qword ptr [rax+28h]                                            ; +0x4f4, 0x14012cba4\nmov     rdi, [rsp+68h+arg_10]                                          ; +0x4f7, 0x14012cba7\nlea     rcx, [rsi-140h]; jumptable 000000014012C75B default case       ; +0x4ff, 0x14012cbaf\nxor     r8d, r8d                                                       ; +0x506, 0x14012cbb6\nxor     edx, edx                                                       ; +0x509, 0x14012cbb9\ncall    GJTransformControl__updateButtons                              ; +0x50b, 0x14012cbbb\nmovaps  xmm6, [rsp+68h+var_28]                                         ; +0x510, 0x14012cbc0\nmov     r14, [rsp+68h+var_18]                                          ; +0x515, 0x14012cbc5\nadd     rsp, 58h                                                       ; +0x51a, 0x14012cbca\npop     rsi                                                            ; +0x51e, 0x14012cbce\npop     rbx                                                            ; +0x51f, 0x14012cbcf\nretn                                                                   ; +0x520, 0x14012cbd0\nalign 4                                                                ; +0x521, 0x14012cbd1\ndd offset loc_14012C75D - 140000000h; jump table for switch statement  ; +0x524, 0x14012cbd4", "xrefs": ["<???> @ 0x140552c68", "<???> @ 0x140670ba0", "<???> @ 0x140670bfc", "<???> @ 0x1406c9c24"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}