// // ShaderLayer::updateZLayer from 0xb2e698 to 0xb2e718 (128 bytes) // // 4 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x99fcb0 // > ShaderLayer::resetAllShaders @ 0xb2e754 // > ShaderLayer::init @ 0xb3042c // > @ 0xa41a0 // // 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 13:01:42 +0000 // __int64 __fastcall ShaderLayer::updateZLayer(__int64 this, int a2, int a3, unsigned __int8 a4) { int v4; // w1 if ( a2 <= 0 ) a2 = 1; if ( a3 <= 0 ) a3 = 15; if ( *(_DWORD *)(this + 1068) != a2 ) { *(_DWORD *)(this + 1068) = a2; *(_BYTE *)(this + 1076) = 1; } if ( *(_DWORD *)(this + 1072) != a3 ) { *(_DWORD *)(this + 1072) = a3; *(_BYTE *)(this + 1076) = 1; } if ( *(unsigned __int8 *)(this + 1077) != a4 ) { v4 = *(_DWORD *)(this + 1068); *(_BYTE *)(this + 1077) = a4; if ( v4 == 8 || *(_DWORD *)(this + 1072) == 8 ) *(_BYTE *)(this + 1076) = 1; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source