//
// DeathMarkerSettingsPopup::updateTimescaleLabel from 0xca5da4 to 0xca5df8 (84 bytes)
//
// 3 xrefs:
// > DeathMarkerSettingsPopup::onTimescaleSlider @ 0xca5e7c
// > DeathMarkerSettingsPopup::init @ 0xca6950
// > ??> @ 0xf93a0
//
// 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:02 +0000
//
__int64 __fastcall DeathMarkerSettingsPopup::updateTimescaleLabel(__int64 this, int a2)
{
const char **v2; // x19
__int64 (__fastcall *v3)(const char **, __int64); // x20
cocos2d::CCString *v4; // x0
__int64 CString; // x0
v2 = *(const char ***)(this + 1048);
if ( v2 )
{
v3 = *((__int64 (__fastcall **)(const char **, __int64))*v2 + 116);
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%.1fx",
*v2,
(float)((float)a2 / 100.0));
CString = cocos2d::CCString::getCString(v4);
return v3(v2, CString);
}
return this;
}