//
// ShaderLayer::resetTargetContainer from 0x1003b95d0 to 0x1003b964d (125 bytes)
//
// 0 xrefs:
//
// 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 12:29:29 +0000
//
__int64 __fastcall ShaderLayer::resetTargetContainer(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rbx
result = *(_QWORD *)(a1 + 1128);
if ( result )
{
v2 = *(_QWORD *)(result + 8LL * (*(_DWORD *)(a1 + 1068) >= 2) + 3896);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 184LL))(v2, a1 + 1136);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v2 + 160LL))(v2, 1.0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v2 + 360LL))(v2, *(float *)(a1 + 1144));
return (*(__int64 (__fastcall **)(__int64, double))(*(_QWORD *)a1 + 360LL))(a1, 0.0);
}
return result;
}