{"type": "func", "start": 4634328, "end": 4634424, "name": "GJBaseGameLayer::updateTimeWarp", "pseudocode": "// \n// GJBaseGameLayer::updateTimeWarp from 0x46b6d8 to 0x46b738 (96 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::updateTimeWarp @ 0x30e60c\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; // s15\n\n  v2 = a2;\n  if ( a2 > 2.0 )\n  {\n    v2 = 2.0;\n  }\n  else if ( a2 <= 0.1 )\n  {\n    v2 = 0.1;\n  }\n  else if ( a2 > 2.0 )\n  {\n    v2 = 2.0;\n  }\n  a1->m_gameState.m_timeWarp = v2;\n  a1->m_gameState.m_queuedTimeWarp = 0.0;\n  if ( v2 == 1.0 )\n    ((void (__fastcall *)(_DWORD, _DWORD))a1->applyTimeWarp)(a1, 1.0);\n}", "assembly": "; \n; GJBaseGameLayer::updateTimeWarp from 0x46b6d8 to 0x46b738 (96 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::updateTimeWarp @ 0x30e60c\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\nVMOV.F32        S14, #2.0                                              ; +0x0, 0x46b6d8\nVMOV            S15, R1                                                ; +0x4, 0x46b6dc\nVCMPE.F32       S15, S14                                               ; +0x8, 0x46b6e0\nVMRS            APSR_nzcv, FPSCR                                       ; +0xc, 0x46b6e4\nBGT             loc_46B708                                             ; +0x10, 0x46b6e8\nVLDR            S13, =0.1                                              ; +0x12, 0x46b6ea\nVCMPE.F32       S15, S13                                               ; +0x16, 0x46b6ee\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1a, 0x46b6f2\nBLE             loc_46B70E                                             ; +0x1e, 0x46b6f6\nVCMP.F32        S15, S14                                               ; +0x20, 0x46b6f8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x24, 0x46b6fc\nIT GT                                                                  ; +0x28, 0x46b700\nVMOVGT.F32      S15, S14                                               ; +0x2a, 0x46b702\nB               loc_46B712                                             ; +0x2e, 0x46b706\nVMOV.F32        S15, S14                                               ; +0x30, 0x46b708\nB               loc_46B712                                             ; +0x34, 0x46b70c\nVMOV.F32        S15, S13                                               ; +0x36, 0x46b70e\nMOVS            R3, #0                                                 ; +0x3a, 0x46b712\nVSTR            S15, [R0,#0x2D0]                                       ; +0x3c, 0x46b714\nSTR.W           R3, [R0,#0x2D4]                                        ; +0x40, 0x46b718\nVMOV.F32        S14, #1.0                                              ; +0x44, 0x46b71c\nVCMP.F32        S15, S14                                               ; +0x48, 0x46b720\nVMRS            APSR_nzcv, FPSCR                                       ; +0x4c, 0x46b724\nBNE             locret_46B736                                          ; +0x50, 0x46b728\nLDR             R3, [R0]                                               ; +0x52, 0x46b72a\nVMOV            R1, S14                                                ; +0x54, 0x46b72c\nLDR.W           R3, [R3,#0x2C8]                                        ; +0x58, 0x46b730\nBX              R3                                                     ; +0x5c, 0x46b734\nBX              LR                                                     ; +0x5e, 0x46b736", "xrefs": ["PlayLayer::updateTimeWarp @ 0x30e60c"], "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"}