{"type": "func", "start": 5371717792, "end": 5371717889, "name": "LevelEditorLayer::posForTime", "pseudocode": "// \n// LevelEditorLayer::posForTime from 0x1402de8a0 to 0x1402de901 (97 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405863c0\n// > <???> @ 0x1406d3434\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCPoint LevelEditorLayer::posForTime(LevelEditorLayer *a1, float a2)\n{\n  cocos2d::CCArray *v2; // rdx\n  float v3; // xmm0_4\n  cocos2d::CCPoint v4; // rbx\n  int *v6; // [rsp+30h] [rbp-28h]\n\n  v4 = (cocos2d::CCPoint)v2;\n  LOBYTE(v6) = 0;\n  LevelTools::posForTimeInternal(\n    v3,\n    v2,\n    (int)a1->m_drawGridLayer->m_speedObjects,\n    a1->m_drawGridLayer->m_editorLayer->m_levelSettings->m_startSpeed,\n    a1->m_drawGridLayer->m_editorLayer->m_levelSettings->m_platformerMode,\n    0,\n    v6,\n    (int)&a1->m_drawGridLayer->m_editorLayer->m_gameState.m_rotateChannel);\n  return v4;\n}", "assembly": "; \n; LevelEditorLayer::posForTime from 0x1402de8a0 to 0x1402de901 (97 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405863c0\n; > <???> @ 0x1406d3434\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1402de8a0\nsub     rsp, 50h                                                       ; +0x2, 0x1402de8a2\nmov     r8, [rcx+38C8h]                                                ; +0x6, 0x1402de8a6\nmovaps  xmm1, xmm2                                                     ; +0xd, 0x1402de8ad\nmov     rcx, rdx                                                       ; +0x10, 0x1402de8b0\nmov     rbx, rdx                                                       ; +0x13, 0x1402de8b3\nmov     rax, [r8+208h]                                                 ; +0x16, 0x1402de8b6\nmov     r8, [r8+250h]                                                  ; +0x1d, 0x1402de8bd\nmov     r9, [rax+0DB0h]                                                ; +0x24, 0x1402de8c4\nadd     rax, 340h                                                      ; +0x2b, 0x1402de8cb\nmov     [rsp+58h+var_20], rax                                          ; +0x31, 0x1402de8d1\nmov     byte ptr [rsp+58h+var_28], 0                                   ; +0x36, 0x1402de8d6\nmov     [rsp+58h+var_30], 0                                            ; +0x3b, 0x1402de8db\nmovzx   eax, byte ptr [r9+155h]                                        ; +0x40, 0x1402de8e0\nmov     r9d, [r9+14Ch]                                                 ; +0x48, 0x1402de8e8\nmov     [rsp+58h+var_38], al                                           ; +0x4f, 0x1402de8ef\ncall    LevelTools__posForTimeInternal                                 ; +0x53, 0x1402de8f3\nmov     rax, rbx                                                       ; +0x58, 0x1402de8f8\nadd     rsp, 50h                                                       ; +0x5b, 0x1402de8fb\npop     rbx                                                            ; +0x5f, 0x1402de8ff\nretn                                                                   ; +0x60, 0x1402de900", "xrefs": ["<???> @ 0x1405863c0", "<???> @ 0x1406d3434"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}