//
// sub_1008D7200 from 0x1008d7200 to 0x1008d72fc (252 bytes)
//
// 4 xrefs:
// > sub_1008D3CC0 @ 0x1008d49a4
// > sub_1008D3CC0 @ 0x1008d5f41
// > DeathTrackerPopup::mountVirtualRow @ 0x1008d7515
// > DeathTrackerPopup::mountVirtualRow @ 0x1008d757f
//
// 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:41 +0000
//
void __fastcall sub_1008D7200(__int64 a1, char a2, float a3, float a4)
{
void *v4; // r14
unsigned __int64 v5[2]; // [rsp-38h] [rbp-38h] BYREF
float v6; // [rsp-28h] [rbp-28h]
float v7; // [rsp-24h] [rbp-24h]
if ( (a2 & 1) == 0 )
{
v7 = a3;
v6 = a4;
sub_100278270((__int64)v5, 0.0, 0.0, (__m128)0x42200000u, (__m128)0x42200000u);
v4 = cocos2d::extension::CCScale9Sprite::create_2((__int64)"square02b_small.png", v5);
sub_100278260((float *)v5, (float)(v7 + -12.0) * 1.2, 18.0);
(*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v4 + 320LL))(v4, v5);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v4 + 160LL))(v4, 0.83333331);
BYTE2(v5[0]) = 22;
LOWORD(v5[0]) = 9282;
(*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v4 + 960LL))(v4, v5);
sub_100278250((float *)v5, v7 * 0.5, v6);
(*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v4 + 184LL))(v4, v5);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)a1 + 456LL))(a1, v4);
}
}