//
// GJBaseGameLayer::syncDeathMarkerFlip from 0x10011cab0 to 0x10011cb1e (110 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateEditor @ 0x1000ac874
// > LevelEditorLayer::postUpdate @ 0x1000c738b
// > PlayLayer::dtUpdateLiveMarkers @ 0x1009613b0
//
// 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:24:36 +0000
//
__int64 __fastcall GJBaseGameLayer::syncDeathMarkerFlip(__int64 a1)
{
__m128 v2; // xmm1
__int64 v3; // rdi
__int64 result; // rax
__int64 v5; // rdi
__m128 v6; // rt1
v2 = (__m128)*(unsigned int *)(a1 + 12564);
v3 = *(_QWORD *)(a1 + 1944);
if ( v3 )
{
result = sub_1008C1AC0(v3, _mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss((__m128)0xBF800000, v2)) & 1);
v2 = (__m128)v2.u32[0];
}
v5 = *(_QWORD *)(a1 + 1952);
if ( v5 )
{
v6.i32[0] = -1082130432;
return sub_1008C1AC0(v5, _mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss(v2, v6)) & 1);
}
return result;
}