//
// DeathMarkerSettingsPopup::updateTimescaleLabel from 0x76de30 to 0x76de70 (64 bytes)
//
// 2 xrefs:
// > DeathMarkerSettingsPopup::onTimescaleSlider @ 0x76df26
// > DeathMarkerSettingsPopup::init @ 0x76e7be
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:13 +0000
//
int __fastcall DeathMarkerSettingsPopup::updateTimescaleLabel(int this, const char *a2)
{
int v2; // r4
int (__fastcall *v3)(int, int); // r5
cocos2d::CCString *v4; // r0
int CString; // r0
v2 = *(_DWORD *)(this + 728);
if ( v2 )
{
v3 = *(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 464);
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%.1fx",
a2,
(float)((float)(int)a2 / 100.0));
CString = cocos2d::CCString::getCString(v4);
return v3(v2, CString);
}
return this;
}