//
// DeathMarkerLayer::queueDeathLabelSound from 0x769f34 to 0x769f8a (86 bytes)
//
// 2 xrefs:
// > PlayLayer::tryShowDeathMarkers @ 0x72d6b6
// > PlayLayer::tryShowDeathMarkers @ 0x72d6da
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:10 +0000
//
float *__fastcall DeathMarkerLayer::queueDeathLabelSound(float *this, float a2)
{
cocos2d::CCNode *v2; // r4
float v3; // s14
cocos2d::CCSequence *v4; // r6
cocos2d::CCFiniteTimeAction *v5; // r0
int v6; // r3
cocos2d::CCAction *v7; // r0
v2 = (cocos2d::CCNode *)this;
if ( SLODWORD(a2) > 0 )
{
v3 = *(this + 84);
*(this + 86) = a2;
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(COERCE_COCOS2D_CCDELAYTIME_(v3 * 0.3), a2);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v2, DeathMarkerLayer::playPendingLabelSound, 0);
v7 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0, v6, DeathMarkerLayer::playPendingLabelSound, 0);
return (float *)cocos2d::CCNode::runAction(v2, v7);
}
return this;
}