//
// sub_10051D908 from 0x10051d908 to 0x10051d9c0 (184 bytes)
//
// 2 xrefs:
// > sub_10051DC48 @ 0x10051dd3c
// > PlayLayer::tryShowDeathMarkers @ 0x10051e2ec
//
// 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 11:07:10 +0000
//
void __fastcall sub_10051D908(__int64 a1, __int64 a2)
{
__int64 v4; // x8
__int64 v5; // x21
unsigned __int64 v6; // x22
sub_100015DB8(a2, 3 * ((unsigned __int64)((__int64)(*(_QWORD *)(a1 + 14448) - *(_QWORD *)(a1 + 14440)) >> 2) >> 2));
v4 = *(_QWORD *)(a1 + 14440);
if ( (unsigned __int64)(*(_QWORD *)(a1 + 14448) - v4) >= 0x10 )
{
v5 = 4;
v6 = 4;
do
{
sub_10000D038(a2, (int *)(v4 + v5 - 4));
sub_10000D038(a2, (int *)(*(_QWORD *)(a1 + 14440) + v5));
sub_10000D038(a2, (int *)(*(_QWORD *)(a1 + 14440) + v5 + 4));
v6 += 4LL;
v4 = *(_QWORD *)(a1 + 14440);
v5 += 16;
}
while ( v6 <= (*(_QWORD *)(a1 + 14448) - v4) >> 2 );
}
}