{"type": "func", "start": 4297513224, "end": 4297513364, "name": "GJShaderState::timesyncShaderAction", "pseudocode": "// \n// GJShaderState::timesyncShaderAction from 0x10026d908 to 0x10026d994 (140 bytes)\n// \n// 2 xrefs:\n// > GJShaderState::timesyncShaderActions @ 0x10026d8f0\n// > ShaderLayer::tweenValueAuto @ 0x100270198\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 GJShaderState::timesyncShaderAction(GJShaderState *a1, int a2)\n{\n  __int64 *v3; // x0\n  __int64 *v4; // x20\n  float v5; // s0\n  int v6; // [xsp+0h] [xbp-30h] BYREF\n  int *v7; // [xsp+8h] [xbp-28h] BYREF\n\n  v6 = a2;\n  v3 = sub_100018814(a1, &v6);\n  if ( v3 )\n  {\n    v4 = v3;\n    v7 = &v6;\n    v5 = a1->m_time\n       - *((double *)sub_100019F24((unsigned __int64)&a1->m_tweenTimes, &v6, (__int64)&unk_100642BA1, &v7) + 3);\n    GJValueTween::step((GJValueTween *)((char *)v4 + 20), v5);\n    GJShaderState::updateTweenAction(a1, *((float *)v4 + 9), v6);\n  }\n}", "assembly": "; \n; GJShaderState::timesyncShaderAction from 0x10026d908 to 0x10026d994 (140 bytes)\n; \n; 2 xrefs:\n; > GJShaderState::timesyncShaderActions @ 0x10026d8f0\n; > ShaderLayer::tweenValueAuto @ 0x100270198\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x10026d908\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10026d90c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10026d910\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10026d914\nADD             X29, SP, #0x30                                         ; +0x10, 0x10026d918\nMOV             X19, X0                                                ; +0x14, 0x10026d91c\nSTR             W1, [SP,#0x30+var_30]                                  ; +0x18, 0x10026d920\nMOV             X21, SP                                                ; +0x1c, 0x10026d924\nMOV             X1, SP                                                 ; +0x20, 0x10026d928\nBL              sub_100018814                                          ; +0x24, 0x10026d92c\nCBZ             X0, loc_10026D980                                      ; +0x28, 0x10026d930\nMOV             X20, X0                                                ; +0x2c, 0x10026d934\nSTR             X21, [SP,#0x30+var_28]                                 ; +0x30, 0x10026d938\nADRL            X2, unk_100642BA1                                      ; +0x34, 0x10026d93c\nADD             X0, X19, #0x28 ; '('                                   ; +0x3c, 0x10026d944\nMOV             X1, SP                                                 ; +0x40, 0x10026d948\nADD             X3, SP, #0x30+var_28                                   ; +0x44, 0x10026d94c\nADD             X4, SP, #0x30+var_29                                   ; +0x48, 0x10026d950\nBL              sub_100019F24                                          ; +0x4c, 0x10026d954\nLDR             D0, [X0,#0x18]                                         ; +0x50, 0x10026d958\nLDR             D1, [X19,#0x50]                                        ; +0x54, 0x10026d95c\nFSUB            D0, D1, D0                                             ; +0x58, 0x10026d960\nFCVT            S0, D0                                                 ; +0x5c, 0x10026d964\nADD             X0, X20, #0x14                                         ; +0x60, 0x10026d968\nBL              GJValueTween__step                                     ; +0x64, 0x10026d96c\nLDR             S0, [X20,#0x24]                                        ; +0x68, 0x10026d970\nLDR             W1, [SP,#0x30+var_30]                                  ; +0x6c, 0x10026d974\nMOV             X0, X19                                                ; +0x70, 0x10026d978\nBL              GJShaderState__updateTweenAction                       ; +0x74, 0x10026d97c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x78, 0x10026d980\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x7c, 0x10026d984\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x80, 0x10026d988\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x10026d98c\nRET                                                                    ; +0x88, 0x10026d990", "xrefs": ["GJShaderState::timesyncShaderActions @ 0x10026d8f0", "ShaderLayer::tweenValueAuto @ 0x100270198"], "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"}