// // ShaderLayer::updateZLayer from 0x1003b4500 to 0x1003b4580 (128 bytes) // // 1 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x100117fe3 // // 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:27 +0000 // char __fastcall ShaderLayer::updateZLayer(__int64 a1, int a2, int a3, char a4) { int v4; // r8d int v5; // eax v4 = 1; if ( a2 >= 2 ) v4 = a2; v5 = 15; if ( a3 > 0 ) v5 = a3; if ( *(_DWORD *)(a1 + 1068) == v4 ) { if ( *(_DWORD *)(a1 + 1072) == v5 ) goto LABEL_7; } else { *(_DWORD *)(a1 + 1068) = v4; *(_BYTE *)(a1 + 1076) = 1; if ( *(_DWORD *)(a1 + 1072) == v5 ) { LABEL_7: if ( *(_BYTE *)(a1 + 1077) == a4 ) return v5; goto LABEL_11; } } *(_DWORD *)(a1 + 1072) = v5; *(_BYTE *)(a1 + 1076) = 1; if ( *(_BYTE *)(a1 + 1077) == a4 ) return v5; LABEL_11: *(_BYTE *)(a1 + 1077) = a4; LOBYTE(v5) = v5 != 8; if ( ((unsigned __int8)v5 & (a2 != 8)) == 0 ) *(_BYTE *)(a1 + 1076) = 1; return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source