//
// ShaderLayer::resetAllShaders from 0x100311210 to 0x100311280 (112 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x10028c7c0
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f214
// > sub_1003F823C @ 0x1003f86c4
//
// This function is hookable on this platform (idp: arm, 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:03:13 +0000
//
void __fastcall ShaderLayer::resetAllShaders(__int64 a1)
{
cocos2d::CCNode::stopAllActions(a1);
sub_10030B7A0(a1 + 408);
*(_QWORD *)(a1 + 488) = *(_QWORD *)(a1 + 504);
if ( *(_DWORD *)(a1 + 1068) != 1 )
{
*(_DWORD *)(a1 + 1068) = 1;
*(_BYTE *)(a1 + 1076) = 1;
}
if ( *(_DWORD *)(a1 + 1072) != 15 )
{
*(_DWORD *)(a1 + 1072) = 15;
*(_BYTE *)(a1 + 1076) = 1;
}
if ( *(_BYTE *)(a1 + 1077) )
*(_BYTE *)(a1 + 1077) = 0;
}