{"type": "func", "start": 4298845968, "end": 4298846207, "name": "GJShaderState::tweenValue", "pseudocode": "// \n// GJShaderState::tweenValue from 0x1003b2f10 to 0x1003b2fff (239 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:29:27 +0000\n// \n\n__int64 __fastcall GJShaderState::tweenValue(\n        __int64 *a1,\n        unsigned int a2,\n        int a3,\n        float a4,\n        float a5,\n        float a6,\n        float a7)\n{\n  __int64 result; // rax\n  int *v9; // [rsp+0h] [rbp-60h] BYREF\n  float v10; // [rsp+8h] [rbp-58h]\n  __int64 v11; // [rsp+Ch] [rbp-54h]\n  int v12; // [rsp+14h] [rbp-4Ch]\n  float v13; // [rsp+18h] [rbp-48h]\n  __int16 v14; // [rsp+1Ch] [rbp-44h]\n  __int64 v15; // [rsp+20h] [rbp-40h]\n  unsigned int v16; // [rsp+28h] [rbp-38h] BYREF\n  float v17; // [rsp+2Ch] [rbp-34h]\n  float v18; // [rsp+30h] [rbp-30h]\n  float v19; // [rsp+34h] [rbp-2Ch]\n  __int64 v20; // [rsp+38h] [rbp-28h]\n  _BYTE v21[25]; // [rsp+47h] [rbp-19h] BYREF\n\n  v18 = a7;\n  v17 = a6;\n  *(float *)&v20 = a5;\n  v19 = a4;\n  v16 = a2;\n  LODWORD(v9) = a2;\n  sub_10001C120(a1, (int *)&v9);\n  if ( v17 <= 0.0 )\n    return GJShaderState::updateTweenAction(a1, a2, *(float *)&v20);\n  v11 = 0;\n  v14 = 0;\n  v9 = (int *)__PAIR64__(v20, LODWORD(v19));\n  v10 = v17;\n  v12 = a3;\n  v13 = v18;\n  v15 = -1;\n  sub_100145000((__int64)a1, (int *)&v16, &v16, (__int128 *)&v9);\n  v20 = a1[10];\n  v9 = (int *)&v16;\n  result = sub_1003BB9B0(a1 + 5, &v16, &unk_100A09436, &v9, v21);\n  *(_QWORD *)(result + 24) = v20;\n  return result;\n}", "assembly": "; \n; GJShaderState::tweenValue from 0x1003b2f10 to 0x1003b2fff (239 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:29:27 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003b2f10\nmov     rbp, rsp                                                       ; +0x1, 0x1003b2f11\npush    r15                                                            ; +0x4, 0x1003b2f14\npush    r14                                                            ; +0x6, 0x1003b2f16\npush    rbx                                                            ; +0x8, 0x1003b2f18\nsub     rsp, 48h                                                       ; +0x9, 0x1003b2f19\nmovss   [rbp+var_30], xmm3                                             ; +0xd, 0x1003b2f1d\nmov     r14d, edx                                                      ; +0x12, 0x1003b2f22\nmovss   [rbp+var_34], xmm2                                             ; +0x15, 0x1003b2f25\nmov     r15d, esi                                                      ; +0x1a, 0x1003b2f2a\nmovss   dword ptr [rbp+var_28], xmm1                                   ; +0x1d, 0x1003b2f2d\nmovss   [rbp+var_2C], xmm0                                             ; +0x22, 0x1003b2f32\nmov     rbx, rdi                                                       ; +0x27, 0x1003b2f37\nmov     [rbp+var_38], esi                                              ; +0x2a, 0x1003b2f3a\nmov     dword ptr [rbp+var_60], esi                                    ; +0x2d, 0x1003b2f3d\nlea     rsi, [rbp+var_60]                                              ; +0x30, 0x1003b2f40\ncall    sub_10001C120                                                  ; +0x34, 0x1003b2f44\nmovss   xmm1, [rbp+var_34]                                             ; +0x39, 0x1003b2f49\nxorps   xmm0, xmm0                                                     ; +0x3e, 0x1003b2f4e\nucomiss xmm1, xmm0                                                     ; +0x41, 0x1003b2f51\njbe     loc_1003B2FE4                                                  ; +0x44, 0x1003b2f54\nxorps   xmm0, xmm0                                                     ; +0x4a, 0x1003b2f5a\nmovups  [rbp+var_54], xmm0                                             ; +0x4d, 0x1003b2f5d\nmov     [rbp+var_44], 0                                                ; +0x51, 0x1003b2f61\nmovss   xmm0, [rbp+var_2C]                                             ; +0x57, 0x1003b2f67\nmovss   dword ptr [rbp+var_60], xmm0                                   ; +0x5c, 0x1003b2f6c\nmovss   xmm0, dword ptr [rbp+var_28]                                   ; +0x61, 0x1003b2f71\nmovss   dword ptr [rbp+var_60+4], xmm0                                 ; +0x66, 0x1003b2f76\nmovss   [rbp+var_58], xmm1                                             ; +0x6b, 0x1003b2f7b\nmov     dword ptr [rbp+var_54+8], r14d                                 ; +0x70, 0x1003b2f80\nmovss   xmm0, [rbp+var_30]                                             ; +0x74, 0x1003b2f84\nmovss   dword ptr [rbp+var_54+0Ch], xmm0                               ; +0x79, 0x1003b2f89\nmov     [rbp+var_40], 0FFFFFFFFFFFFFFFFh                               ; +0x7e, 0x1003b2f8e\nlea     r14, [rbp+var_38]                                              ; +0x86, 0x1003b2f96\nlea     rcx, [rbp+var_60]                                              ; +0x8a, 0x1003b2f9a\nmov     rdi, rbx                                                       ; +0x8e, 0x1003b2f9e\nmov     rsi, r14                                                       ; +0x91, 0x1003b2fa1\nmov     rdx, r14                                                       ; +0x94, 0x1003b2fa4\ncall    sub_100145000                                                  ; +0x97, 0x1003b2fa7\nmovsd   xmm0, qword ptr [rbx+50h]                                      ; +0x9c, 0x1003b2fac\nmovsd   [rbp+var_28], xmm0                                             ; +0xa1, 0x1003b2fb1\nadd     rbx, 28h ; '('                                                 ; +0xa6, 0x1003b2fb6\nmov     [rbp+var_60], r14                                              ; +0xaa, 0x1003b2fba\nlea     rdx, unk_100A09436                                             ; +0xae, 0x1003b2fbe\nlea     rcx, [rbp+var_60]                                              ; +0xb5, 0x1003b2fc5\nlea     r8, [rbp+var_19]                                               ; +0xb9, 0x1003b2fc9\nmov     rdi, rbx                                                       ; +0xbd, 0x1003b2fcd\nmov     rsi, r14                                                       ; +0xc0, 0x1003b2fd0\ncall    sub_1003BB9B0                                                  ; +0xc3, 0x1003b2fd3\nmovsd   xmm0, [rbp+var_28]                                             ; +0xc8, 0x1003b2fd8\nmovsd   qword ptr [rax+18h], xmm0                                      ; +0xcd, 0x1003b2fdd\njmp     short loc_1003B2FF4                                            ; +0xd2, 0x1003b2fe2\nmov     rdi, rbx                                                       ; +0xd4, 0x1003b2fe4\nmovss   xmm0, dword ptr [rbp+var_28]                                   ; +0xd7, 0x1003b2fe7\nmov     esi, r15d                                                      ; +0xdc, 0x1003b2fec\ncall    GJShaderState__updateTweenAction                               ; +0xdf, 0x1003b2fef\nadd     rsp, 48h                                                       ; +0xe4, 0x1003b2ff4\npop     rbx                                                            ; +0xe8, 0x1003b2ff8\npop     r14                                                            ; +0xe9, 0x1003b2ff9\npop     r15                                                            ; +0xeb, 0x1003b2ffb\npop     rbp                                                            ; +0xed, 0x1003b2ffd\nretn                                                                   ; +0xee, 0x1003b2ffe", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}