// // DeathMarkerSettingsPopup::onTimescaleSlider from 0x14011daa0 to 0x14011dd1d (637 bytes) // // 2 xrefs: // > DeathMarkerSettingsPopup::init @ 0x14011cb81 // > @ 0x14091643c // // 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 11:26:55 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall DeathMarkerSettingsPopup::onTimescaleSlider(__int64 a1) { __int64 v2; // rcx float Value; // xmm0_4 float v4; // xmm0_4 int v5; // eax float v6; // xmm0_4 float v7; // xmm0_4 int v8; // ebp __int64 v9; // rbx __int64 v10; // rbx struct cocos2d::CCString *v11; // rax void *v12; // rcx __int64 v13; // rdi void (__fastcall **v14)(__int64, const char *); // rdi __int64 v15; // rbx cocos2d::CCString *v16; // rax const char *CString; // rax void *v18; // [rsp+30h] [rbp-48h] void *Block[2]; // [rsp+38h] [rbp-40h] BYREF __int64 v20; // [rsp+48h] [rbp-30h] unsigned __int64 v21; // [rsp+50h] [rbp-28h] v2 = *(_QWORD *)(a1 + 1024); if ( v2 ) { Value = SliderThumb::getValue(*(float **)(*(_QWORD *)(v2 + 408) + 456LL)); if ( (int)roundf(Value * 15.0) > 15 || (v4 = SliderThumb::getValue(*(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 1024) + 408LL) + 456LL)), (int)roundf(v4 * 15.0) >= 0) ) { v6 = SliderThumb::getValue(*(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 1024) + 408LL) + 456LL)); if ( (int)roundf(v6 * 15.0) <= 15 ) { v7 = SliderThumb::getValue(*(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 1024) + 408LL) + 456LL)); v5 = (int)roundf(v7 * 15.0); } else { v5 = 15; } } else { v5 = 0; } v8 = 10 * (v5 + 5); v9 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v18 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v18); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v9 = qword_14090BFD0; } *(_OWORD *)Block = 0; v20 = 3; v21 = 15; LODWORD(Block[0]) = 6256231; sub_140044D80(Block, "0211", 4u); v10 = *(_QWORD *)(v9 + 432); v11 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, (unsigned int)v8); cocos2d::CCDictionary::setObject(v10, v11, Block); if ( v21 > 0xF ) { v12 = Block[0]; if ( v21 + 1 >= 0x1000 ) { v12 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v12 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v12); } v13 = *(_QWORD *)(a1 + 1032); if ( v13 ) { v14 = *(void (__fastcall ***)(__int64, const char *))(v13 + 360); v15 = *(_QWORD *)(a1 + 1032); v16 = cocos2d::CCString::createWithFormat("%.1fx", (float)((float)v8 / 100.0)); CString = cocos2d::CCString::getCString(v16); (*v14)(v15 + 360, CString); } } }