{"type": "func", "start": 5371027792, "end": 5371027870, "name": "GJBaseGameLayer::updateTimeWarp", "pseudocode": "// \n// GJBaseGameLayer::updateTimeWarp from 0x140236150 to 0x14023619e (78 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140567098\n// > <???> @ 0x1405863f0\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 GJBaseGameLayer::updateTimeWarp(GJBaseGameLayer *a1, float a2)\n{\n  float v2; // xmm0_4\n  float v4; // xmm1_4\n\n  v2 = fminf(a2, 2.0);\n  v4 = 0.1;\n  if ( v2 >= 0.1 )\n    v4 = fminf(2.0, a2);\n  a1->m_gameState.m_queuedTimeWarp = 0.0;\n  a1->m_gameState.m_timeWarp = v4;\n  if ( v4 == 1.0 )\n    ((void (__fastcall *)(GJBaseGameLayer *))a1->applyTimeWarp)(a1);\n}", "assembly": "; \n; GJBaseGameLayer::updateTimeWarp from 0x140236150 to 0x14023619e (78 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140567098\n; > <???> @ 0x1405863f0\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\nmovss   xmm3, cs:width                                                 ; +0x0, 0x140236150\nmovaps  xmm0, xmm1                                                     ; +0x8, 0x140236158\nminss   xmm0, xmm3                                                     ; +0xb, 0x14023615b\nmovaps  xmm2, xmm1                                                     ; +0xf, 0x14023615f\nmovss   xmm1, cs:dword_140622A10                                       ; +0x12, 0x140236162\ncomiss  xmm1, xmm0                                                     ; +0x1a, 0x14023616a\nja      short loc_140236176                                            ; +0x1d, 0x14023616d\nmovaps  xmm1, xmm3                                                     ; +0x1f, 0x14023616f\nminss   xmm1, xmm2                                                     ; +0x22, 0x140236172\nucomiss xmm1, cs:flt_140622C24                                         ; +0x26, 0x140236176\nmov     dword ptr [rcx+334h], 0                                        ; +0x2d, 0x14023617d\nmovss   dword ptr [rcx+330h], xmm1                                     ; +0x37, 0x140236187\njp      short locret_14023619D                                         ; +0x3f, 0x14023618f\njnz     short locret_14023619D                                         ; +0x41, 0x140236191\nmov     rax, [rcx]                                                     ; +0x43, 0x140236193\njmp     qword ptr [rax+4F8h]                                           ; +0x46, 0x140236196\nretn                                                                   ; +0x4d, 0x14023619d", "xrefs": ["<???> @ 0x140567098", "<???> @ 0x1405863f0"], "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"}