//
// DeathMarkerLayer::tickDeathCountLabel from 0xc9d270 to 0xc9d32c (188 bytes)
//
// 3 xrefs:
// > ??> @ 0x447e8
// > DeathMarkerLayer::init @ 0xca497c
// > ??> @ 0x1541400
//
// 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:57 +0000
//
cocos2d::CCNode *__fastcall DeathMarkerLayer::tickDeathCountLabel(cocos2d::CCNode *this)
{
int v1; // w1
__int64 v2; // x19
cocos2d::CCNode *v3; // x20
const char *v4; // x1
__int64 (__fastcall *v5)(cocos2d::CCNode *, __int64); // x19
cocos2d::CCString *v6; // x0
__int64 CString; // x0
cocos2d::CCScaleTo *v8; // x0
cocos2d::CCScaleTo *v9; // x19
cocos2d::CCFiniteTimeAction *v10; // x0
cocos2d::CCAction *v11; // x0
v1 = *((_DWORD *)this + 110);
if ( (v1 & 0x80000000) == 0 )
{
v2 = *((_QWORD *)this + 40) + 80LL * v1;
this = *(cocos2d::CCNode **)(v2 + 72);
if ( this )
{
this = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)this + 480LL))(
this,
93);
v3 = this;
if ( this )
{
v4 = (const char *)*(unsigned int *)(v2 + 32);
v5 = *(__int64 (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)this + 928LL);
v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%d", v4);
CString = cocos2d::CCString::getCString(v6);
v8 = (cocos2d::CCScaleTo *)v5(v3, CString);
v9 = (cocos2d::CCScaleTo *)cocos2d::CCScaleTo::create(v8, 0.1, 1.3);
v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCScaleTo::create(v9, 0.15, 1.0);
v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, 0);
return (cocos2d::CCNode *)cocos2d::CCNode::runAction(v3, v11);
}
}
}
return this;
}