// // ShaderLayer::setupShockWaveUniforms from 0x1406252f0 to 0x14062551b (555 bytes) // // 2 xrefs: // > ShaderLayer::setupShader @ 0x140622f73 // > @ 0x1409305e4 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:35:24 +0000 // __int64 __fastcall ShaderLayer::setupShockWaveUniforms(__int64 a1) { __int64 v2; // rax int UniformLocation; // eax __int64 v4; // rcx __int64 v5; // rax int v6; // eax __int64 v7; // rcx __int64 v8; // rax int v9; // eax __int64 v10; // rcx __int64 v11; // rax int v12; // eax __int64 v13; // rcx __int64 v14; // rax int v15; // eax __int64 v16; // rcx __int64 v17; // rax int v18; // eax __int64 v19; // rcx __int64 v20; // rax int v21; // eax __int64 v22; // rcx __int64 v23; // rax int v24; // eax __int64 v25; // rcx __int64 v26; // rax int v27; // eax __int64 v28; // rcx __int64 v29; // rax int v30; // eax __int64 v31; // rcx __int64 v32; // rax int v33; // eax __int64 v34; // rcx __int64 v35; // rax __int64 result; // rax v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1152) + 648LL))(*(_QWORD *)(a1 + 1152)); UniformLocation = _glewGetUniformLocation(*(unsigned int *)(v2 + 56), "_shockWaveTime"); v4 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1276) = UniformLocation; v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 648LL))(v4); v6 = _glewGetUniformLocation(*(unsigned int *)(v5 + 56), "_shockWaveTime1"); v7 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1280) = v6; v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 648LL))(v7); v9 = _glewGetUniformLocation(*(unsigned int *)(v8 + 56), "_shockWaveTime2"); v10 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1284) = v9; v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 648LL))(v10); v12 = _glewGetUniformLocation(*(unsigned int *)(v11 + 56), "_shockWaveTime3"); v13 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1288) = v12; v14 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 648LL))(v13); v15 = _glewGetUniformLocation(*(unsigned int *)(v14 + 56), "_shockWaveTime4"); v16 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1292) = v15; v17 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v16 + 648LL))(v16); v18 = _glewGetUniformLocation(*(unsigned int *)(v17 + 56), "_shockWaveStrength"); v19 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1296) = v18; v20 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v19 + 648LL))(v19); v21 = _glewGetUniformLocation(*(unsigned int *)(v20 + 56), "_shockWaveWaves"); v22 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1300) = v21; v23 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v22 + 648LL))(v22); v24 = _glewGetUniformLocation(*(unsigned int *)(v23 + 56), "_shockWaveCenter"); v25 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1304) = v24; v26 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v25 + 648LL))(v25); v27 = _glewGetUniformLocation(*(unsigned int *)(v26 + 56), "_shockWaveInvert"); v28 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1308) = v27; v29 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v28 + 648LL))(v28); v30 = _glewGetUniformLocation(*(unsigned int *)(v29 + 56), "_shockWaveMinSize"); v31 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1312) = v30; v32 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v31 + 648LL))(v31); v33 = _glewGetUniformLocation(*(unsigned int *)(v32 + 56), "_shockWaveMaxSize"); v34 = *(_QWORD *)(a1 + 1152); *(_DWORD *)(a1 + 1316) = v33; v35 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v34 + 648LL))(v34); result = _glewGetUniformLocation(*(unsigned int *)(v35 + 56), "_shockWaveMaxDistVal"); *(_DWORD *)(a1 + 1320) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source