{"type": "func", "start": 5369137856, "end": 5369138017, "name": "GameToolbox::bounceTime", "pseudocode": "// \n// GameToolbox::bounceTime from 0x140068ac0 to 0x140068b61 (161 bytes)\n// \n// 4 xrefs:\n// > GameToolbox::getEasedValue @ 0x140068e07\n// > GameToolbox::getEasedValue @ 0x140068e27\n// > GameToolbox::getEasedValue @ 0x140068e48\n// > GameToolbox::getEasedValue @ 0x140068e59\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\nfloat GameToolbox::bounceTime(float a1)\n{\n  double v1; // xmm3_8\n\n  v1 = a1;\n  if ( a1 < 0.3636363636363636 )\n    return (float)(a1 * 7.5625) * a1;\n  if ( v1 < 0.7272727272727273 )\n    return (float)((float)((float)(a1 + -0.54545456) * 7.5625) * (float)(a1 + -0.54545456)) + 0.75;\n  if ( v1 >= 0.9090909090909091 )\n    return (float)((float)((float)(a1 + -0.95454544) * 7.5625) * (float)(a1 + -0.95454544)) + 0.984375;\n  return (float)((float)((float)(a1 + -0.81818181) * 7.5625) * (float)(a1 + -0.81818181)) + 0.9375;\n}", "assembly": "; \n; GameToolbox::bounceTime from 0x140068ac0 to 0x140068b61 (161 bytes)\n; \n; 4 xrefs:\n; > GameToolbox::getEasedValue @ 0x140068e07\n; > GameToolbox::getEasedValue @ 0x140068e27\n; > GameToolbox::getEasedValue @ 0x140068e48\n; > GameToolbox::getEasedValue @ 0x140068e59\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\nmovsd   xmm1, cs:qword_140622D70                                       ; +0x0, 0x140068ac0\nmovaps  xmm2, xmm0                                                     ; +0x8, 0x140068ac8\nxorps   xmm3, xmm3                                                     ; +0xb, 0x140068acb\ncvtss2sd xmm3, xmm2                                                    ; +0xe, 0x140068ace\ncomisd  xmm1, xmm3                                                     ; +0x12, 0x140068ad2\njbe     short loc_140068AE5                                            ; +0x16, 0x140068ad6\nmulss   xmm0, cs:dword_140623050                                       ; +0x18, 0x140068ad8\nmulss   xmm0, xmm2                                                     ; +0x20, 0x140068ae0\nretn                                                                   ; +0x24, 0x140068ae4\nmovsd   xmm0, cs:qword_140622DD8                                       ; +0x25, 0x140068ae5\ncomisd  xmm0, xmm3                                                     ; +0x2d, 0x140068aed\njbe     short loc_140068B13                                            ; +0x31, 0x140068af1\naddss   xmm2, cs:dword_1406236D8                                       ; +0x33, 0x140068af3\nmovaps  xmm0, xmm2                                                     ; +0x3b, 0x140068afb\nmulss   xmm0, cs:dword_140623050                                       ; +0x3e, 0x140068afe\nmulss   xmm0, xmm2                                                     ; +0x46, 0x140068b06\naddss   xmm0, cs:dword_140622B8C                                       ; +0x4a, 0x140068b0a\nretn                                                                   ; +0x52, 0x140068b12\nmovsd   xmm0, cs:qword_140622DF8                                       ; +0x53, 0x140068b13\ncomisd  xmm0, xmm3                                                     ; +0x5b, 0x140068b1b\njbe     short loc_140068B41                                            ; +0x5f, 0x140068b1f\naddss   xmm2, cs:dword_1406236E4                                       ; +0x61, 0x140068b21\nmovaps  xmm0, xmm2                                                     ; +0x69, 0x140068b29\nmulss   xmm0, cs:dword_140623050                                       ; +0x6c, 0x140068b2c\nmulss   xmm0, xmm2                                                     ; +0x74, 0x140068b34\naddss   xmm0, cs:dword_140622BE0                                       ; +0x78, 0x140068b38\nretn                                                                   ; +0x80, 0x140068b40\naddss   xmm2, cs:dword_1406236EC                                       ; +0x81, 0x140068b41\nmovaps  xmm0, xmm2                                                     ; +0x89, 0x140068b49\nmulss   xmm0, cs:dword_140623050                                       ; +0x8c, 0x140068b4c\nmulss   xmm0, xmm2                                                     ; +0x94, 0x140068b54\naddss   xmm0, cs:dword_140622C10                                       ; +0x98, 0x140068b58\nretn                                                                   ; +0xa0, 0x140068b60", "xrefs": ["GameToolbox::getEasedValue @ 0x140068e07", "GameToolbox::getEasedValue @ 0x140068e27", "GameToolbox::getEasedValue @ 0x140068e48", "GameToolbox::getEasedValue @ 0x140068e59"], "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"}