{"type": "func", "start": 5372891424, "end": 5372891599, "name": "LevelEditorLayer::timeForPos", "pseudocode": "// \n// LevelEditorLayer::timeForPos from 0x1403fd120 to 0x1403fd1cf (175 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078b2b8\n// > <???> @ 0x1409257d8\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:31:53 +0000\n// \n\ndouble __fastcall LevelEditorLayer::timeForPos(\n        __int64 a1,\n        const struct cocos2d::CCPoint *a2,\n        int a3,\n        int a4,\n        char a5,\n        int a6)\n{\n  __int64 v9; // r10\n  __int64 v10; // rsi\n  __int64 v11; // rdx\n  int v12; // edi\n  const struct cocos2d::CCPoint *v13; // rax\n  int v14; // eax\n  _BYTE v16[16]; // [rsp+50h] [rbp-28h] BYREF\n  char v17; // [rsp+80h] [rbp+8h] BYREF\n\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, a2);\n  v9 = *(_QWORD *)(a1 + 14944);\n  v10 = *(_QWORD *)(v9 + 592);\n  v11 = *(_QWORD *)(*(_QWORD *)(v9 + 520) + 3528LL);\n  LOBYTE(a1) = *(_BYTE *)(v11 + 341);\n  v12 = *(_DWORD *)(v11 + 332);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, v13);\n  return LevelTools::timeForPos(v14, v10, v12, a3, a4, a5, a1, 0, 0, a6);\n}", "assembly": "; \n; LevelEditorLayer::timeForPos from 0x1403fd120 to 0x1403fd1cf (175 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078b2b8\n; > <???> @ 0x1409257d8\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:31:53 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1403fd120\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1403fd125\npush    rsi                                                            ; +0xa, 0x1403fd12a\npush    rdi                                                            ; +0xb, 0x1403fd12b\npush    r14                                                            ; +0xc, 0x1403fd12c\nsub     rsp, 60h                                                       ; +0xe, 0x1403fd12e\nmov     rbx, rcx                                                       ; +0x12, 0x1403fd132\nmov     ebp, r9d                                                       ; +0x15, 0x1403fd135\nlea     rcx, [rsp+78h+arg_0]                                           ; +0x18, 0x1403fd138\nmov     r14d, r8d                                                      ; +0x20, 0x1403fd140\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x23, 0x1403fd143\nmov     r10, [rbx+3A60h]                                               ; +0x29, 0x1403fd149\nmov     rcx, [r10+208h]                                                ; +0x30, 0x1403fd150\nmov     rsi, [r10+250h]                                                ; +0x37, 0x1403fd157\nmov     rdx, [rcx+0DC8h]                                               ; +0x3e, 0x1403fd15e\nlea     rcx, [rsp+78h+var_28]                                          ; +0x45, 0x1403fd165\nmovzx   ebx, byte ptr [rdx+155h]                                       ; +0x4a, 0x1403fd16a\nmov     edi, [rdx+14Ch]                                                ; +0x51, 0x1403fd171\nmov     rdx, rax                                                       ; +0x57, 0x1403fd177\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x5a, 0x1403fd17a\nmov     r9d, r14d                                                      ; +0x60, 0x1403fd180\nmov     r8d, edi                                                       ; +0x63, 0x1403fd183\nmov     rcx, rax                                                       ; +0x66, 0x1403fd186\nmov     rdx, rsi                                                       ; +0x69, 0x1403fd189\nmov     eax, [rsp+78h+arg_28]                                          ; +0x6c, 0x1403fd18c\nmov     [rsp+78h+var_30], eax                                          ; +0x73, 0x1403fd193\nmovzx   eax, [rsp+78h+arg_20]                                          ; +0x77, 0x1403fd197\nmov     [rsp+78h+var_38], 0                                            ; +0x7f, 0x1403fd19f\nmov     [rsp+78h+var_40], 0                                            ; +0x84, 0x1403fd1a4\nmov     [rsp+78h+var_48], bl                                           ; +0x89, 0x1403fd1a9\nmov     [rsp+78h+var_50], al                                           ; +0x8d, 0x1403fd1ad\nmov     [rsp+78h+var_58], ebp                                          ; +0x91, 0x1403fd1b1\ncall    LevelTools__timeForPos                                         ; +0x95, 0x1403fd1b5\nlea     r11, [rsp+78h+var_18]                                          ; +0x9a, 0x1403fd1ba\nmov     rbx, [r11+28h]                                                 ; +0x9f, 0x1403fd1bf\nmov     rbp, [r11+30h]                                                 ; +0xa3, 0x1403fd1c3\nmov     rsp, r11                                                       ; +0xa7, 0x1403fd1c7\npop     r14                                                            ; +0xaa, 0x1403fd1ca\npop     rdi                                                            ; +0xac, 0x1403fd1cc\npop     rsi                                                            ; +0xad, 0x1403fd1cd\nretn                                                                   ; +0xae, 0x1403fd1ce", "xrefs": ["<???> @ 0x14078b2b8", "<???> @ 0x1409257d8"], "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"}