{"type": "func", "start": 4297053260, "end": 4297053324, "name": "GJBaseGameLayer::updateTimeWarp", "pseudocode": "// \n// GJBaseGameLayer::updateTimeWarp from 0x1001fd44c to 0x1001fd48c (64 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::updateTimeWarp @ 0x10011b8bc\n// > <???> @ 0x1007c0c28\n// > <???> @ 0x1007f4388\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; // s0\n\n  if ( a2 > 2.0 )\n    a2 = 2.0;\n  v2 = fmaxf(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 0x1001fd44c to 0x1001fd48c (64 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::updateTimeWarp @ 0x10011b8bc\n; > <???> @ 0x1007c0c28\n; > <???> @ 0x1007f4388\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\nFMOV            S1, #2.0                                               ; +0x0, 0x1001fd44c\nFCMP            S0, S1                                                 ; +0x4, 0x1001fd450\nFCSEL           S0, S1, S0, GT                                         ; +0x8, 0x1001fd454\nADRP            X8, #dword_100635370@PAGE                              ; +0xc, 0x1001fd458\nLDR             S1, [X8,#dword_100635370@PAGEOFF]                      ; +0x10, 0x1001fd45c\nFMAXNM          S0, S0, S1                                             ; +0x14, 0x1001fd460\nSTR             S0, [X0,#0x330]                                        ; +0x18, 0x1001fd464\nSTR             WZR, [X0,#0x334]                                       ; +0x1c, 0x1001fd468\nFMOV            S1, #1.0                                               ; +0x20, 0x1001fd46c\nFCMP            S0, S1                                                 ; +0x24, 0x1001fd470\nB.NE            locret_1001FD488                                       ; +0x28, 0x1001fd474\nLDR             X8, [X0]                                               ; +0x2c, 0x1001fd478\nLDR             X1, [X8,#0x590]                                        ; +0x30, 0x1001fd47c\nFMOV            S0, #1.0                                               ; +0x34, 0x1001fd480\nBR              X1                                                     ; +0x38, 0x1001fd484\nRET                                                                    ; +0x3c, 0x1001fd488", "xrefs": ["PlayLayer::updateTimeWarp @ 0x10011b8bc", "<???> @ 0x1007c0c28", "<???> @ 0x1007f4388"], "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"}