//
// sub_CA9C5C from 0xca9c5c to 0xca9d98 (316 bytes)
//
// 5 xrefs:
// > DeathTrackerPopup::mountVirtualRow @ 0xcaaf88
// > DeathTrackerPopup::mountVirtualRow @ 0xcaafa4
// > DeathTrackerPopup::buildList @ 0xcb0c0c
// > DeathTrackerPopup::buildList @ 0xcb0ee8
// > DeathTrackerPopup::buildList @ 0xcb1310
//
// 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:06:04 +0000
//
__int64 __fastcall sub_CA9C5C(__int64 a1, float a2, float a3)
{
__int64 v6; // x19
void (__fastcall *v7)(__int64, _BYTE *); // x23
void (__fastcall *v8)(__int64, _BYTE *); // x2
void (__fastcall *v9)(__int64, _BYTE *); // x23
_BYTE v11[16]; // [xsp+58h] [xbp+58h] BYREF
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, 0.0, 0.0, 40.0, 40.0);
v6 = cocos2d::extension::CCScale9Sprite::create("square02b_small.png", v11);
v7 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v11, (float)(a2 - 12.0) * 1.2, 18.0);
v7(v6, v11);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 160LL))(v6, 0.83333);
v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 960LL);
qmemcpy(v11, "B$", 2);
v11[2] = 22;
v8(v6, v11);
v9 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, a2 * 0.5, a3);
v9(v6, v11);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v6);
return _stack_chk_guard;
}