{"type": "func", "start": 4296340352, "end": 4296340428, "name": "GJBaseGameLayer::updateTimeWarp", "pseudocode": "// \n// GJBaseGameLayer::updateTimeWarp from 0x10014f380 to 0x10014f3cc (76 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::updateTimeWarp @ 0x1000b5e37\n// > PlayLayer::updateTimeWarp @ 0x1000b5e4a\n// > <???> @ 0x1008c0720\n// > <???> @ 0x1008c1950\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\nvoid __fastcall GJBaseGameLayer::updateTimeWarp(GJBaseGameLayer *a1, float a2)\n{\n  float v2; // xmm1_4\n\n  v2 = fmaxf(fminf(2.0, a2), 0.1);\n  a1->m_gameState.m_timeWarp = v2;\n  a1->m_gameState.m_queuedTimeWarp = 0.0;\n  if ( v2 == 1.0 )\n    ((void (__fastcall *)(GJBaseGameLayer *, float))a1->applyTimeWarp)(a1, 1.0);\n}", "assembly": "; \n; GJBaseGameLayer::updateTimeWarp from 0x10014f380 to 0x10014f3cc (76 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::updateTimeWarp @ 0x1000b5e37\n; > PlayLayer::updateTimeWarp @ 0x1000b5e4a\n; > <???> @ 0x1008c0720\n; > <???> @ 0x1008c1950\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    rbp                                                            ; +0x0, 0x10014f380\nmov     rbp, rsp                                                       ; +0x1, 0x10014f381\nmovss   xmm1, cs:width                                                 ; +0x4, 0x10014f384\nminss   xmm1, xmm0                                                     ; +0xc, 0x10014f38c\nmaxss   xmm1, cs:dword_100815058                                       ; +0x10, 0x10014f390\nmovss   dword ptr [rdi+330h], xmm1                                     ; +0x18, 0x10014f398\nmov     dword ptr [rdi+334h], 0                                        ; +0x20, 0x10014f3a0\nucomiss xmm1, cs:alpha                                                 ; +0x2a, 0x10014f3aa\njnz     short loc_10014F3CA                                            ; +0x31, 0x10014f3b1\njp      short loc_10014F3CA                                            ; +0x33, 0x10014f3b3\nmov     rax, [rdi]                                                     ; +0x35, 0x10014f3b5\nmov     rax, [rax+588h]                                                ; +0x38, 0x10014f3b8\nmovss   xmm0, cs:alpha                                                 ; +0x3f, 0x10014f3bf\npop     rbp                                                            ; +0x47, 0x10014f3c7\njmp     rax                                                            ; +0x48, 0x10014f3c8\npop     rbp                                                            ; +0x4a, 0x10014f3ca\nretn                                                                   ; +0x4b, 0x10014f3cb", "xrefs": ["PlayLayer::updateTimeWarp @ 0x1000b5e37", "PlayLayer::updateTimeWarp @ 0x1000b5e4a", "<???> @ 0x1008c0720", "<???> @ 0x1008c1950"], "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"}