//
// DeathMarkerLayer::queueDeathLabelSound from 0xc9fe14 to 0xc9fe88 (116 bytes)
//
// 3 xrefs:
// > PlayLayer::tryShowDeathMarkers @ 0xc37880
// > PlayLayer::tryShowDeathMarkers @ 0xc378b0
// > ??> @ 0x5beb8
//
// 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:05:58 +0000
//
__int64 __fastcall DeathMarkerLayer::queueDeathLabelSound(__int64 this, int a2)
{
float v2; // s1
cocos2d::CCNode *v3; // x19
cocos2d::CCSequence *v4; // x20
cocos2d::CCFiniteTimeAction *v5; // x0
cocos2d::CCAction *v6; // x0
if ( a2 > 0 )
{
v2 = *(float *)(this + 436);
*(_DWORD *)(this + 444) = a2;
v3 = (cocos2d::CCNode *)this;
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)this, v2 * 0.3);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v3, DeathMarkerLayer::playPendingLabelSound, 0);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0);
return cocos2d::CCNode::runAction(v3, v6);
}
return this;
}