{"type": "func", "start": 4295763072, "end": 4295763200, "name": "DrawGridLayer::timeForPos", "pseudocode": "// \n// DrawGridLayer::timeForPos from 0x1000c2480 to 0x1000c2500 (128 bytes)\n// \n// 3 xrefs:\n// > EditorUI::onPlayback @ 0x1000086aa\n// > EditorUI::onPlayback @ 0x1000086eb\n// > EditorPauseLayer::init @ 0x10027cf2a\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 12:20:34 +0000\n// \n\n__int64 __fastcall DrawGridLayer::timeForPos(\n        __int64 a1,\n        __int64 a2,\n        int a3,\n        int a4,\n        int a5,\n        __int64 a6,\n        char a7,\n        int a8)\n{\n  _BYTE v12[8]; // [rsp+8h] [rbp-38h] BYREF\n  __int64 v13; // [rsp+10h] [rbp-30h]\n\n  v13 = a6;\n  sub_1002782D0(v12, a2);\n  return LevelTools::timeForPos(\n           (unsigned int)v12,\n           *(_QWORD *)(a1 + 560),\n           *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 496) + 3272LL) + 332LL),\n           a3,\n           a4,\n           a5,\n           *(_BYTE *)(*(_QWORD *)(*(_QWORD *)(a1 + 496) + 3272LL) + 341LL),\n           v13,\n           a7,\n           a8);\n}", "assembly": "; \n; DrawGridLayer::timeForPos from 0x1000c2480 to 0x1000c2500 (128 bytes)\n; \n; 3 xrefs:\n; > EditorUI::onPlayback @ 0x1000086aa\n; > EditorUI::onPlayback @ 0x1000086eb\n; > EditorPauseLayer::init @ 0x10027cf2a\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 12:20:34 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000c2480\nmov     rbp, rsp                                                       ; +0x1, 0x1000c2481\npush    r15                                                            ; +0x4, 0x1000c2484\npush    r14                                                            ; +0x6, 0x1000c2486\npush    r13                                                            ; +0x8, 0x1000c2488\npush    r12                                                            ; +0xa, 0x1000c248a\npush    rbx                                                            ; +0xc, 0x1000c248c\nsub     rsp, 18h                                                       ; +0xd, 0x1000c248d\nmov     [rbp+var_30], r9                                               ; +0x11, 0x1000c2491\nmov     r14d, r8d                                                      ; +0x15, 0x1000c2495\nmov     r15d, ecx                                                      ; +0x18, 0x1000c2498\nmov     r12d, edx                                                      ; +0x1b, 0x1000c249b\nmov     r13, rdi                                                       ; +0x1e, 0x1000c249e\nlea     rbx, [rbp+var_38]                                              ; +0x21, 0x1000c24a1\nmov     rdi, rbx                                                       ; +0x25, 0x1000c24a5\ncall    sub_1002782D0                                                  ; +0x28, 0x1000c24a8\nmov     rax, [r13+1F0h]                                                ; +0x2d, 0x1000c24ad\nmov     rsi, [r13+230h]                                                ; +0x34, 0x1000c24b4\nmov     rax, [rax+0CC8h]                                               ; +0x3b, 0x1000c24bb\nmov     edx, [rax+14Ch]                                                ; +0x42, 0x1000c24c2\nmovzx   eax, byte ptr [rax+155h]                                       ; +0x48, 0x1000c24c8\nmovzx   r10d, [rbp+arg_0]                                              ; +0x4f, 0x1000c24cf\nmov     rdi, rbx                                                       ; +0x54, 0x1000c24d4\nmov     ecx, r12d                                                      ; +0x57, 0x1000c24d7\nmov     r8d, r15d                                                      ; +0x5a, 0x1000c24da\nmov     r9d, r14d                                                      ; +0x5d, 0x1000c24dd\nmov     r11d, [rbp+arg_8]                                              ; +0x60, 0x1000c24e0\npush    r11                                                            ; +0x64, 0x1000c24e4\npush    r10                                                            ; +0x66, 0x1000c24e6\npush    [rbp+var_30]                                                   ; +0x68, 0x1000c24e8\npush    rax                                                            ; +0x6b, 0x1000c24eb\ncall    LevelTools__timeForPos                                         ; +0x6c, 0x1000c24ec\nadd     rsp, 38h                                                       ; +0x71, 0x1000c24f1\npop     rbx                                                            ; +0x75, 0x1000c24f5\npop     r12                                                            ; +0x76, 0x1000c24f6\npop     r13                                                            ; +0x78, 0x1000c24f8\npop     r14                                                            ; +0x7a, 0x1000c24fa\npop     r15                                                            ; +0x7c, 0x1000c24fc\npop     rbp                                                            ; +0x7e, 0x1000c24fe\nretn                                                                   ; +0x7f, 0x1000c24ff", "xrefs": ["EditorUI::onPlayback @ 0x1000086aa", "EditorUI::onPlayback @ 0x1000086eb", "EditorPauseLayer::init @ 0x10027cf2a"], "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"}