// // DeathMarkerSettingsPopup::onFrequencySlider from 0x14011d840 to 0x14011da91 (593 bytes) // // 2 xrefs: // > DeathMarkerSettingsPopup::init @ 0x14011c6a4 // > @ 0x140916430 // // 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::onFrequencySlider(__int64 a1) { __int64 v2; // rcx float Value; // xmm0_4 float v4; // xmm0_4 __int64 v5; // rdi float v6; // xmm0_4 float v7; // xmm0_4 __int64 v8; // rbx __int64 v9; // rbx struct cocos2d::CCString *v10; // rax void *v11; // rcx __int64 v12; // rcx void *v13; // [rsp+30h] [rbp-58h] void *Block[2]; // [rsp+38h] [rbp-50h] BYREF __int64 v15; // [rsp+48h] [rbp-40h] unsigned __int64 v16; // [rsp+50h] [rbp-38h] v2 = *(_QWORD *)(a1 + 1008); if ( v2 ) { Value = SliderThumb::getValue(*(float **)(*(_QWORD *)(v2 + 408) + 456LL)); if ( (int)roundf(Value * 5.0) > 5 || (v4 = SliderThumb::getValue(*(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 1008) + 408LL) + 456LL)), (int)roundf(v4 * 5.0) >= 0) ) { v6 = SliderThumb::getValue(*(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 1008) + 408LL) + 456LL)); if ( (int)roundf(v6 * 5.0) <= 5 ) { v7 = SliderThumb::getValue(*(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 1008) + 408LL) + 456LL)); v5 = (unsigned int)(int)roundf(v7 * 5.0); } else { v5 = 5; } } else { v5 = 0; } v8 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v13 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v8 = qword_14090BFD0; } *(_OWORD *)Block = 0; v15 = 3; v16 = 15; LODWORD(Block[0]) = 6256231; sub_140044D80(Block, "0205", 4u); v9 = *(_QWORD *)(v8 + 432); v10 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, (unsigned int)(v5 + 1)); cocos2d::CCDictionary::setObject(v9, v10, Block); if ( v16 > 0xF ) { v11 = Block[0]; if ( v16 + 1 >= 0x1000 ) { v11 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v11 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v11); } if ( (int)v5 > 5 ) v5 = 5; if ( (int)v5 < 0 ) v5 = 0; v12 = *(_QWORD *)(a1 + 1016); if ( v12 ) (**(void (__fastcall ***)(__int64, char *))(v12 + 360))(v12 + 360, off_140702F08[v5]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source