{"type": "func", "start": 8734980, "end": 8735116, "name": "GJBaseGameLayer::updateTimeWarp", "pseudocode": "// \n// GJBaseGameLayer::updateTimeWarp from 0x854904 to 0x85498c (136 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::updateTimeWarp @ 0x5c8ba0\n// > <???> @ 0x67b18\n// > <???> @ 0x1155318\n// > <???> @ 0x1190798\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; // s2\n\n  if ( a2 > 2.0 )\n  {\n    a1->m_gameState.m_timeWarp = 2.0;\n    a1->m_gameState.m_queuedTimeWarp = 0.0;\n    return;\n  }\n  v2 = 0.1;\n  if ( a2 <= 0.1 )\n  {\nLABEL_9:\n    a1->m_gameState.m_timeWarp = v2;\n    a1->m_gameState.m_queuedTimeWarp = 0.0;\n    return;\n  }\n  if ( a2 > 2.0 )\n  {\n    v2 = 2.0;\n    goto LABEL_9;\n  }\n  a1->m_gameState.m_timeWarp = a2;\n  a1->m_gameState.m_queuedTimeWarp = 0.0;\n  if ( a2 == 1.0 )\n    a1->applyTimeWarp(a1, 1.0);\n}", "assembly": "; \n; GJBaseGameLayer::updateTimeWarp from 0x854904 to 0x85498c (136 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::updateTimeWarp @ 0x5c8ba0\n; > <???> @ 0x67b18\n; > <???> @ 0x1155318\n; > <???> @ 0x1190798\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, 0x854904\nMOV             X1, X0                                                 ; +0x4, 0x854908\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x8, 0x85490c\nFCMPE           S0, S1                                                 ; +0xc, 0x854910\nMOV             X29, SP                                                ; +0x10, 0x854914\nB.GT            loc_854960                                             ; +0x14, 0x854918\nLDR             S2, =0x3DCCCCCD                                        ; +0x18, 0x85491c\nFCMPE           S0, S2                                                 ; +0x1c, 0x854920\nB.LE            loc_854978                                             ; +0x20, 0x854924\nFCMPE           S0, S1                                                 ; +0x24, 0x854928\nB.GT            loc_854974                                             ; +0x28, 0x85492c\nFMOV            S1, #1.0                                               ; +0x2c, 0x854930\nSTR             S0, [X0,#0x330]                                        ; +0x30, 0x854934\nFCMP            S0, S1                                                 ; +0x34, 0x854938\nFMOV            S0, WZR                                                ; +0x38, 0x85493c\nSTR             S0, [X0,#0x334]                                        ; +0x3c, 0x854940\nB.NE            loc_85496C                                             ; +0x40, 0x854944\nLDR             X1, [X0]                                               ; +0x44, 0x854948\nFMOV            S0, S1                                                 ; +0x48, 0x85494c\nLDR             X1, [X1,#0x590]                                        ; +0x4c, 0x854950\nBLR             X1                                                     ; +0x50, 0x854954\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x54, 0x854958\nRET                                                                    ; +0x58, 0x85495c\nFMOV            S0, WZR                                                ; +0x5c, 0x854960\nSTR             S1, [X0,#0x330]                                        ; +0x60, 0x854964\nSTR             S0, [X0,#0x334]                                        ; +0x64, 0x854968\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x68, 0x85496c\nRET                                                                    ; +0x6c, 0x854970\nFMOV            S2, S1                                                 ; +0x70, 0x854974\nFMOV            S0, WZR                                                ; +0x74, 0x854978\nSTR             S2, [X1,#0x330]                                        ; +0x78, 0x85497c\nSTR             S0, [X1,#0x334]                                        ; +0x7c, 0x854980\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x80, 0x854984\nRET                                                                    ; +0x84, 0x854988", "xrefs": ["PlayLayer::updateTimeWarp @ 0x5c8ba0", "<???> @ 0x67b18", "<???> @ 0x1155318", "<???> @ 0x1190798"], "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"}