//
// sub_1008BF470 from 0x1008bf470 to 0x1008bf549 (217 bytes)
//
// 1 xrefs:
// > DeathMarkerLayer::init @ 0x1008be6a3
//
// 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:37:28 +0000
//
__int64 __fastcall sub_1008BF470(__int64 a1)
{
__int64 result; // rax
__int64 v2; // r14
__int64 v3; // r15
__int64 v4; // rdi
__int64 v5; // rbx
char *v6; // rax
__int64 CString; // rax
_OWORD *v8; // r14
_OWORD *v9; // rax
__int64 v10; // rax
result = *(int *)(a1 + 440);
if ( result >= 0 )
{
v2 = *(_QWORD *)(a1 + 320);
v3 = 80 * result;
v4 = *(_QWORD *)(v2 + 80 * result + 72);
if ( v4 )
{
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 480LL))(v4, 93);
if ( result )
{
v5 = result;
v6 = sub_10088E820("%d", *(_DWORD *)(v3 + v2 + 32));
CString = cocos2d::CCString::getCString((__int64)v6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 928LL))(v5, CString);
v8 = cocos2d::CCScaleTo::create_1((__m128)0x3DCCCCCDu, 1.3);
v9 = cocos2d::CCScaleTo::create_1((__m128)0x3E19999Au, 1.0);
v10 = sub_10039EB60((__int64)v8, v9, 0);
return cocos2d::CCNode::runAction(v5, v10);
}
}
}
return result;
}