//
// GJBaseGameLayer::syncDeathMarkerFlip from 0x9a420c to 0x9a4260 (84 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::postUpdate @ 0x79b00c
// > LevelEditorLayer::updateEditor @ 0x7a8f30
// > PlayLayer::dtUpdateLiveMarkers @ 0xc367e8
// > ??> @ 0xa9408
//
// 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 12:58:09 +0000
//
DeathMarkerLayer *__fastcall GJBaseGameLayer::syncDeathMarkerFlip(GJBaseGameLayer *this)
{
float v2; // s1
DeathMarkerLayer *v3; // x0
bool v4; // w20
DeathMarkerLayer *result; // x0
v2 = *((float *)this + 3141);
v3 = *((DeathMarkerLayer **)this + 243);
v4 = v2 == -1.0;
if ( v3 )
DeathMarkerLayer::setFlipped(v3, v4);
result = *((DeathMarkerLayer **)this + 244);
if ( result )
return (DeathMarkerLayer *)DeathMarkerLayer::setFlipped(result, v4);
return result;
}