{"type": "func", "start": 5370446912, "end": 5370447739, "name": "GJTransformControl::snapToNearestVertex", "pseudocode": "// \n// GJTransformControl::snapToNearestVertex from 0x1401a8440 to 0x1401a877b (827 bytes)\n// \n// 3 xrefs:\n// > GJTransformControl::ccTouchBegan @ 0x1401a73c7\n// > GJTransformControl::ccTouchMoved @ 0x1401a7594\n// > <???> @ 0x140919c94\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:51 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCPoint *__fastcall GJTransformControl::snapToNearestVertex(\n        __int64 a1,\n        cocos2d::CCPoint *a2,\n        const struct cocos2d::CCPoint *a3)\n{\n  const struct cocos2d::CCPoint *v3; // r14\n  cocos2d::CCPoint *v6; // rbx\n  __int64 v7; // r15\n  __int64 v8; // rdi\n  struct cocos2d::CCObject *v9; // rax\n  __int64 v10; // rax\n  struct cocos2d::CCObject *v11; // rax\n  __int64 v12; // rax\n  struct cocos2d::CCObject *v13; // rax\n  __int64 v14; // rax\n  struct cocos2d::CCObject *v15; // rax\n  __int64 v16; // rax\n  struct cocos2d::CCObject *v17; // rax\n  __int64 v18; // rax\n  struct cocos2d::CCObject *v19; // rax\n  __int64 v20; // rax\n  struct cocos2d::CCObject *v21; // rax\n  __int64 v22; // rax\n  struct cocos2d::CCObject *v23; // rax\n  __int64 v24; // rax\n  __int64 v25; // rax\n  __int64 v26; // rax\n  float v27; // xmm6_4\n  int v28; // r12d\n  int *v29; // rbx\n  _BYTE *v30; // rdi\n  __int64 v31; // rax\n  const struct cocos2d::CCPoint *v32; // r8\n  float v33; // xmm0_4\n  int v34; // r14d\n  __int64 v36; // [rsp+28h] [rbp-99h] BYREF\n  void *v37; // [rsp+30h] [rbp-91h] BYREF\n  const struct cocos2d::CCPoint *v38; // [rsp+38h] [rbp-89h]\n  _OWORD v39[2]; // [rsp+40h] [rbp-81h] BYREF\n  int v40; // [rsp+60h] [rbp-61h]\n  _BYTE v41[8]; // [rsp+68h] [rbp-59h] BYREF\n  _BYTE v42[8]; // [rsp+70h] [rbp-51h] BYREF\n  _BYTE v43[8]; // [rsp+78h] [rbp-49h] BYREF\n  _BYTE v44[8]; // [rsp+80h] [rbp-41h] BYREF\n  _BYTE v45[8]; // [rsp+88h] [rbp-39h] BYREF\n  _BYTE v46[8]; // [rsp+90h] [rbp-31h] BYREF\n  _BYTE v47[8]; // [rsp+98h] [rbp-29h] BYREF\n  _BYTE v48[8]; // [rsp+A0h] [rbp-21h] BYREF\n  _BYTE v49[16]; // [rsp+A8h] [rbp-19h] BYREF\n\n  v3 = a3;\n  v38 = a3;\n  v39[0] = _mm_load_si128((const __m128i *)&xmmword_140836810);\n  v39[1] = _mm_load_si128((const __m128i *)&xmmword_1408367C0);\n  v40 = 1;\n  v6 = (cocos2d::CCPoint *)v41;\n  v7 = 9;\n  v8 = 9;\n  do\n  {\n    cocos2d::CCPoint::CCPoint(v6);\n    v6 = (cocos2d::CCPoint *)((char *)v6 + 8);\n    --v8;\n  }\n  while ( v8 );\n  v9 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 5u);\n  v10 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v9 + 200LL))(v9);\n  cocos2d::CCPoint::operator=(v41, v10);\n  v11 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 6u);\n  v12 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v11 + 200LL))(v11);\n  cocos2d::CCPoint::operator=(v42, v12);\n  v13 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 7u);\n  v14 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v13 + 200LL))(v13);\n  cocos2d::CCPoint::operator=(v43, v14);\n  v15 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 8u);\n  v16 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v15 + 200LL))(v15);\n  cocos2d::CCPoint::operator=(v44, v16);\n  v17 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 1u);\n  v18 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v17 + 200LL))(v17);\n  cocos2d::CCPoint::operator=(v45, v18);\n  v19 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 2u);\n  v20 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v19 + 200LL))(v19);\n  cocos2d::CCPoint::operator=(v46, v20);\n  v21 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 3u);\n  v22 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v21 + 200LL))(v21);\n  cocos2d::CCPoint::operator=(v47, v22);\n  v23 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 4u);\n  v24 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v23 + 200LL))(v23);\n  cocos2d::CCPoint::operator=(v48, v24);\n  cocos2d::CCPoint::operator+(v41, &v37, v44);\n  cocos2d::CCPoint::operator/(v25, &v36);\n  cocos2d::CCPoint::operator=(v49, &v36);\n  cocos2d::CCPoint::CCPoint(a2, v3);\n  v26 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v37 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v37);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v26 = qword_14090BFD0;\n  }\n  v27 = 8.0\n      / (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(v26 + 568) + 4296LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(v26 + 568) + 4296LL));\n  v28 = 0;\n  v29 = (int *)v39;\n  v30 = v41;\n  do\n  {\n    cocos2d::CCNode::convertToWorldSpace(*(_QWORD *)(a1 + 408), &v37, v30);\n    cocos2d::CCNode::convertToNodeSpace(a1, &v36, v31);\n    v33 = cocos2d::ccpDistance(v3, (const struct cocos2d::CCPoint *)&v36, v32);\n    v34 = *v29;\n    if ( *v29 == *(_DWORD *)(a1 + 632) )\n      v33 = v33 / 1.5;\n    if ( v27 > v33 )\n    {\n      v27 = v33;\n      cocos2d::CCPoint::operator=(a2, &v36);\n      v28 = v34;\n    }\n    v30 += 8;\n    ++v29;\n    --v7;\n    v3 = v38;\n  }\n  while ( v7 );\n  *(_DWORD *)(a1 + 632) = v28;\n  return a2;\n}", "assembly": "; \n; GJTransformControl::snapToNearestVertex from 0x1401a8440 to 0x1401a877b (827 bytes)\n; \n; 3 xrefs:\n; > GJTransformControl::ccTouchBegan @ 0x1401a73c7\n; > GJTransformControl::ccTouchMoved @ 0x1401a7594\n; > <???> @ 0x140919c94\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:51 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x1401a8440\nmov     [rax+20h], rbx                                                 ; +0x3, 0x1401a8443\npush    rbp                                                            ; +0x7, 0x1401a8447\npush    rsi                                                            ; +0x8, 0x1401a8448\npush    rdi                                                            ; +0x9, 0x1401a8449\npush    r12                                                            ; +0xa, 0x1401a844a\npush    r13                                                            ; +0xc, 0x1401a844c\npush    r14                                                            ; +0xe, 0x1401a844e\npush    r15                                                            ; +0x10, 0x1401a8450\nlea     rbp, [rax-5Fh]                                                 ; +0x12, 0x1401a8452\nsub     rsp, 0E0h                                                      ; +0x16, 0x1401a8456\nmovaps  xmmword ptr [rax-48h], xmm6                                    ; +0x1d, 0x1401a845d\nmovaps  xmmword ptr [rax-58h], xmm7                                    ; +0x21, 0x1401a8461\nmov     rax, cs:__security_cookie                                      ; +0x25, 0x1401a8465\nxor     rax, rsp                                                       ; +0x2c, 0x1401a846c\nmov     [rbp+57h+var_60], rax                                          ; +0x2f, 0x1401a846f\nmov     r14, r8                                                        ; +0x33, 0x1401a8473\nmov     qword ptr [rsp+110h+var_E0], r8                                ; +0x36, 0x1401a8476\nmov     r13, rdx                                                       ; +0x3b, 0x1401a847b\nmov     rsi, rcx                                                       ; +0x3e, 0x1401a847e\nmovdqa  xmm0, cs:xmmword_140836810                                     ; +0x41, 0x1401a8481\nmovdqu  [rsp+110h+var_E0+8], xmm0                                      ; +0x49, 0x1401a8489\nmovdqa  xmm1, cs:xmmword_1408367C0                                     ; +0x4f, 0x1401a848f\nmovdqu  [rbp+57h+var_C8], xmm1                                         ; +0x57, 0x1401a8497\nmov     [rbp+57h+var_B8], 1                                            ; +0x5c, 0x1401a849c\nlea     rbx, [rbp+57h+var_B0]                                          ; +0x63, 0x1401a84a3\nmov     r15d, 9                                                        ; +0x67, 0x1401a84a7\nmov     edi, r15d                                                      ; +0x6d, 0x1401a84ad\nmov     rcx, rbx                                                       ; +0x70, 0x1401a84b0\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x73, 0x1401a84b3\nadd     rbx, 8                                                         ; +0x79, 0x1401a84b9\nsub     rdi, 1                                                         ; +0x7d, 0x1401a84bd\njnz     short loc_1401A84B0                                            ; +0x81, 0x1401a84c1\nmov     edx, 5                                                         ; +0x83, 0x1401a84c3\nmov     rcx, [rsi+200h]                                                ; +0x88, 0x1401a84c8\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x8f, 0x1401a84cf\nmov     rcx, rax                                                       ; +0x95, 0x1401a84d5\nmov     rax, [rax]                                                     ; +0x98, 0x1401a84d8\ncall    qword ptr [rax+0C8h]                                           ; +0x9b, 0x1401a84db\nmov     rdx, rax                                                       ; +0xa1, 0x1401a84e1\nlea     rcx, [rbp+57h+var_B0]                                          ; +0xa4, 0x1401a84e4\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xa8, 0x1401a84e8\nmov     edx, 6                                                         ; +0xae, 0x1401a84ee\nmov     rcx, [rsi+200h]                                                ; +0xb3, 0x1401a84f3\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xba, 0x1401a84fa\nmov     rcx, rax                                                       ; +0xc0, 0x1401a8500\nmov     rax, [rax]                                                     ; +0xc3, 0x1401a8503\ncall    qword ptr [rax+0C8h]                                           ; +0xc6, 0x1401a8506\nmov     rdx, rax                                                       ; +0xcc, 0x1401a850c\nlea     rcx, [rbp+57h+var_A8]                                          ; +0xcf, 0x1401a850f\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xd3, 0x1401a8513\nmov     edx, 7                                                         ; +0xd9, 0x1401a8519\nmov     rcx, [rsi+200h]                                                ; +0xde, 0x1401a851e\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xe5, 0x1401a8525\nmov     rcx, rax                                                       ; +0xeb, 0x1401a852b\nmov     rax, [rax]                                                     ; +0xee, 0x1401a852e\ncall    qword ptr [rax+0C8h]                                           ; +0xf1, 0x1401a8531\nmov     rdx, rax                                                       ; +0xf7, 0x1401a8537\nlea     rcx, [rbp+57h+var_A0]                                          ; +0xfa, 0x1401a853a\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xfe, 0x1401a853e\nmov     edx, 8                                                         ; +0x104, 0x1401a8544\nmov     rcx, [rsi+200h]                                                ; +0x109, 0x1401a8549\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x110, 0x1401a8550\nmov     rcx, rax                                                       ; +0x116, 0x1401a8556\nmov     rax, [rax]                                                     ; +0x119, 0x1401a8559\ncall    qword ptr [rax+0C8h]                                           ; +0x11c, 0x1401a855c\nmov     rdx, rax                                                       ; +0x122, 0x1401a8562\nlea     rcx, [rbp+57h+var_98]                                          ; +0x125, 0x1401a8565\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x129, 0x1401a8569\nmov     edx, 1                                                         ; +0x12f, 0x1401a856f\nmov     rcx, [rsi+200h]                                                ; +0x134, 0x1401a8574\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x13b, 0x1401a857b\nmov     rcx, rax                                                       ; +0x141, 0x1401a8581\nmov     rax, [rax]                                                     ; +0x144, 0x1401a8584\ncall    qword ptr [rax+0C8h]                                           ; +0x147, 0x1401a8587\nmov     rdx, rax                                                       ; +0x14d, 0x1401a858d\nlea     rcx, [rbp+57h+var_90]                                          ; +0x150, 0x1401a8590\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x154, 0x1401a8594\nmov     edx, 2                                                         ; +0x15a, 0x1401a859a\nmov     rcx, [rsi+200h]                                                ; +0x15f, 0x1401a859f\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x166, 0x1401a85a6\nmov     rcx, rax                                                       ; +0x16c, 0x1401a85ac\nmov     rax, [rax]                                                     ; +0x16f, 0x1401a85af\ncall    qword ptr [rax+0C8h]                                           ; +0x172, 0x1401a85b2\nmov     rdx, rax                                                       ; +0x178, 0x1401a85b8\nlea     rcx, [rbp+57h+var_88]                                          ; +0x17b, 0x1401a85bb\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x17f, 0x1401a85bf\nmov     edx, 3                                                         ; +0x185, 0x1401a85c5\nmov     rcx, [rsi+200h]                                                ; +0x18a, 0x1401a85ca\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x191, 0x1401a85d1\nmov     rcx, rax                                                       ; +0x197, 0x1401a85d7\nmov     rax, [rax]                                                     ; +0x19a, 0x1401a85da\ncall    qword ptr [rax+0C8h]                                           ; +0x19d, 0x1401a85dd\nmov     rdx, rax                                                       ; +0x1a3, 0x1401a85e3\nlea     rcx, [rbp+57h+var_80]                                          ; +0x1a6, 0x1401a85e6\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1aa, 0x1401a85ea\nmov     edx, 4                                                         ; +0x1b0, 0x1401a85f0\nmov     rcx, [rsi+200h]                                                ; +0x1b5, 0x1401a85f5\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1bc, 0x1401a85fc\nmov     rcx, rax                                                       ; +0x1c2, 0x1401a8602\nmov     rax, [rax]                                                     ; +0x1c5, 0x1401a8605\ncall    qword ptr [rax+0C8h]                                           ; +0x1c8, 0x1401a8608\nmov     rdx, rax                                                       ; +0x1ce, 0x1401a860e\nlea     rcx, [rbp+57h+var_78]                                          ; +0x1d1, 0x1401a8611\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1d5, 0x1401a8615\nlea     r8, [rbp+57h+var_98]                                           ; +0x1db, 0x1401a861b\nlea     rdx, [rsp+110h+var_E8]                                         ; +0x1df, 0x1401a861f\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x1e4, 0x1401a8624\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1e8, 0x1401a8628\nmov     rcx, rax                                                       ; +0x1ee, 0x1401a862e\nmovss   xmm2, cs:width                                                 ; +0x1f1, 0x1401a8631\nlea     rdx, [rsp+110h+var_F0]                                         ; +0x1f9, 0x1401a8639\ncall    cs:??KCCPoint@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCPoint::operator/(float) ; +0x1fe, 0x1401a863e\nlea     rdx, [rsp+110h+var_F0]                                         ; +0x204, 0x1401a8644\nlea     rcx, [rbp+57h+var_70]                                          ; +0x209, 0x1401a8649\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x20d, 0x1401a864d\nmov     rdx, r14                                                       ; +0x213, 0x1401a8653\nmov     rcx, r13                                                       ; +0x216, 0x1401a8656\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x219, 0x1401a8659\nmov     rax, cs:qword_14090BFD0                                        ; +0x21f, 0x1401a865f\ntest    rax, rax                                                       ; +0x226, 0x1401a8666\njnz     short loc_1401A8699                                            ; +0x229, 0x1401a8669\nmov     ecx, 6E8h; Size                                                ; +0x22b, 0x1401a866b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x230, 0x1401a8670\nmov     [rsp+110h+var_E8], rax                                         ; +0x235, 0x1401a8675\nmov     rcx, rax                                                       ; +0x23a, 0x1401a867a\ncall    GameManager__GameManager                                       ; +0x23d, 0x1401a867d\nmov     rcx, rax                                                       ; +0x242, 0x1401a8682\nmov     cs:qword_14090BFD0, rax                                        ; +0x245, 0x1401a8685\nmov     rax, [rax]                                                     ; +0x24c, 0x1401a868c\ncall    qword ptr [rax+48h]                                            ; +0x24f, 0x1401a868f\nmov     rax, cs:qword_14090BFD0                                        ; +0x252, 0x1401a8692\nmov     rax, [rax+238h]                                                ; +0x259, 0x1401a8699\nmov     rcx, [rax+10C8h]                                               ; +0x260, 0x1401a86a0\nmov     rax, [rcx]                                                     ; +0x267, 0x1401a86a7\ncall    qword ptr [rax+0A8h]                                           ; +0x26a, 0x1401a86aa\nmovss   xmm6, cs:dword_1408354D4                                       ; +0x270, 0x1401a86b0\ndivss   xmm6, xmm0                                                     ; +0x278, 0x1401a86b8\nxor     r12d, r12d                                                     ; +0x27c, 0x1401a86bc\nlea     rbx, [rsp+110h+var_E0+8]                                       ; +0x27f, 0x1401a86bf\nlea     rdi, [rbp+57h+var_B0]                                          ; +0x284, 0x1401a86c4\nmovss   xmm7, cs:dword_140835164                                       ; +0x288, 0x1401a86c8\nmov     r8, rdi                                                        ; +0x290, 0x1401a86d0\nlea     rdx, [rsp+110h+var_E8]                                         ; +0x293, 0x1401a86d3\nmov     rcx, [rsi+198h]                                                ; +0x298, 0x1401a86d8\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x29f, 0x1401a86df\nmov     r8, rax                                                        ; +0x2a5, 0x1401a86e5\nlea     rdx, [rsp+110h+var_F0]                                         ; +0x2a8, 0x1401a86e8\nmov     rcx, rsi                                                       ; +0x2ad, 0x1401a86ed\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x2b0, 0x1401a86f0\nlea     rdx, [rsp+110h+var_F0]                                         ; +0x2b6, 0x1401a86f6\nmov     rcx, r14                                                       ; +0x2bb, 0x1401a86fb\ncall    cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x2be, 0x1401a86fe\nmov     r14d, [rbx]                                                    ; +0x2c4, 0x1401a8704\ncmp     r14d, [rsi+278h]                                               ; +0x2c7, 0x1401a8707\njnz     short loc_1401A8714                                            ; +0x2ce, 0x1401a870e\ndivss   xmm0, xmm7                                                     ; +0x2d0, 0x1401a8710\ncomiss  xmm6, xmm0                                                     ; +0x2d4, 0x1401a8714\njbe     short loc_1401A872D                                            ; +0x2d7, 0x1401a8717\nmovaps  xmm6, xmm0                                                     ; +0x2d9, 0x1401a8719\nlea     rdx, [rsp+110h+var_F0]                                         ; +0x2dc, 0x1401a871c\nmov     rcx, r13                                                       ; +0x2e1, 0x1401a8721\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x2e4, 0x1401a8724\nmov     r12d, r14d                                                     ; +0x2ea, 0x1401a872a\nadd     rdi, 8                                                         ; +0x2ed, 0x1401a872d\nadd     rbx, 4                                                         ; +0x2f1, 0x1401a8731\nsub     r15, 1                                                         ; +0x2f5, 0x1401a8735\nmov     r14, qword ptr [rsp+110h+var_E0]                               ; +0x2f9, 0x1401a8739\njnz     short loc_1401A86D0                                            ; +0x2fe, 0x1401a873e\nmov     [rsi+278h], r12d                                               ; +0x300, 0x1401a8740\nmov     rax, r13                                                       ; +0x307, 0x1401a8747\nmov     rcx, [rbp+57h+var_60]                                          ; +0x30a, 0x1401a874a\nxor     rcx, rsp; StackCookie                                          ; +0x30e, 0x1401a874e\ncall    __security_check_cookie                                        ; +0x311, 0x1401a8751\nlea     r11, [rsp+110h+var_30]                                         ; +0x316, 0x1401a8756\nmov     rbx, [r11+58h]                                                 ; +0x31e, 0x1401a875e\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x322, 0x1401a8762\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x327, 0x1401a8767\nmov     rsp, r11                                                       ; +0x32c, 0x1401a876c\npop     r15                                                            ; +0x32f, 0x1401a876f\npop     r14                                                            ; +0x331, 0x1401a8771\npop     r13                                                            ; +0x333, 0x1401a8773\npop     r12                                                            ; +0x335, 0x1401a8775\npop     rdi                                                            ; +0x337, 0x1401a8777\npop     rsi                                                            ; +0x338, 0x1401a8778\npop     rbp                                                            ; +0x339, 0x1401a8779\nretn                                                                   ; +0x33a, 0x1401a877a", "xrefs": ["GJTransformControl::ccTouchBegan @ 0x1401a73c7", "GJTransformControl::ccTouchMoved @ 0x1401a7594", "<???> @ 0x140919c94"], "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"}