{"type": "func", "start": 5370441504, "end": 5370442760, "name": "GJTransformControl::ccTouchBegan", "pseudocode": "// \n// GJTransformControl::ccTouchBegan from 0x1401a6f20 to 0x1401a7408 (1256 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x140750428\n// > <???> @ 0x1408a0cf0\n// > <???> @ 0x1408a0d00\n// > <???> @ 0x140919be0\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\nchar __fastcall GJTransformControl::ccTouchBegan(__int64 a1, __int64 a2, __int64 a3)\n{\n  unsigned int v5; // esi\n  int v6; // ebx\n  const struct cocos2d::CCPoint *v7; // rdx\n  struct cocos2d::CCObject *v8; // rax\n  cocos2d::CCRect *v9; // rax\n  __int16 *v10; // r14\n  __int16 v11; // dx\n  __int64 v12; // rcx\n  __int64 v13; // rax\n  struct cocos2d::CCObject *v14; // rax\n  __int64 v15; // rax\n  __int64 v16; // rax\n  struct cocos2d::CCObject *v17; // rax\n  const struct cocos2d::CCPoint *v18; // rax\n  struct cocos2d::CCObject *v19; // rax\n  const struct cocos2d::CCPoint *v20; // rax\n  float v21; // xmm1_4\n  float v22; // xmm0_4\n  float v23; // xmm2_4\n  __int64 v24; // rax\n  struct cocos2d::CCObject *v25; // rax\n  __int64 v26; // rax\n  __int64 v27; // rax\n  __int64 Location; // rax\n  __int64 v29; // rax\n  unsigned int v30; // edx\n  cocos2d::CCArray *v31; // rcx\n  struct cocos2d::CCObject *v32; // rax\n  __int64 v33; // rax\n  struct cocos2d::CCObject *v34; // rax\n  __int64 v35; // rax\n  struct cocos2d::CCObject *v36; // rax\n  __int64 v37; // rax\n  __int64 v38; // rax\n  __int64 v40; // rax\n  cocos2d::CCArray *v41; // rcx\n  struct cocos2d::CCObject *v42; // rax\n  const struct cocos2d::CCPoint *v43; // rax\n  __int64 v44; // rax\n  _BYTE v45[8]; // [rsp+20h] [rbp-50h] BYREF\n  _BYTE v46[8]; // [rsp+28h] [rbp-48h] BYREF\n  float v47; // [rsp+30h] [rbp-40h] BYREF\n  float v48; // [rsp+34h] [rbp-3Ch]\n  float v49[2]; // [rsp+38h] [rbp-38h] BYREF\n  _BYTE v50[8]; // [rsp+40h] [rbp-30h] BYREF\n  _BYTE v51[8]; // [rsp+48h] [rbp-28h] BYREF\n  _BYTE v52[8]; // [rsp+50h] [rbp-20h] BYREF\n  _BYTE v53[24]; // [rsp+58h] [rbp-18h] BYREF\n  float v54; // [rsp+A0h] [rbp+30h] BYREF\n  float v55; // [rsp+A4h] [rbp+34h]\n  char v56; // [rsp+B8h] [rbp+48h] BYREF\n\n  if ( *(_DWORD *)(a1 + 112) == -1 )\n  {\n    if ( ControlMenuTouch::began((__int64 *)(a1 + 240), a2, a3) )\n      return 1;\n    cocos2d::CCTouch::getLocation(a2, v46);\n    cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 88), v50, v46);\n    cocos2d::CCNode::convertToNodeSpace(a1 - 320, v51, v46);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56);\n    v5 = 1;\n    v6 = 1;\n    while ( 1 )\n    {\n      if ( v6 == 12 || (v7 = (const struct cocos2d::CCPoint *)v50, v6 == 1) )\n        v7 = (const struct cocos2d::CCPoint *)v51;\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v54, v7);\n      v8 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), v6 - 1);\n      v9 = (cocos2d::CCRect *)cocos2d::CCNode::boundingBox(v8, v53);\n      if ( cocos2d::CCRect::containsPoint(v9, (const struct cocos2d::CCPoint *)&v54) )\n        break;\n      if ( ++v6 >= 13 )\n      {\n        v10 = (__int16 *)(a1 + 116);\n        goto LABEL_11;\n      }\n    }\n    v10 = (__int16 *)(a1 + 116);\n    *(_WORD *)(a1 + 116) = v6;\n    cocos2d::CCPoint::operator=(&v56, &v54);\nLABEL_11:\n    v11 = *v10;\n    if ( *v10 )\n    {\n      v12 = *(_QWORD *)(a1 + 120);\n      if ( v12 )\n      {\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)v12 + 80LL))(v12);\n        v11 = *v10;\n      }\n      if ( !*(_BYTE *)(a1 + 281) )\n      {\n        v13 = cocos2d::CCDirector::sharedDirector(v12);\n        if ( !*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 176LL))(v13) + 154) )\n          goto LABEL_33;\n        v11 = *v10;\n      }\n      if ( (unsigned __int16)(v11 - 2) <= 7u && *(_QWORD *)(a1 + 120) )\n      {\n        *(_BYTE *)(a1 + 308) = 1;\n        switch ( v11 )\n        {\n          case 2:\n            v5 = 2;\n            break;\n          case 3:\n            break;\n          case 4:\n            v5 = 4;\n            break;\n          case 5:\n            v5 = 3;\n            break;\n          case 6:\n            v5 = 8;\n            break;\n          case 7:\n            v5 = 7;\n            break;\n          case 8:\n            v5 = 6;\n            break;\n          case 9:\n            v5 = 5;\n            break;\n        }\n        v14 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), 0);\n        v15 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v14 + 200LL))(v14);\n        cocos2d::CCNode::convertToWorldSpace(a1 - 320, v45, v15);\n        cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 88), v49, v16);\n        v17 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), 5u);\n        v18 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v17 + 200LL))(v17);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v54, v18);\n        v19 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), 8u);\n        v20 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v19 + 200LL))(v19);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, v20);\n        v21 = v47 - v54;\n        v22 = 0.5;\n        if ( (float)(v48 - v55) == 0.0 )\n          v23 = 0.5;\n        else\n          v23 = (float)(v49[1] - v55) / (float)(v48 - v55);\n        if ( v21 != 0.0 )\n          v22 = (float)(v49[0] - v54) / v21;\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v45, v22, v23);\n        cocos2d::CCPoint::operator=(a1 + 300, v24);\n        v25 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), v5);\n        v26 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v25 + 200LL))(v25);\n        cocos2d::CCNode::convertToWorldSpace(*(_QWORD *)(a1 + 88), v52, v26);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v45, (const struct cocos2d::CCPoint *)v52);\n        GJTransformControl::moveAnchorTo(a1 - 320, v27);\n        Location = cocos2d::CCTouch::getLocation(a2, v45);\n        cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 88), v53, Location);\n        cocos2d::CCPoint::operator=(&v56, v29);\n        goto LABEL_34;\n      }\nLABEL_33:\n      *(_BYTE *)(a1 + 308) = 0;\nLABEL_34:\n      v30 = *v10 - 1;\n      v31 = *(cocos2d::CCArray **)(a1 + 192);\n      *(_DWORD *)(a1 + 112) = *(_DWORD *)(a2 + 56);\n      v32 = cocos2d::CCArray::objectAtIndex(v31, v30);\n      v33 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v32 + 200LL))(v32);\n      cocos2d::CCPoint::operator-(v33, &v54, &v56);\n      cocos2d::CCPoint::operator=(a1 + 128, &v54);\n      v34 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), 6u);\n      v35 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v34 + 200LL))(v34);\n      cocos2d::CCPoint::operator=(a1 + 152, v35);\n      v36 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 192), 7u);\n      v37 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v36 + 200LL))(v36);\n      cocos2d::CCPoint::operator=(a1 + 160, v37);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v54, *(float *)(a1 + 272), *(float *)(a1 + 276));\n      cocos2d::CCPoint::operator=(a1 + 168, v38);\n      if ( *v10 == 12 )\n      {\n        *(_DWORD *)(a1 + 284) = *(_DWORD *)(a1 + 288);\n        return 1;\n      }\n      if ( *v10 == 1 )\n      {\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v54, 3.4028235e38, 3.4028235e38);\n        cocos2d::CCPoint::operator=(a1 + 316, v40);\n        v41 = *(cocos2d::CCArray **)(a1 + 192);\n        *(_DWORD *)(a1 + 312) = 0;\n        v42 = cocos2d::CCArray::objectAtIndex(v41, 0);\n        v43 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v42 + 200LL))(v42);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v54, v43);\n        GJTransformControl::snapToNearestVertex(a1 - 320, v53, v44);\n      }\n      return 1;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; GJTransformControl::ccTouchBegan from 0x1401a6f20 to 0x1401a7408 (1256 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x140750428\n; > <???> @ 0x1408a0cf0\n; > <???> @ 0x1408a0d00\n; > <???> @ 0x140919be0\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_10], rsi                                          ; +0x0, 0x1401a6f20\npush    rbp                                                            ; +0x5, 0x1401a6f25\npush    rdi                                                            ; +0x6, 0x1401a6f26\npush    r13                                                            ; +0x7, 0x1401a6f27\npush    r14                                                            ; +0x9, 0x1401a6f29\npush    r15                                                            ; +0xb, 0x1401a6f2b\nmov     rbp, rsp                                                       ; +0xd, 0x1401a6f2d\nsub     rsp, 70h                                                       ; +0x10, 0x1401a6f30\ncmp     dword ptr [rcx+70h], 0FFFFFFFFh                                ; +0x14, 0x1401a6f34\nmov     r13, rdx                                                       ; +0x18, 0x1401a6f38\nmov     rdi, rcx                                                       ; +0x1b, 0x1401a6f3b\njnz     loc_1401A73D0                                                  ; +0x1e, 0x1401a6f3e\nadd     rcx, 0F0h                                                      ; +0x24, 0x1401a6f44\ncall    ControlMenuTouch__began                                        ; +0x2b, 0x1401a6f4b\ntest    al, al                                                         ; +0x30, 0x1401a6f50\njnz     loc_1401A73CC                                                  ; +0x32, 0x1401a6f52\nlea     rdx, [rbp+var_48]                                              ; +0x38, 0x1401a6f58\nmov     [rsp+70h+arg_8], rbx                                           ; +0x3c, 0x1401a6f5c\nmov     rcx, r13                                                       ; +0x44, 0x1401a6f64\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x47, 0x1401a6f67\nmov     rcx, [rdi+58h]                                                 ; +0x4d, 0x1401a6f6d\nlea     r8, [rbp+var_48]                                               ; +0x51, 0x1401a6f71\nlea     rdx, [rbp+var_30]                                              ; +0x55, 0x1401a6f75\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x59, 0x1401a6f79\nlea     r8, [rbp+var_48]                                               ; +0x5f, 0x1401a6f7f\nlea     rdx, [rbp+var_28]                                              ; +0x63, 0x1401a6f83\nlea     rcx, [rdi-140h]                                                ; +0x67, 0x1401a6f87\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x6e, 0x1401a6f8e\nlea     rcx, [rbp+arg_18]                                              ; +0x74, 0x1401a6f94\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x78, 0x1401a6f98\nmov     esi, 1                                                         ; +0x7e, 0x1401a6f9e\nmov     ebx, esi                                                       ; +0x83, 0x1401a6fa3\ncmp     ebx, 0Ch                                                       ; +0x85, 0x1401a6fa5\njz      short loc_1401A6FB2                                            ; +0x88, 0x1401a6fa8\nlea     rdx, [rbp+var_30]                                              ; +0x8a, 0x1401a6faa\ncmp     ebx, esi                                                       ; +0x8e, 0x1401a6fae\njnz     short loc_1401A6FB6                                            ; +0x90, 0x1401a6fb0\nlea     rdx, [rbp+var_28]                                              ; +0x92, 0x1401a6fb2\nlea     rcx, [rbp+arg_0]                                               ; +0x96, 0x1401a6fb6\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x9a, 0x1401a6fba\nmov     rcx, [rdi+0C0h]                                                ; +0xa0, 0x1401a6fc0\nlea     edx, [rbx-1]                                                   ; +0xa7, 0x1401a6fc7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xaa, 0x1401a6fca\nmov     rcx, rax                                                       ; +0xb0, 0x1401a6fd0\nlea     rdx, [rbp+var_18]                                              ; +0xb3, 0x1401a6fd3\ncall    cs:?boundingBox@CCNode@cocos2d@@QEAA?AVCCRect@2@XZ; cocos2d::CCNode::boundingBox(void) ; +0xb7, 0x1401a6fd7\nmov     rcx, rax                                                       ; +0xbd, 0x1401a6fdd\nlea     rdx, [rbp+arg_0]                                               ; +0xc0, 0x1401a6fe0\ncall    cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xc4, 0x1401a6fe4\ntest    al, al                                                         ; +0xca, 0x1401a6fea\njnz     short loc_1401A6FFB                                            ; +0xcc, 0x1401a6fec\ninc     ebx                                                            ; +0xce, 0x1401a6fee\ncmp     ebx, 0Dh                                                       ; +0xd0, 0x1401a6ff0\njl      short loc_1401A6FA5                                            ; +0xd3, 0x1401a6ff3\nlea     r14, [rdi+74h]                                                 ; +0xd5, 0x1401a6ff5\njmp     short loc_1401A7011                                            ; +0xd9, 0x1401a6ff9\nlea     r14, [rdi+74h]                                                 ; +0xdb, 0x1401a6ffb\nlea     rdx, [rbp+arg_0]                                               ; +0xdf, 0x1401a6fff\nmov     [r14], bx                                                      ; +0xe3, 0x1401a7003\nlea     rcx, [rbp+arg_18]                                              ; +0xe7, 0x1401a7007\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xeb, 0x1401a700b\nmovzx   edx, word ptr [r14]                                            ; +0xf1, 0x1401a7011\nmov     rbx, [rsp+70h+arg_8]                                           ; +0xf5, 0x1401a7015\ntest    dx, dx                                                         ; +0xfd, 0x1401a701d\njz      loc_1401A73D0                                                  ; +0x100, 0x1401a7020\nmov     rcx, [rdi+78h]                                                 ; +0x106, 0x1401a7026\ntest    rcx, rcx                                                       ; +0x10a, 0x1401a702a\njz      short loc_1401A7039                                            ; +0x10d, 0x1401a702d\nmov     rax, [rcx]                                                     ; +0x10f, 0x1401a702f\ncall    qword ptr [rax+50h]                                            ; +0x112, 0x1401a7032\nmovzx   edx, word ptr [r14]                                            ; +0x115, 0x1401a7035\ncmp     byte ptr [rdi+119h], 0                                         ; +0x119, 0x1401a7039\njnz     short loc_1401A7068                                            ; +0x120, 0x1401a7040\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x122, 0x1401a7042\nmov     rcx, [rax]                                                     ; +0x128, 0x1401a7048\nmov     rdx, [rcx+0B0h]                                                ; +0x12b, 0x1401a704b\nmov     rcx, rax                                                       ; +0x132, 0x1401a7052\ncall    rdx                                                            ; +0x135, 0x1401a7055\ncmp     byte ptr [rax+9Ah], 0                                          ; +0x137, 0x1401a7057\njz      loc_1401A7262                                                  ; +0x13e, 0x1401a705e\nmovzx   edx, word ptr [r14]                                            ; +0x144, 0x1401a7064\nlea     eax, [rdx-2]                                                   ; +0x148, 0x1401a7068\ncmp     ax, 7                                                          ; +0x14b, 0x1401a706b\nja      loc_1401A7262                                                  ; +0x14f, 0x1401a706f\ncmp     qword ptr [rdi+78h], 0                                         ; +0x155, 0x1401a7075\njz      loc_1401A7262                                                  ; +0x15a, 0x1401a707a\nmovsx   eax, dx                                                        ; +0x160, 0x1401a7080\nadd     eax, 0FFFFFFFEh; switch 8 cases                                ; +0x163, 0x1401a7083\nmov     [rdi+134h], sil                                                ; +0x166, 0x1401a7086\ncmp     eax, 7                                                         ; +0x16d, 0x1401a708d\nja      short def_1401A70A5; jumptable 00000001401A70A5 default case   ; +0x170, 0x1401a7090\nlea     rdx, cs:140000000h                                             ; +0x172, 0x1401a7092\ncdqe                                                                   ; +0x179, 0x1401a7099\nmov     ecx, ds:(jpt_1401A70A5 - 140000000h)[rdx+rax*4]                ; +0x17b, 0x1401a709b\nadd     rcx, rdx                                                       ; +0x182, 0x1401a70a2\njmp     rcx; switch jump                                               ; +0x185, 0x1401a70a5\nmov     esi, 8; jumptable 00000001401A70A5 case 6                      ; +0x187, 0x1401a70a7\njmp     short loc_1401A70DA; jumptable 00000001401A70A5 case 3         ; +0x18c, 0x1401a70ac\nmov     esi, 7; jumptable 00000001401A70A5 case 7                      ; +0x18e, 0x1401a70ae\njmp     short loc_1401A70DA; jumptable 00000001401A70A5 case 3         ; +0x193, 0x1401a70b3\nmov     esi, 6; jumptable 00000001401A70A5 case 8                      ; +0x195, 0x1401a70b5\njmp     short loc_1401A70DA; jumptable 00000001401A70A5 case 3         ; +0x19a, 0x1401a70ba\nmov     esi, 5; jumptable 00000001401A70A5 case 9                      ; +0x19c, 0x1401a70bc\njmp     short loc_1401A70DA; jumptable 00000001401A70A5 case 3         ; +0x1a1, 0x1401a70c1\nmov     esi, 2; jumptable 00000001401A70A5 case 2                      ; +0x1a3, 0x1401a70c3\njmp     short loc_1401A70DA; jumptable 00000001401A70A5 case 3         ; +0x1a8, 0x1401a70c8\nmov     esi, 4; jumptable 00000001401A70A5 case 4                      ; +0x1aa, 0x1401a70ca\njmp     short loc_1401A70DA; jumptable 00000001401A70A5 case 3         ; +0x1af, 0x1401a70cf\nmov     esi, 3; jumptable 00000001401A70A5 case 5                      ; +0x1b1, 0x1401a70d1\njmp     short loc_1401A70DA; jumptable 00000001401A70A5 case 3         ; +0x1b6, 0x1401a70d6\nxor     esi, esi; jumptable 00000001401A70A5 default case              ; +0x1b8, 0x1401a70d8\nmov     rcx, [rdi+0C0h]; jumptable 00000001401A70A5 case 3             ; +0x1ba, 0x1401a70da\nxor     edx, edx                                                       ; +0x1c1, 0x1401a70e1\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1c3, 0x1401a70e3\nmov     rcx, [rax]                                                     ; +0x1c9, 0x1401a70e9\nmov     r8, [rcx+0C8h]                                                 ; +0x1cc, 0x1401a70ec\nmov     rcx, rax                                                       ; +0x1d3, 0x1401a70f3\ncall    r8                                                             ; +0x1d6, 0x1401a70f6\nmov     r8, rax                                                        ; +0x1d9, 0x1401a70f9\nlea     rdx, [rbp+var_50]                                              ; +0x1dc, 0x1401a70fc\nlea     rcx, [rdi-140h]                                                ; +0x1e0, 0x1401a7100\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x1e7, 0x1401a7107\nmov     rcx, [rdi+58h]                                                 ; +0x1ed, 0x1401a710d\nlea     rdx, [rbp+var_38]                                              ; +0x1f1, 0x1401a7111\nmov     r8, rax                                                        ; +0x1f5, 0x1401a7115\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x1f8, 0x1401a7118\nmov     rcx, [rdi+0C0h]                                                ; +0x1fe, 0x1401a711e\nmov     edx, 5                                                         ; +0x205, 0x1401a7125\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x20a, 0x1401a712a\nmov     rcx, [rax]                                                     ; +0x210, 0x1401a7130\nmov     r8, [rcx+0C8h]                                                 ; +0x213, 0x1401a7133\nmov     rcx, rax                                                       ; +0x21a, 0x1401a713a\ncall    r8                                                             ; +0x21d, 0x1401a713d\nmov     rdx, rax                                                       ; +0x220, 0x1401a7140\nlea     rcx, [rbp+arg_0]                                               ; +0x223, 0x1401a7143\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x227, 0x1401a7147\nmov     rcx, [rdi+0C0h]                                                ; +0x22d, 0x1401a714d\nmov     edx, 8                                                         ; +0x234, 0x1401a7154\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x239, 0x1401a7159\nmov     rcx, [rax]                                                     ; +0x23f, 0x1401a715f\nmov     rdx, [rcx+0C8h]                                                ; +0x242, 0x1401a7162\nmov     rcx, rax                                                       ; +0x249, 0x1401a7169\ncall    rdx                                                            ; +0x24c, 0x1401a716c\nmov     rdx, rax                                                       ; +0x24e, 0x1401a716e\nlea     rcx, [rbp+var_40]                                              ; +0x251, 0x1401a7171\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x255, 0x1401a7175\nmovss   xmm3, [rbp+var_3C]                                             ; +0x25b, 0x1401a717b\nxorps   xmm5, xmm5                                                     ; +0x260, 0x1401a7180\nmovss   xmm4, [rbp+arg_4]                                              ; +0x263, 0x1401a7183\nmovss   xmm1, [rbp+var_40]                                             ; +0x268, 0x1401a7188\nsubss   xmm3, xmm4                                                     ; +0x26d, 0x1401a718d\nsubss   xmm1, [rbp+arg_0]                                              ; +0x271, 0x1401a7191\nmovss   xmm0, cs:dword_140834F20                                       ; +0x276, 0x1401a7196\nucomiss xmm3, xmm5                                                     ; +0x27e, 0x1401a719e\njp      short loc_1401A71AA                                            ; +0x281, 0x1401a71a1\njnz     short loc_1401A71AA                                            ; +0x283, 0x1401a71a3\nmovaps  xmm2, xmm0                                                     ; +0x285, 0x1401a71a5\njmp     short loc_1401A71B7                                            ; +0x288, 0x1401a71a8\nmovss   xmm2, [rbp+var_34]                                             ; +0x28a, 0x1401a71aa\nsubss   xmm2, xmm4                                                     ; +0x28f, 0x1401a71af\ndivss   xmm2, xmm3                                                     ; +0x293, 0x1401a71b3\nucomiss xmm1, xmm5                                                     ; +0x297, 0x1401a71b7\njp      short loc_1401A71BE                                            ; +0x29a, 0x1401a71ba\njz      short loc_1401A71CC                                            ; +0x29c, 0x1401a71bc\nmovss   xmm0, [rbp+var_38]                                             ; +0x29e, 0x1401a71be\nsubss   xmm0, [rbp+arg_0]                                              ; +0x2a3, 0x1401a71c3\ndivss   xmm0, xmm1                                                     ; +0x2a8, 0x1401a71c8\nmovaps  xmm1, xmm0                                                     ; +0x2ac, 0x1401a71cc\nlea     rcx, [rbp+var_50]                                              ; +0x2af, 0x1401a71cf\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2b3, 0x1401a71d3\nmov     rdx, rax                                                       ; +0x2b9, 0x1401a71d9\nlea     rcx, [rdi+12Ch]                                                ; +0x2bc, 0x1401a71dc\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x2c3, 0x1401a71e3\nmov     rcx, [rdi+0C0h]                                                ; +0x2c9, 0x1401a71e9\nmov     edx, esi                                                       ; +0x2d0, 0x1401a71f0\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2d2, 0x1401a71f2\nmov     rcx, [rax]                                                     ; +0x2d8, 0x1401a71f8\nmov     rdx, [rcx+0C8h]                                                ; +0x2db, 0x1401a71fb\nmov     rcx, rax                                                       ; +0x2e2, 0x1401a7202\ncall    rdx                                                            ; +0x2e5, 0x1401a7205\nmov     rcx, [rdi+58h]                                                 ; +0x2e7, 0x1401a7207\nlea     rdx, [rbp+var_20]                                              ; +0x2eb, 0x1401a720b\nmov     r8, rax                                                        ; +0x2ef, 0x1401a720f\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x2f2, 0x1401a7212\nlea     rdx, [rbp+var_20]                                              ; +0x2f8, 0x1401a7218\nlea     rcx, [rbp+var_50]                                              ; +0x2fc, 0x1401a721c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x300, 0x1401a7220\nmov     rdx, rax                                                       ; +0x306, 0x1401a7226\nlea     rcx, [rdi-140h]                                                ; +0x309, 0x1401a7229\ncall    GJTransformControl__moveAnchorTo                               ; +0x310, 0x1401a7230\nlea     rdx, [rbp+var_50]                                              ; +0x315, 0x1401a7235\nmov     rcx, r13                                                       ; +0x319, 0x1401a7239\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x31c, 0x1401a723c\nmov     rcx, [rdi+58h]                                                 ; +0x322, 0x1401a7242\nlea     rdx, [rbp+var_18]                                              ; +0x326, 0x1401a7246\nmov     r8, rax                                                        ; +0x32a, 0x1401a724a\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x32d, 0x1401a724d\nmov     rdx, rax                                                       ; +0x333, 0x1401a7253\nlea     rcx, [rbp+arg_18]                                              ; +0x336, 0x1401a7256\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x33a, 0x1401a725a\njmp     short loc_1401A7269                                            ; +0x340, 0x1401a7260\nmov     byte ptr [rdi+134h], 0                                         ; +0x342, 0x1401a7262\nmovsx   edx, word ptr [r14]                                            ; +0x349, 0x1401a7269\nmov     eax, [r13+38h]                                                 ; +0x34d, 0x1401a726d\ndec     edx                                                            ; +0x351, 0x1401a7271\nmov     rcx, [rdi+0C0h]                                                ; +0x353, 0x1401a7273\nmov     [rdi+70h], eax                                                 ; +0x35a, 0x1401a727a\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x35d, 0x1401a727d\nmov     rcx, [rax]                                                     ; +0x363, 0x1401a7283\nmov     r8, [rcx+0C8h]                                                 ; +0x366, 0x1401a7286\nmov     rcx, rax                                                       ; +0x36d, 0x1401a728d\ncall    r8                                                             ; +0x370, 0x1401a7290\nlea     r8, [rbp+arg_18]                                               ; +0x373, 0x1401a7293\nmov     rcx, rax                                                       ; +0x377, 0x1401a7297\nlea     rdx, [rbp+arg_0]                                               ; +0x37a, 0x1401a729a\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x37e, 0x1401a729e\nlea     rcx, [rdi+80h]                                                 ; +0x384, 0x1401a72a4\nlea     rdx, [rbp+arg_0]                                               ; +0x38b, 0x1401a72ab\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x38f, 0x1401a72af\nmov     rcx, [rdi+0C0h]                                                ; +0x395, 0x1401a72b5\nmov     edx, 6                                                         ; +0x39c, 0x1401a72bc\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x3a1, 0x1401a72c1\nmov     rcx, [rax]                                                     ; +0x3a7, 0x1401a72c7\nmov     r8, [rcx+0C8h]                                                 ; +0x3aa, 0x1401a72ca\nmov     rcx, rax                                                       ; +0x3b1, 0x1401a72d1\ncall    r8                                                             ; +0x3b4, 0x1401a72d4\nmov     rdx, rax                                                       ; +0x3b7, 0x1401a72d7\nlea     rcx, [rdi+98h]                                                 ; +0x3ba, 0x1401a72da\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3c1, 0x1401a72e1\nmov     rcx, [rdi+0C0h]                                                ; +0x3c7, 0x1401a72e7\nmov     edx, 7                                                         ; +0x3ce, 0x1401a72ee\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x3d3, 0x1401a72f3\nmov     rcx, [rax]                                                     ; +0x3d9, 0x1401a72f9\nmov     rdx, [rcx+0C8h]                                                ; +0x3dc, 0x1401a72fc\nmov     rcx, rax                                                       ; +0x3e3, 0x1401a7303\ncall    rdx                                                            ; +0x3e6, 0x1401a7306\nmov     rdx, rax                                                       ; +0x3e8, 0x1401a7308\nlea     rcx, [rdi+0A0h]                                                ; +0x3eb, 0x1401a730b\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3f2, 0x1401a7312\nmovss   xmm2, dword ptr [rdi+114h]                                     ; +0x3f8, 0x1401a7318\nlea     rcx, [rbp+arg_0]                                               ; +0x400, 0x1401a7320\nmovss   xmm1, dword ptr [rdi+110h]                                     ; +0x404, 0x1401a7324\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x40c, 0x1401a732c\nmov     rdx, rax                                                       ; +0x412, 0x1401a7332\nlea     rcx, [rdi+0A8h]                                                ; +0x415, 0x1401a7335\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x41c, 0x1401a733c\nmovzx   eax, word ptr [r14]                                            ; +0x422, 0x1401a7342\ncmp     ax, 0Ch                                                        ; +0x426, 0x1401a7346\njnz     short loc_1401A735C                                            ; +0x42a, 0x1401a734a\nmov     eax, [rdi+120h]                                                ; +0x42c, 0x1401a734c\nmov     [rdi+11Ch], eax                                                ; +0x432, 0x1401a7352\nmov     al, 1                                                          ; +0x438, 0x1401a7358\njmp     short loc_1401A73D2                                            ; +0x43a, 0x1401a735a\ncmp     ax, 1                                                          ; +0x43c, 0x1401a735c\njnz     short loc_1401A73CC                                            ; +0x440, 0x1401a7360\nmovss   xmm1, cs:dword_140835C48                                       ; +0x442, 0x1401a7362\nlea     rcx, [rbp+arg_0]                                               ; +0x44a, 0x1401a736a\nmovaps  xmm2, xmm1                                                     ; +0x44e, 0x1401a736e\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x451, 0x1401a7371\nmov     rdx, rax                                                       ; +0x457, 0x1401a7377\nlea     rcx, [rdi+13Ch]                                                ; +0x45a, 0x1401a737a\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x461, 0x1401a7381\nmov     rcx, [rdi+0C0h]                                                ; +0x467, 0x1401a7387\nxor     edx, edx                                                       ; +0x46e, 0x1401a738e\nmov     dword ptr [rdi+138h], 0                                        ; +0x470, 0x1401a7390\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x47a, 0x1401a739a\nmov     rcx, rax                                                       ; +0x480, 0x1401a73a0\nmov     rdx, [rax]                                                     ; +0x483, 0x1401a73a3\ncall    qword ptr [rdx+0C8h]                                           ; +0x486, 0x1401a73a6\nmov     rdx, rax                                                       ; +0x48c, 0x1401a73ac\nlea     rcx, [rbp+arg_0]                                               ; +0x48f, 0x1401a73af\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x493, 0x1401a73b3\nmov     r8, rax                                                        ; +0x499, 0x1401a73b9\nlea     rdx, [rbp+var_18]                                              ; +0x49c, 0x1401a73bc\nlea     rcx, [rdi-140h]                                                ; +0x4a0, 0x1401a73c0\ncall    GJTransformControl__snapToNearestVertex                        ; +0x4a7, 0x1401a73c7\nmov     al, 1                                                          ; +0x4ac, 0x1401a73cc\njmp     short loc_1401A73D2                                            ; +0x4ae, 0x1401a73ce\nxor     al, al                                                         ; +0x4b0, 0x1401a73d0\nmov     rsi, [rsp+70h+arg_10]                                          ; +0x4b2, 0x1401a73d2\nadd     rsp, 70h                                                       ; +0x4ba, 0x1401a73da\npop     r15                                                            ; +0x4be, 0x1401a73de\npop     r14                                                            ; +0x4c0, 0x1401a73e0\npop     r13                                                            ; +0x4c2, 0x1401a73e2\npop     rdi                                                            ; +0x4c4, 0x1401a73e4\npop     rbp                                                            ; +0x4c5, 0x1401a73e5\nretn                                                                   ; +0x4c6, 0x1401a73e6\nalign 8                                                                ; +0x4c7, 0x1401a73e7\ndd offset loc_1401A70C3 - 140000000h; jump table for switch statement  ; +0x4c8, 0x1401a73e8", "xrefs": ["<???> @ 0x140750428", "<???> @ 0x1408a0cf0", "<???> @ 0x1408a0d00", "<???> @ 0x140919be0"], "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"}