{"type": "func", "start": 5373327056, "end": 5373328690, "name": "LevelTools::posForTimeInternal", "pseudocode": "// \n// LevelTools::posForTimeInternal from 0x1404676d0 to 0x140467d32 (1634 bytes)\n// \n// 10 xrefs:\n// > LevelEditorLayer::posForTime @ 0x1403fd223\n// > DrawGridLayer::loadTimeMarkers @ 0x14040a5b5\n// > DrawGridLayer::update @ 0x14040a7c2\n// > DrawGridLayer::draw @ 0x14040b9e2\n// > DrawGridLayer::draw @ 0x14040c141\n// > PlayLayer::posForTime @ 0x14051204d\n// > <???> @ 0x1408cda94\n// > <???> @ 0x1408cdaa4\n// > <???> @ 0x1408cdae0\n// > <???> @ 0x140927eb4\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:32:35 +0000\n// \n\ncocos2d::CCPoint *__fastcall LevelTools::posForTimeInternal(\n        cocos2d::CCPoint *a1,\n        float a2,\n        cocos2d::CCArray *a3,\n        int a4,\n        char a5,\n        char a6,\n        char a7,\n        _DWORD *a8)\n{\n  char v8; // di\n  int v12; // r9d\n  int v13; // r9d\n  int v14; // r9d\n  float v15; // xmm6_4\n  float v16; // xmm13_4\n  float v17; // xmm14_4\n  _DWORD *v18; // r12\n  unsigned int *v19; // rax\n  __int64 v20; // rcx\n  __int64 *v21; // r14\n  __int64 *v22; // r13\n  float v23; // xmm0_4\n  float v24; // xmm1_4\n  __int64 v25; // rbx\n  float v26; // xmm7_4\n  float v27; // xmm9_4\n  float v28; // xmm10_4\n  float v29; // xmm9_4\n  int v30; // esi\n  float v31; // xmm10_4\n  float v32; // xmm0_4\n  float v33; // xmm8_4\n  float v34; // xmm8_4\n  int v35; // ecx\n  int v36; // ecx\n  int v37; // ecx\n  int v38; // ecx\n  int v39; // xmm0_4\n  int v40; // eax\n  bool v41; // al\n  int v42; // eax\n  float v43; // xmm1_4\n  float v44; // xmm0_4\n  float v45; // xmm12_4\n  __int64 v46; // rax\n  const struct cocos2d::CCPoint *v47; // rdx\n  float v49; // xmm12_4\n  __int64 v50; // rax\n  float v51; // [rsp+20h] [rbp-E0h] BYREF\n  float v52; // [rsp+24h] [rbp-DCh]\n  float v53; // [rsp+28h] [rbp-D8h] BYREF\n  _BYTE v54[8]; // [rsp+30h] [rbp-D0h] BYREF\n  _BYTE v55[8]; // [rsp+38h] [rbp-C8h] BYREF\n  float v56; // [rsp+40h] [rbp-C0h] BYREF\n  _BYTE v57[4]; // [rsp+48h] [rbp-B8h] BYREF\n  float v58; // [rsp+4Ch] [rbp-B4h]\n  _BYTE v59[4]; // [rsp+50h] [rbp-B0h] BYREF\n  float v60; // [rsp+54h] [rbp-ACh]\n  _BYTE v61[8]; // [rsp+58h] [rbp-A8h] BYREF\n  _BYTE v62[16]; // [rsp+60h] [rbp-A0h] BYREF\n  float v63; // [rsp+150h] [rbp+50h] BYREF\n  float v64; // [rsp+154h] [rbp+54h]\n\n  v8 = a5;\n  if ( a5 )\n    goto LABEL_10;\n  v12 = a4 - 1;\n  if ( !v12 )\n  {\n    v15 = 251.16008;\n    goto LABEL_11;\n  }\n  v13 = v12 - 1;\n  if ( !v13 )\n  {\n    v15 = 387.42014;\n    goto LABEL_11;\n  }\n  v14 = v13 - 1;\n  if ( !v14 )\n  {\n    v15 = 468.00015;\n    goto LABEL_11;\n  }\n  if ( v14 != 1 )\n  {\nLABEL_10:\n    v15 = 311.58011;\n    goto LABEL_11;\n  }\n  v15 = 576.00018;\nLABEL_11:\n  if ( a3 && cocos2d::CCArray::count(a3) && !v8 )\n  {\n    v16 = 0.0;\n    v17 = 1.0;\n    dword_1408FE4F8 = 1065353216;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v63, (const struct cocos2d::CCPoint *)&unk_14090B178);\n    v18 = a8;\n    byte_14090BD0C = 0;\n    byte_1409097DF = 0;\n    *a8 = 0;\n    v19 = *((unsigned int **)a3 + 7);\n    v20 = *v19;\n    if ( (_DWORD)v20 )\n    {\n      v21 = *((__int64 **)v19 + 2);\n      v22 = &v21[v20 - 1];\n      if ( v21 <= v22 )\n      {\n        v23 = v64;\n        v24 = v63;\n        while ( 1 )\n        {\n          v25 = *v21;\n          if ( !*v21 )\n            goto LABEL_91;\n          v26 = v17 * v15;\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v53, (const struct cocos2d::CCPoint *)(v25 + 1800));\n          if ( v53 >= 0.0 )\n          {\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v56, (const struct cocos2d::CCPoint *)(v25 + 1800));\n            v27 = v56;\n          }\n          else\n          {\n            v27 = 0.0;\n          }\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v57, (const struct cocos2d::CCPoint *)(v25 + 1800));\n          if ( v58 >= 0.0 )\n          {\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v59, (const struct cocos2d::CCPoint *)(v25 + 1800));\n            v28 = v60;\n          }\n          else\n          {\n            v28 = 0.0;\n          }\n          v29 = v27 - v63;\n          v30 = (unsigned __int8)byte_1409097DF;\n          v31 = v28 - v64;\n          if ( byte_14090BD0C )\n          {\n            if ( !byte_1409097DF )\n            {\n              v29 = fminf(0.0, v29);\n              goto LABEL_32;\n            }\n            v32 = fmaxf(0.0, v31);\n          }\n          else\n          {\n            if ( !byte_1409097DF )\n            {\n              v29 = fmaxf(0.0, v29);\n              goto LABEL_32;\n            }\n            v32 = fminf(0.0, v31);\n          }\n          v31 = v32;\nLABEL_32:\n          if ( *(_DWORD *)(v25 + 1792) != *v18 )\n          {\n            v31 = 0.0;\n            v29 = 0.0;\n          }\n          if ( byte_1409097DF )\n            v33 = v31;\n          else\n            v33 = v29;\n          v34 = (float)(fabs(v33) / v26) + v16;\n          if ( v34 >= a2 )\n          {\n            v45 = (float)(a2 - v16) * v26;\n            if ( byte_1409097DF != byte_14090BD0C )\n              v45 = v45 * -1.0;\n            if ( byte_1409097DF )\n              v64 = v64 + v45;\n            else\n              v63 = v63 + v45;\n            if ( a6 )\n            {\n              if ( byte_1409097DF )\n                v63 = 0.0;\n              else\n                v64 = 0.0;\n            }\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v53);\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v54, v63, v64);\n            cocos2d::CCPoint::operator=(&v53, v46);\n            v47 = (const struct cocos2d::CCPoint *)&v53;\n            goto LABEL_88;\n          }\n          cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v51, (const struct cocos2d::CCPoint *)&unk_14090B178);\n          v35 = *(__int16 *)(v25 + 1798);\n          if ( v35 == -5 )\n          {\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v61, (const struct cocos2d::CCPoint *)(v25 + 1800));\n            cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v62, (const struct cocos2d::CCPoint *)(v25 + 1916));\n            cocos2d::CCPoint::operator-(v62, v54, v61);\n            cocos2d::CCPoint::operator=(&v51, v54);\n            if ( *(_BYTE *)(v25 + 1905) )\n              v51 = 0.0;\n            if ( *(_BYTE *)(v25 + 1906) )\n              v52 = 0.0;\n          }\n          else if ( v35 == -4 )\n          {\n            if ( !*(_BYTE *)(v25 + 1877) )\n            {\n              v40 = *(_DWORD *)(v25 + 1856);\n              v41 = v40 == 3 || v40 == 4;\n              byte_1409097DF = v41;\n              v42 = *(_DWORD *)(v25 + 1860);\n              if ( v42 == 1 || (byte_14090BD0C = 0, v42 == 3) )\n                byte_14090BD0C = 1;\n            }\n            if ( *(_BYTE *)(v25 + 1876) )\n            {\n              *v18 = *(_DWORD *)(v25 + 1880);\n              *(_BYTE *)(v25 + 1850) = 1;\n            }\n          }\n          else if ( v35 != -3 )\n          {\n            if ( v35 == -2 )\n            {\n              v39 = *(int *)(v25 + 1780);\n              dword_1408FE4F8 = v39;\n              if ( !a7 )\n                v17 = *(float *)&v39;\n            }\n            else if ( v35 == -1 )\n            {\n              byte_14090BD0C = byte_14090BD0C == 0;\n            }\n            else\n            {\n              v36 = v35 - 1;\n              if ( v36 )\n              {\n                v37 = v36 - 1;\n                if ( v37 )\n                {\n                  v38 = v37 - 1;\n                  if ( v38 )\n                  {\n                    if ( v38 == 1 )\n                      v15 = 576.00018;\n                    else\n                      v15 = 311.58011;\n                  }\n                  else\n                  {\n                    v15 = 468.00015;\n                  }\n                }\n                else\n                {\n                  v15 = 387.42014;\n                }\n              }\n              else\n              {\n                v15 = 251.16008;\n              }\n            }\n          }\n          v16 = v34;\n          if ( (_BYTE)v30 && v30 == (unsigned __int8)byte_1409097DF )\n          {\n            v43 = v63;\n          }\n          else\n          {\n            v43 = v63 + v29;\n            if ( !(_BYTE)v30 && !byte_1409097DF )\n            {\n              v44 = v64;\n              goto LABEL_73;\n            }\n          }\n          v44 = v64 + v31;\nLABEL_73:\n          v24 = v43 + v51;\n          v23 = v44 + v52;\n          ++v21;\n          v63 = v24;\n          v64 = v23;\n          if ( v21 > v22 )\n            goto LABEL_91;\n        }\n      }\n    }\n    v23 = v64;\n    v24 = v63;\nLABEL_91:\n    v49 = (float)((float)(a2 - v16) * v15) * v17;\n    if ( byte_1409097DF != byte_14090BD0C )\n      v49 = v49 * -1.0;\n    if ( byte_1409097DF )\n      v64 = v23 + v49;\n    else\n      v63 = v24 + v49;\n    if ( a6 )\n    {\n      if ( byte_1409097DF )\n        v63 = 0.0;\n      else\n        v64 = 0.0;\n    }\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v54, v63, v64);\n    cocos2d::CCPoint::operator=(v55, v50);\n    v47 = (const struct cocos2d::CCPoint *)v55;\nLABEL_88:\n    cocos2d::CCPoint::CCPoint(a1, v47);\n  }\n  else\n  {\n    cocos2d::CCPoint::CCPoint(a1, v15 * a2, 0.0);\n  }\n  return a1;\n}", "assembly": "; \n; LevelTools::posForTimeInternal from 0x1404676d0 to 0x140467d32 (1634 bytes)\n; \n; 10 xrefs:\n; > LevelEditorLayer::posForTime @ 0x1403fd223\n; > DrawGridLayer::loadTimeMarkers @ 0x14040a5b5\n; > DrawGridLayer::update @ 0x14040a7c2\n; > DrawGridLayer::draw @ 0x14040b9e2\n; > DrawGridLayer::draw @ 0x14040c141\n; > PlayLayer::posForTime @ 0x14051204d\n; > <???> @ 0x1408cda94\n; > <???> @ 0x1408cdaa4\n; > <???> @ 0x1408cdae0\n; > <???> @ 0x140927eb4\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:32:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x1404676d0\npush    rbx                                                            ; +0x2, 0x1404676d2\npush    rdi                                                            ; +0x3, 0x1404676d3\npush    r15                                                            ; +0x4, 0x1404676d4\nlea     rbp, [rsp-18h]                                                 ; +0x6, 0x1404676d6\nsub     rsp, 118h                                                      ; +0xb, 0x1404676db\nmovzx   edi, [rbp+30h+arg_20]                                          ; +0x12, 0x1404676e2\nmov     rbx, r8                                                        ; +0x16, 0x1404676e6\nmovaps  [rsp+130h+var_30], xmm6                                        ; +0x19, 0x1404676e9\nmov     r15, rcx                                                       ; +0x21, 0x1404676f1\nmovaps  [rsp+130h+var_90], xmm12                                       ; +0x24, 0x1404676f4\nmovaps  xmm12, xmm1                                                    ; +0x2d, 0x1404676fd\nmovaps  [rsp+130h+var_C0], xmm15                                       ; +0x31, 0x140467701\nmovss   xmm15, cs:dword_1408359B0                                      ; +0x37, 0x140467707\ntest    dil, dil                                                       ; +0x40, 0x140467710\njnz     short loc_140467755                                            ; +0x43, 0x140467713\nsub     r9d, 1                                                         ; +0x45, 0x140467715\njz      short loc_14046774B                                            ; +0x49, 0x140467719\nsub     r9d, 1                                                         ; +0x4b, 0x14046771b\njz      short loc_140467741                                            ; +0x4f, 0x14046771f\nsub     r9d, 1                                                         ; +0x51, 0x140467721\njz      short loc_140467737                                            ; +0x55, 0x140467725\ncmp     r9d, 1                                                         ; +0x57, 0x140467727\njnz     short loc_140467755                                            ; +0x5b, 0x14046772b\nmovss   xmm6, cs:dword_140835A64                                       ; +0x5d, 0x14046772d\njmp     short loc_140467759                                            ; +0x65, 0x140467735\nmovss   xmm6, cs:dword_140835A4C                                       ; +0x67, 0x140467737\njmp     short loc_140467759                                            ; +0x6f, 0x14046773f\nmovss   xmm6, cs:dword_140835A0C                                       ; +0x71, 0x140467741\njmp     short loc_140467759                                            ; +0x79, 0x140467749\nmovss   xmm6, cs:dword_140835960                                       ; +0x7b, 0x14046774b\njmp     short loc_140467759                                            ; +0x83, 0x140467753\nmovaps  xmm6, xmm15                                                    ; +0x85, 0x140467755\ntest    rbx, rbx                                                       ; +0x89, 0x140467759\njz      loc_140467D19                                                  ; +0x8c, 0x14046775c\nmov     rcx, rbx                                                       ; +0x92, 0x140467762\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x95, 0x140467765\ntest    eax, eax                                                       ; +0x9b, 0x14046776b\njz      loc_140467D19                                                  ; +0x9d, 0x14046776d\ntest    dil, dil                                                       ; +0xa3, 0x140467773\njnz     loc_140467D19                                                  ; +0xa6, 0x140467776\nmov     [rsp+130h+arg_8], r12                                          ; +0xac, 0x14046777c\nlea     rdx, unk_14090B178                                             ; +0xb4, 0x140467784\nmovaps  [rsp+130h+var_80], xmm11                                       ; +0xbb, 0x14046778b\nlea     rcx, [rbp+30h+arg_10]                                          ; +0xc4, 0x140467794\nmovaps  [rsp+130h+var_A0], xmm13                                       ; +0xc8, 0x140467798\nxorps   xmm11, xmm11                                                   ; +0xd1, 0x1404677a1\nmovaps  [rsp+130h+var_B0], xmm14                                       ; +0xd5, 0x1404677a5\nxorps   xmm13, xmm13                                                   ; +0xde, 0x1404677ae\nmovss   xmm14, cs:flt_140835080                                        ; +0xe2, 0x1404677b2\nmov     [rsp+130h+arg_0], rsi                                          ; +0xeb, 0x1404677bb\nmov     [rsp+130h+arg_18], r13                                         ; +0xf3, 0x1404677c3\nmov     [rsp+130h+var_20], r14                                         ; +0xfb, 0x1404677cb\nmovaps  [rsp+130h+var_40], xmm7                                        ; +0x103, 0x1404677d3\nmovaps  [rsp+130h+var_50], xmm8                                        ; +0x10b, 0x1404677db\nmovaps  [rsp+130h+var_60], xmm9                                        ; +0x114, 0x1404677e4\nmovaps  [rsp+130h+var_70], xmm10                                       ; +0x11d, 0x1404677ed\nmov     cs:dword_1408FE4F8, 3F800000h                                  ; +0x126, 0x1404677f6\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x130, 0x140467800\nmov     r12, [rbp+30h+arg_38]                                          ; +0x136, 0x140467806\nmov     cs:byte_14090BD0C, dil                                         ; +0x13a, 0x14046780a\nmov     cs:byte_1409097DF, dil                                         ; +0x141, 0x140467811\nmov     dword ptr [r12], 0                                             ; +0x148, 0x140467818\nmov     rax, [rbx+38h]                                                 ; +0x150, 0x140467820\nmov     ecx, [rax]                                                     ; +0x154, 0x140467824\ntest    ecx, ecx                                                       ; +0x156, 0x140467826\njz      loc_140467C72                                                  ; +0x158, 0x140467828\nmov     r14, [rax+10h]                                                 ; +0x15e, 0x14046782e\nlea     r13, [rcx-1]                                                   ; +0x162, 0x140467832\nlea     r13, [r14+r13*8]                                               ; +0x166, 0x140467836\ncmp     r14, r13                                                       ; +0x16a, 0x14046783a\nja      loc_140467C72                                                  ; +0x16d, 0x14046783d\nmovss   xmm0, [rbp+30h+arg_14]                                         ; +0x173, 0x140467843\nmovss   xmm1, [rbp+30h+arg_10]                                         ; +0x178, 0x140467848\nnop     dword ptr [rax]                                                ; +0x17d, 0x14046784d\nmov     rbx, [r14]                                                     ; +0x180, 0x140467850\ntest    rbx, rbx                                                       ; +0x183, 0x140467853\njz      loc_140467C7C                                                  ; +0x186, 0x140467856\nmovaps  xmm7, xmm14                                                    ; +0x18c, 0x14046785c\nlea     rdx, [rbx+708h]                                                ; +0x190, 0x140467860\nlea     rcx, [rsp+130h+var_108]                                        ; +0x197, 0x140467867\nmulss   xmm7, xmm6                                                     ; +0x19c, 0x14046786c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1a0, 0x140467870\ncomiss  xmm11, [rsp+130h+var_108]                                      ; +0x1a6, 0x140467876\njbe     short loc_140467884                                            ; +0x1ac, 0x14046787c\nmovaps  xmm9, xmm11                                                    ; +0x1ae, 0x14046787e\njmp     short loc_14046789D                                            ; +0x1b2, 0x140467882\nlea     rdx, [rbx+708h]                                                ; +0x1b4, 0x140467884\nlea     rcx, [rsp+130h+var_F0]                                         ; +0x1bb, 0x14046788b\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1c0, 0x140467890\nmovss   xmm9, [rsp+130h+var_F0]                                        ; +0x1c6, 0x140467896\nlea     rdx, [rbx+708h]                                                ; +0x1cd, 0x14046789d\nlea     rcx, [rsp+130h+var_E8]                                         ; +0x1d4, 0x1404678a4\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1d9, 0x1404678a9\ncomiss  xmm11, [rsp+130h+var_E4]                                       ; +0x1df, 0x1404678af\njbe     short loc_1404678BD                                            ; +0x1e5, 0x1404678b5\nmovaps  xmm10, xmm11                                                   ; +0x1e7, 0x1404678b7\njmp     short loc_1404678D6                                            ; +0x1eb, 0x1404678bb\nlea     rdx, [rbx+708h]                                                ; +0x1ed, 0x1404678bd\nlea     rcx, [rsp+130h+var_E0]                                         ; +0x1f4, 0x1404678c4\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1f9, 0x1404678c9\nmovss   xmm10, [rsp+130h+var_DC]                                       ; +0x1ff, 0x1404678cf\nmovzx   ecx, cs:byte_14090BD0C                                         ; +0x206, 0x1404678d6\nmovaps  xmm0, xmm11                                                    ; +0x20d, 0x1404678dd\nmovss   xmm1, [rbp+30h+arg_10]                                         ; +0x211, 0x1404678e1\nmovss   xmm2, [rbp+30h+arg_14]                                         ; +0x216, 0x1404678e6\nsubss   xmm9, xmm1                                                     ; +0x21b, 0x1404678eb\nmovzx   esi, cs:byte_1409097DF                                         ; +0x220, 0x1404678f0\nsubss   xmm10, xmm2                                                    ; +0x227, 0x1404678f7\ntest    cl, cl                                                         ; +0x22c, 0x1404678fc\njnz     short loc_140467917                                            ; +0x22e, 0x1404678fe\ntest    sil, sil                                                       ; +0x230, 0x140467900\njnz     short loc_140467910                                            ; +0x233, 0x140467903\nmaxss   xmm0, xmm9                                                     ; +0x235, 0x140467905\nmovaps  xmm9, xmm0                                                     ; +0x23a, 0x14046790a\njmp     short loc_140467930                                            ; +0x23e, 0x14046790e\nminss   xmm0, xmm10                                                    ; +0x240, 0x140467910\njmp     short loc_14046792C                                            ; +0x245, 0x140467915\ntest    sil, sil                                                       ; +0x247, 0x140467917\njnz     short loc_140467927                                            ; +0x24a, 0x14046791a\nminss   xmm0, xmm9                                                     ; +0x24c, 0x14046791c\nmovaps  xmm9, xmm0                                                     ; +0x251, 0x140467921\njmp     short loc_140467930                                            ; +0x255, 0x140467925\nmaxss   xmm0, xmm10                                                    ; +0x257, 0x140467927\nmovaps  xmm10, xmm0                                                    ; +0x25c, 0x14046792c\nmov     eax, [r12]                                                     ; +0x260, 0x140467930\ncmp     [rbx+700h], eax                                                ; +0x264, 0x140467934\njz      short loc_140467944                                            ; +0x26a, 0x14046793a\nmovaps  xmm10, xmm11                                                   ; +0x26c, 0x14046793c\nmovaps  xmm9, xmm11                                                    ; +0x270, 0x140467940\ntest    sil, sil                                                       ; +0x274, 0x140467944\njnz     short loc_14046794F                                            ; +0x277, 0x140467947\nmovaps  xmm8, xmm9                                                     ; +0x279, 0x140467949\njmp     short loc_140467953                                            ; +0x27d, 0x14046794d\nmovaps  xmm8, xmm10                                                    ; +0x27f, 0x14046794f\nandps   xmm8, cs:xmmword_140836C90                                     ; +0x283, 0x140467953\ndivss   xmm8, xmm7                                                     ; +0x28b, 0x14046795b\naddss   xmm8, xmm13                                                    ; +0x290, 0x140467960\ncomiss  xmm8, xmm12                                                    ; +0x295, 0x140467965\njnb     loc_140467B63                                                  ; +0x299, 0x140467969\nlea     rdx, unk_14090B178                                             ; +0x29f, 0x14046796f\nlea     rcx, [rsp+130h+var_110]                                        ; +0x2a6, 0x140467976\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x2ab, 0x14046797b\nmovsx   ecx, word ptr [rbx+706h]                                       ; +0x2b1, 0x140467981\ncmp     ecx, 0FFFFFFFBh                                                ; +0x2b8, 0x140467988\njz      loc_140467A93                                                  ; +0x2bb, 0x14046798b\ncmp     ecx, 0FFFFFFFCh                                                ; +0x2c1, 0x140467991\njz      loc_140467A34                                                  ; +0x2c4, 0x140467994\ncmp     ecx, 0FFFFFFFDh                                                ; +0x2ca, 0x14046799a\njz      loc_140467AFE                                                  ; +0x2cd, 0x14046799d\ncmp     ecx, 0FFFFFFFEh                                                ; +0x2d3, 0x1404679a3\njz      short loc_140467A11                                            ; +0x2d6, 0x1404679a6\ncmp     ecx, 0FFFFFFFFh                                                ; +0x2d8, 0x1404679a8\njz      short loc_1404679FE                                            ; +0x2db, 0x1404679ab\nsub     ecx, 1                                                         ; +0x2dd, 0x1404679ad\njz      short loc_1404679F1                                            ; +0x2e0, 0x1404679b0\nsub     ecx, 1                                                         ; +0x2e2, 0x1404679b2\njz      short loc_1404679E4                                            ; +0x2e5, 0x1404679b5\nsub     ecx, 1                                                         ; +0x2e7, 0x1404679b7\njz      short loc_1404679D7                                            ; +0x2ea, 0x1404679ba\ncmp     ecx, 1                                                         ; +0x2ec, 0x1404679bc\njz      short loc_1404679CA                                            ; +0x2ef, 0x1404679bf\nmovaps  xmm6, xmm15                                                    ; +0x2f1, 0x1404679c1\njmp     loc_140467AFE                                                  ; +0x2f5, 0x1404679c5\nmovss   xmm6, cs:dword_140835A64                                       ; +0x2fa, 0x1404679ca\njmp     loc_140467AFE                                                  ; +0x302, 0x1404679d2\nmovss   xmm6, cs:dword_140835A4C                                       ; +0x307, 0x1404679d7\njmp     loc_140467AFE                                                  ; +0x30f, 0x1404679df\nmovss   xmm6, cs:dword_140835A0C                                       ; +0x314, 0x1404679e4\njmp     loc_140467AFE                                                  ; +0x31c, 0x1404679ec\nmovss   xmm6, cs:dword_140835960                                       ; +0x321, 0x1404679f1\njmp     loc_140467AFE                                                  ; +0x329, 0x1404679f9\ncmp     cs:byte_14090BD0C, 0                                           ; +0x32e, 0x1404679fe\nsetz    cs:byte_14090BD0C                                              ; +0x335, 0x140467a05\njmp     loc_140467AFE                                                  ; +0x33c, 0x140467a0c\ncmp     [rbp+30h+arg_30], 0                                            ; +0x341, 0x140467a11\nmovss   xmm0, dword ptr [rbx+6F4h]                                     ; +0x345, 0x140467a15\nmovss   cs:dword_1408FE4F8, xmm0                                       ; +0x34d, 0x140467a1d\njnz     loc_140467AFE                                                  ; +0x355, 0x140467a25\nmovaps  xmm14, xmm0                                                    ; +0x35b, 0x140467a2b\njmp     loc_140467AFE                                                  ; +0x35f, 0x140467a2f\ncmp     byte ptr [rbx+755h], 0                                         ; +0x364, 0x140467a34\njnz     short loc_140467A77                                            ; +0x36b, 0x140467a3b\nmov     eax, [rbx+740h]                                                ; +0x36d, 0x140467a3d\ncmp     eax, 3                                                         ; +0x373, 0x140467a43\njz      short loc_140467A51                                            ; +0x376, 0x140467a46\ncmp     eax, 4                                                         ; +0x378, 0x140467a48\njz      short loc_140467A51                                            ; +0x37b, 0x140467a4b\nxor     al, al                                                         ; +0x37d, 0x140467a4d\njmp     short loc_140467A53                                            ; +0x37f, 0x140467a4f\nmov     al, 1                                                          ; +0x381, 0x140467a51\nmov     cs:byte_1409097DF, al                                          ; +0x383, 0x140467a53\nmov     eax, [rbx+744h]                                                ; +0x389, 0x140467a59\ncmp     eax, 1                                                         ; +0x38f, 0x140467a5f\njz      short loc_140467A70                                            ; +0x392, 0x140467a62\nmov     cs:byte_14090BD0C, 0                                           ; +0x394, 0x140467a64\ncmp     eax, 3                                                         ; +0x39b, 0x140467a6b\njnz     short loc_140467A77                                            ; +0x39e, 0x140467a6e\nmov     cs:byte_14090BD0C, 1                                           ; +0x3a0, 0x140467a70\ncmp     byte ptr [rbx+754h], 0                                         ; +0x3a7, 0x140467a77\njz      short loc_140467AFE                                            ; +0x3ae, 0x140467a7e\nmov     eax, [rbx+758h]                                                ; +0x3b0, 0x140467a80\nmov     [r12], eax                                                     ; +0x3b6, 0x140467a86\nmov     byte ptr [rbx+73Ah], 1                                         ; +0x3ba, 0x140467a8a\njmp     short loc_140467AFE                                            ; +0x3c1, 0x140467a91\nlea     rdx, [rbx+708h]                                                ; +0x3c3, 0x140467a93\nlea     rcx, [rsp+130h+var_D8]                                         ; +0x3ca, 0x140467a9a\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3cf, 0x140467a9f\nlea     rdx, [rbx+77Ch]                                                ; +0x3d5, 0x140467aa5\nlea     rcx, [rsp+130h+var_D0]                                         ; +0x3dc, 0x140467aac\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3e1, 0x140467ab1\nlea     r8, [rsp+130h+var_D8]                                          ; +0x3e7, 0x140467ab7\nlea     rdx, [rsp+130h+var_100]                                        ; +0x3ec, 0x140467abc\nlea     rcx, [rsp+130h+var_D0]                                         ; +0x3f1, 0x140467ac1\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x3f6, 0x140467ac6\nlea     rdx, [rsp+130h+var_100]                                        ; +0x3fc, 0x140467acc\nlea     rcx, [rsp+130h+var_110]                                        ; +0x401, 0x140467ad1\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x406, 0x140467ad6\ncmp     byte ptr [rbx+771h], 0                                         ; +0x40c, 0x140467adc\njz      short loc_140467AED                                            ; +0x413, 0x140467ae3\nmov     [rsp+130h+var_110], 0                                          ; +0x415, 0x140467ae5\ncmp     byte ptr [rbx+772h], 0                                         ; +0x41d, 0x140467aed\njz      short loc_140467AFE                                            ; +0x424, 0x140467af4\nmov     [rsp+130h+var_10C], 0                                          ; +0x426, 0x140467af6\nmovzx   ecx, cs:byte_1409097DF                                         ; +0x42e, 0x140467afe\nmovaps  xmm13, xmm8                                                    ; +0x435, 0x140467b05\ntest    sil, sil                                                       ; +0x439, 0x140467b09\njz      short loc_140467B49                                            ; +0x43c, 0x140467b0c\ncmp     esi, ecx                                                       ; +0x43e, 0x140467b0e\njnz     short loc_140467B49                                            ; +0x440, 0x140467b10\nmovss   xmm1, [rbp+30h+arg_10]                                         ; +0x442, 0x140467b12\nmovss   xmm0, [rbp+30h+arg_14]                                         ; +0x447, 0x140467b17\naddss   xmm0, xmm10                                                    ; +0x44c, 0x140467b1c\naddss   xmm1, [rsp+130h+var_110]                                       ; +0x451, 0x140467b21\naddss   xmm0, [rsp+130h+var_10C]                                       ; +0x457, 0x140467b27\nadd     r14, 8                                                         ; +0x45d, 0x140467b2d\nmovss   [rbp+30h+arg_10], xmm1                                         ; +0x461, 0x140467b31\nmovss   [rbp+30h+arg_14], xmm0                                         ; +0x466, 0x140467b36\ncmp     r14, r13                                                       ; +0x46b, 0x140467b3b\njbe     loc_140467850                                                  ; +0x46e, 0x140467b3e\njmp     loc_140467C7C                                                  ; +0x474, 0x140467b44\nmovss   xmm1, [rbp+30h+arg_10]                                         ; +0x479, 0x140467b49\naddss   xmm1, xmm9                                                     ; +0x47e, 0x140467b4e\ntest    sil, sil                                                       ; +0x483, 0x140467b53\njnz     short loc_140467B17                                            ; +0x486, 0x140467b56\ntest    ecx, ecx                                                       ; +0x488, 0x140467b58\njnz     short loc_140467B17                                            ; +0x48a, 0x140467b5a\nmovss   xmm0, [rbp+30h+arg_14]                                         ; +0x48c, 0x140467b5c\njmp     short loc_140467B21                                            ; +0x491, 0x140467b61\nsubss   xmm12, xmm13                                                   ; +0x493, 0x140467b63\nmulss   xmm12, xmm7                                                    ; +0x498, 0x140467b68\ncmp     sil, cl                                                        ; +0x49d, 0x140467b6d\njz      short loc_140467B7B                                            ; +0x4a0, 0x140467b70\nmulss   xmm12, cs:dword_140835C90                                      ; +0x4a2, 0x140467b72\ntest    sil, sil                                                       ; +0x4ab, 0x140467b7b\njnz     short loc_140467B8C                                            ; +0x4ae, 0x140467b7e\naddss   xmm1, xmm12                                                    ; +0x4b0, 0x140467b80\nmovss   [rbp+30h+arg_10], xmm1                                         ; +0x4b5, 0x140467b85\njmp     short loc_140467B96                                            ; +0x4ba, 0x140467b8a\naddss   xmm2, xmm12                                                    ; +0x4bc, 0x140467b8c\nmovss   [rbp+30h+arg_14], xmm2                                         ; +0x4c1, 0x140467b91\ncmp     [rbp+30h+arg_28], 0                                            ; +0x4c6, 0x140467b96\njz      short loc_140467BB1                                            ; +0x4ca, 0x140467b9a\ntest    sil, sil                                                       ; +0x4cc, 0x140467b9c\njnz     short loc_140467BAA                                            ; +0x4cf, 0x140467b9f\nmov     [rbp+30h+arg_14], 0                                            ; +0x4d1, 0x140467ba1\njmp     short loc_140467BB1                                            ; +0x4d8, 0x140467ba8\nmov     [rbp+30h+arg_10], 0                                            ; +0x4da, 0x140467baa\nlea     rcx, [rsp+130h+var_108]                                        ; +0x4e1, 0x140467bb1\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x4e6, 0x140467bb6\nmovss   xmm2, [rbp+30h+arg_14]                                         ; +0x4ec, 0x140467bbc\nlea     rcx, [rsp+130h+var_100]                                        ; +0x4f1, 0x140467bc1\nmovss   xmm1, [rbp+30h+arg_10]                                         ; +0x4f6, 0x140467bc6\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4fb, 0x140467bcb\nmov     rdx, rax                                                       ; +0x501, 0x140467bd1\nlea     rcx, [rsp+130h+var_108]                                        ; +0x504, 0x140467bd4\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x509, 0x140467bd9\nlea     rdx, [rsp+130h+var_108]                                        ; +0x50f, 0x140467bdf\nmov     rcx, r15                                                       ; +0x514, 0x140467be4\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x517, 0x140467be7\nmov     r13, [rsp+130h+arg_18]                                         ; +0x51d, 0x140467bed\nmov     r14, [rsp+130h+var_20]                                         ; +0x525, 0x140467bf5\nmovaps  xmm10, [rsp+130h+var_70]                                       ; +0x52d, 0x140467bfd\nmovaps  xmm9, [rsp+130h+var_60]                                        ; +0x536, 0x140467c06\nmovaps  xmm8, [rsp+130h+var_50]                                        ; +0x53f, 0x140467c0f\nmovaps  xmm7, [rsp+130h+var_40]                                        ; +0x548, 0x140467c18\nmov     rsi, [rsp+130h+arg_0]                                          ; +0x550, 0x140467c20\nmovaps  xmm11, [rsp+130h+var_80]                                       ; +0x558, 0x140467c28\nmov     r12, [rsp+130h+arg_8]                                          ; +0x561, 0x140467c31\nmovaps  xmm13, [rsp+130h+var_A0]                                       ; +0x569, 0x140467c39\nmovaps  xmm14, [rsp+130h+var_B0]                                       ; +0x572, 0x140467c42\nmovaps  xmm6, [rsp+130h+var_30]                                        ; +0x57b, 0x140467c4b\nmov     rax, r15                                                       ; +0x583, 0x140467c53\nmovaps  xmm12, [rsp+130h+var_90]                                       ; +0x586, 0x140467c56\nmovaps  xmm15, [rsp+130h+var_C0]                                       ; +0x58f, 0x140467c5f\nadd     rsp, 118h                                                      ; +0x595, 0x140467c65\npop     r15                                                            ; +0x59c, 0x140467c6c\npop     rdi                                                            ; +0x59e, 0x140467c6e\npop     rbx                                                            ; +0x59f, 0x140467c6f\npop     rbp                                                            ; +0x5a0, 0x140467c70\nretn                                                                   ; +0x5a1, 0x140467c71\nmovss   xmm0, [rbp+30h+arg_14]                                         ; +0x5a2, 0x140467c72\nmovss   xmm1, [rbp+30h+arg_10]                                         ; +0x5a7, 0x140467c77\nmovzx   eax, cs:byte_14090BD0C                                         ; +0x5ac, 0x140467c7c\nsubss   xmm12, xmm13                                                   ; +0x5b3, 0x140467c83\ncmp     cs:byte_1409097DF, al                                          ; +0x5b8, 0x140467c88\nmulss   xmm12, xmm6                                                    ; +0x5be, 0x140467c8e\nmulss   xmm12, xmm14                                                   ; +0x5c3, 0x140467c93\njz      short loc_140467CA3                                            ; +0x5c8, 0x140467c98\nmulss   xmm12, cs:dword_140835C90                                      ; +0x5ca, 0x140467c9a\ncmp     cs:byte_1409097DF, 0                                           ; +0x5d3, 0x140467ca3\njnz     short loc_140467CB8                                            ; +0x5da, 0x140467caa\naddss   xmm1, xmm12                                                    ; +0x5dc, 0x140467cac\nmovss   [rbp+30h+arg_10], xmm1                                         ; +0x5e1, 0x140467cb1\njmp     short loc_140467CC2                                            ; +0x5e6, 0x140467cb6\naddss   xmm0, xmm12                                                    ; +0x5e8, 0x140467cb8\nmovss   [rbp+30h+arg_14], xmm0                                         ; +0x5ed, 0x140467cbd\ncmp     [rbp+30h+arg_28], 0                                            ; +0x5f2, 0x140467cc2\njz      short loc_140467CE1                                            ; +0x5f6, 0x140467cc6\ncmp     cs:byte_1409097DF, 0                                           ; +0x5f8, 0x140467cc8\njnz     short loc_140467CDA                                            ; +0x5ff, 0x140467ccf\nmov     [rbp+30h+arg_14], 0                                            ; +0x601, 0x140467cd1\njmp     short loc_140467CE1                                            ; +0x608, 0x140467cd8\nmov     [rbp+30h+arg_10], 0                                            ; +0x60a, 0x140467cda\nlea     rcx, [rsp+130h+var_F8]                                         ; +0x611, 0x140467ce1\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x616, 0x140467ce6\nmovss   xmm2, [rbp+30h+arg_14]                                         ; +0x61c, 0x140467cec\nlea     rcx, [rsp+130h+var_100]                                        ; +0x621, 0x140467cf1\nmovss   xmm1, [rbp+30h+arg_10]                                         ; +0x626, 0x140467cf6\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x62b, 0x140467cfb\nmov     rdx, rax                                                       ; +0x631, 0x140467d01\nlea     rcx, [rsp+130h+var_F8]                                         ; +0x634, 0x140467d04\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x639, 0x140467d09\nlea     rdx, [rsp+130h+var_F8]                                         ; +0x63f, 0x140467d0f\njmp     loc_140467BE4                                                  ; +0x644, 0x140467d14\nmulss   xmm6, xmm12                                                    ; +0x649, 0x140467d19\nxorps   xmm2, xmm2                                                     ; +0x64e, 0x140467d1e\nmov     rcx, r15                                                       ; +0x651, 0x140467d21\nmovaps  xmm1, xmm6                                                     ; +0x654, 0x140467d24\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x657, 0x140467d27\njmp     loc_140467C4B                                                  ; +0x65d, 0x140467d2d", "xrefs": ["LevelEditorLayer::posForTime @ 0x1403fd223", "DrawGridLayer::loadTimeMarkers @ 0x14040a5b5", "DrawGridLayer::update @ 0x14040a7c2", "DrawGridLayer::draw @ 0x14040b9e2", "DrawGridLayer::draw @ 0x14040c141", "PlayLayer::posForTime @ 0x14051204d", "<???> @ 0x1408cda94", "<???> @ 0x1408cdaa4", "<???> @ 0x1408cdae0", "<???> @ 0x140927eb4"], "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"}