{"type": "func", "start": 5369879200, "end": 5369879837, "name": "DeathMarkerSettingsPopup::onTimescaleSlider", "pseudocode": "// \n// DeathMarkerSettingsPopup::onTimescaleSlider from 0x14011daa0 to 0x14011dd1d (637 bytes)\n// \n// 2 xrefs:\n// > DeathMarkerSettingsPopup::init @ 0x14011cb81\n// > <???> @ 0x14091643c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:26:55 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall DeathMarkerSettingsPopup::onTimescaleSlider(__int64 a1)\n{\n  __int64 v2; // rcx\n  float Value; // xmm0_4\n  float v4; // xmm0_4\n  int v5; // eax\n  float v6; // xmm0_4\n  float v7; // xmm0_4\n  int v8; // ebp\n  __int64 v9; // rbx\n  __int64 v10; // rbx\n  struct cocos2d::CCString *v11; // rax\n  void *v12; // rcx\n  __int64 v13; // rdi\n  void (__fastcall **v14)(__int64, const char *); // rdi\n  __int64 v15; // rbx\n  cocos2d::CCString *v16; // rax\n  const char *CString; // rax\n  void *v18; // [rsp+30h] [rbp-48h]\n  void *Block[2]; // [rsp+38h] [rbp-40h] BYREF\n  __int64 v20; // [rsp+48h] [rbp-30h]\n  unsigned __int64 v21; // [rsp+50h] [rbp-28h]\n\n  v2 = *(_QWORD *)(a1 + 1024);\n  if ( v2 )\n  {\n    Value = SliderThumb::getValue(*(float **)(*(_QWORD *)(v2 + 408) + 456LL));\n    if ( (int)roundf(Value * 15.0) > 15\n      || (v4 = SliderThumb::getValue(*(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 1024) + 408LL) + 456LL)),\n          (int)roundf(v4 * 15.0) >= 0) )\n    {\n      v6 = SliderThumb::getValue(*(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 1024) + 408LL) + 456LL));\n      if ( (int)roundf(v6 * 15.0) <= 15 )\n      {\n        v7 = SliderThumb::getValue(*(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 1024) + 408LL) + 456LL));\n        v5 = (int)roundf(v7 * 15.0);\n      }\n      else\n      {\n        v5 = 15;\n      }\n    }\n    else\n    {\n      v5 = 0;\n    }\n    v8 = 10 * (v5 + 5);\n    v9 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v18 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager(v18);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v9 = qword_14090BFD0;\n    }\n    *(_OWORD *)Block = 0;\n    v20 = 3;\n    v21 = 15;\n    LODWORD(Block[0]) = 6256231;\n    sub_140044D80(Block, \"0211\", 4u);\n    v10 = *(_QWORD *)(v9 + 432);\n    v11 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, (unsigned int)v8);\n    cocos2d::CCDictionary::setObject(v10, v11, Block);\n    if ( v21 > 0xF )\n    {\n      v12 = Block[0];\n      if ( v21 + 1 >= 0x1000 )\n      {\n        v12 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v12 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v12);\n    }\n    v13 = *(_QWORD *)(a1 + 1032);\n    if ( v13 )\n    {\n      v14 = *(void (__fastcall ***)(__int64, const char *))(v13 + 360);\n      v15 = *(_QWORD *)(a1 + 1032);\n      v16 = cocos2d::CCString::createWithFormat(\"%.1fx\", (float)((float)v8 / 100.0));\n      CString = cocos2d::CCString::getCString(v16);\n      (*v14)(v15 + 360, CString);\n    }\n  }\n}", "assembly": "; \n; DeathMarkerSettingsPopup::onTimescaleSlider from 0x14011daa0 to 0x14011dd1d (637 bytes)\n; \n; 2 xrefs:\n; > DeathMarkerSettingsPopup::init @ 0x14011cb81\n; > <???> @ 0x14091643c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:26:55 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14011daa0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x14011daa5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14011daaa\npush    rdi                                                            ; +0xf, 0x14011daaf\nsub     rsp, 70h                                                       ; +0x10, 0x14011dab0\nmovaps  [rsp+78h+var_18], xmm6                                         ; +0x14, 0x14011dab4\nmov     rax, cs:__security_cookie                                      ; +0x19, 0x14011dab9\nxor     rax, rsp                                                       ; +0x20, 0x14011dac0\nmov     [rsp+78h+var_20], rax                                          ; +0x23, 0x14011dac3\nmov     rsi, rcx                                                       ; +0x28, 0x14011dac8\nmov     rcx, [rcx+400h]                                                ; +0x2b, 0x14011dacb\ntest    rcx, rcx                                                       ; +0x32, 0x14011dad2\njz      loc_14011DCF5                                                  ; +0x35, 0x14011dad5\nmov     rcx, [rcx+198h]                                                ; +0x3b, 0x14011dadb\nmov     rcx, [rcx+1C8h]                                                ; +0x42, 0x14011dae2\ncall    SliderThumb__getValue                                          ; +0x49, 0x14011dae9\nmovss   xmm6, cs:dword_14083555C                                       ; +0x4e, 0x14011daee\nmulss   xmm0, xmm6; X                                                  ; +0x56, 0x14011daf6\ncall    cs:__imp_roundf                                                ; +0x5a, 0x14011dafa\ncvttss2si eax, xmm0                                                    ; +0x60, 0x14011db00\ncmp     eax, 0Fh                                                       ; +0x64, 0x14011db04\njg      short loc_14011DB39                                            ; +0x67, 0x14011db07\nmov     rax, [rsi+400h]                                                ; +0x69, 0x14011db09\nmov     rcx, [rax+198h]                                                ; +0x70, 0x14011db10\nmov     rcx, [rcx+1C8h]                                                ; +0x77, 0x14011db17\ncall    SliderThumb__getValue                                          ; +0x7e, 0x14011db1e\nmulss   xmm0, xmm6; X                                                  ; +0x83, 0x14011db23\ncall    cs:__imp_roundf                                                ; +0x87, 0x14011db27\ncvttss2si eax, xmm0                                                    ; +0x8d, 0x14011db2d\ntest    eax, eax                                                       ; +0x91, 0x14011db31\njns     short loc_14011DB39                                            ; +0x93, 0x14011db33\nxor     eax, eax                                                       ; +0x95, 0x14011db35\njmp     short loc_14011DB95                                            ; +0x97, 0x14011db37\nmov     rax, [rsi+400h]                                                ; +0x99, 0x14011db39\nmov     rcx, [rax+198h]                                                ; +0xa0, 0x14011db40\nmov     rcx, [rcx+1C8h]                                                ; +0xa7, 0x14011db47\ncall    SliderThumb__getValue                                          ; +0xae, 0x14011db4e\nmulss   xmm0, xmm6; X                                                  ; +0xb3, 0x14011db53\ncall    cs:__imp_roundf                                                ; +0xb7, 0x14011db57\ncvttss2si eax, xmm0                                                    ; +0xbd, 0x14011db5d\ncmp     eax, 0Fh                                                       ; +0xc1, 0x14011db61\njle     short loc_14011DB6D                                            ; +0xc4, 0x14011db64\nmov     eax, 0Fh                                                       ; +0xc6, 0x14011db66\njmp     short loc_14011DB95                                            ; +0xcb, 0x14011db6b\nmov     rax, [rsi+400h]                                                ; +0xcd, 0x14011db6d\nmov     rcx, [rax+198h]                                                ; +0xd4, 0x14011db74\nmov     rcx, [rcx+1C8h]                                                ; +0xdb, 0x14011db7b\ncall    SliderThumb__getValue                                          ; +0xe2, 0x14011db82\nmulss   xmm0, xmm6; X                                                  ; +0xe7, 0x14011db87\ncall    cs:__imp_roundf                                                ; +0xeb, 0x14011db8b\ncvttss2si eax, xmm0                                                    ; +0xf1, 0x14011db91\nlea     eax, [rax+5]                                                   ; +0xf5, 0x14011db95\nlea     ebp, [rax+rax*4]                                               ; +0xf8, 0x14011db98\nadd     ebp, ebp                                                       ; +0xfb, 0x14011db9b\nmov     rbx, cs:qword_14090BFD0                                        ; +0xfd, 0x14011db9d\ntest    rbx, rbx                                                       ; +0x104, 0x14011dba4\njnz     short loc_14011DBDB                                            ; +0x107, 0x14011dba7\nmov     ecx, 6E8h; Size                                                ; +0x109, 0x14011dba9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x10e, 0x14011dbae\nmov     [rsp+78h+var_48], rax                                          ; +0x113, 0x14011dbb3\nmov     rcx, rax                                                       ; +0x118, 0x14011dbb8\ncall    GameManager__GameManager                                       ; +0x11b, 0x14011dbbb\nnop                                                                    ; +0x120, 0x14011dbc0\nmov     cs:qword_14090BFD0, rax                                        ; +0x121, 0x14011dbc1\nmov     rcx, [rax]                                                     ; +0x128, 0x14011dbc8\nmov     rdx, [rcx+48h]                                                 ; +0x12b, 0x14011dbcb\nmov     rcx, rax                                                       ; +0x12f, 0x14011dbcf\ncall    rdx                                                            ; +0x132, 0x14011dbd2\nmov     rbx, cs:qword_14090BFD0                                        ; +0x134, 0x14011dbd4\nxorps   xmm0, xmm0                                                     ; +0x13b, 0x14011dbdb\nmovups  xmmword ptr [rsp+78h+Block], xmm0                              ; +0x13e, 0x14011dbde\nmov     [rsp+78h+var_30], 3                                            ; +0x143, 0x14011dbe3\nmov     [rsp+78h+var_28], 0Fh                                          ; +0x14c, 0x14011dbec\nmov     eax, cs:dword_140757618                                        ; +0x155, 0x14011dbf5\nmov     word ptr [rsp+78h+Block], ax                                   ; +0x15b, 0x14011dbfb\nmovzx   eax, byte ptr cs:dword_140757618+2                             ; +0x160, 0x14011dc00\nmov     byte ptr [rsp+78h+Block+2], al                                 ; +0x167, 0x14011dc07\nmov     byte ptr [rsp+78h+Block+3], 0                                  ; +0x16b, 0x14011dc0b\nmov     r8d, 4; Size                                                   ; +0x170, 0x14011dc10\nlea     rdx, a0211; \"0211\"                                             ; +0x176, 0x14011dc16\nlea     rcx, [rsp+78h+Block]; Src                                      ; +0x17d, 0x14011dc1d\ncall    sub_140044D80                                                  ; +0x182, 0x14011dc22\nmov     rbx, [rbx+1B0h]                                                ; +0x187, 0x14011dc27\nmov     edx, ebp                                                       ; +0x18e, 0x14011dc2e\nlea     rcx, word_1406ED6F8                                            ; +0x190, 0x14011dc30\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x197, 0x14011dc37\nmov     rdx, rax                                                       ; +0x19d, 0x14011dc3d\nlea     r8, [rsp+78h+Block]                                            ; +0x1a0, 0x14011dc40\nmov     rcx, rbx                                                       ; +0x1a5, 0x14011dc45\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x1a8, 0x14011dc48\nnop                                                                    ; +0x1ae, 0x14011dc4e\nmov     rdx, [rsp+78h+var_28]                                          ; +0x1af, 0x14011dc4f\ncmp     rdx, 0Fh                                                       ; +0x1b4, 0x14011dc54\njbe     short loc_14011DCA2                                            ; +0x1b8, 0x14011dc58\ninc     rdx                                                            ; +0x1ba, 0x14011dc5a\nmov     rcx, [rsp+78h+Block]; Block                                    ; +0x1bd, 0x14011dc5d\nmov     rax, rcx                                                       ; +0x1c2, 0x14011dc62\ncmp     rdx, 1000h                                                     ; +0x1c5, 0x14011dc65\njb      short loc_14011DC9D                                            ; +0x1cc, 0x14011dc6c\nadd     rdx, 27h ; '''                                                 ; +0x1ce, 0x14011dc6e\nmov     rcx, [rcx-8]                                                   ; +0x1d2, 0x14011dc72\nsub     rax, rcx                                                       ; +0x1d6, 0x14011dc76\nsub     rax, 8                                                         ; +0x1d9, 0x14011dc79\ncmp     rax, 1Fh                                                       ; +0x1dd, 0x14011dc7d\njbe     short loc_14011DC9D                                            ; +0x1e1, 0x14011dc81\nmov     [rsp+78h+Reserved], 0; Reserved                                ; +0x1e3, 0x14011dc83\nxor     r9d, r9d; LineNo                                               ; +0x1ec, 0x14011dc8c\nxor     r8d, r8d; FileName                                             ; +0x1ef, 0x14011dc8f\nxor     edx, edx; FunctionName                                         ; +0x1f2, 0x14011dc92\nxor     ecx, ecx; Expression                                           ; +0x1f4, 0x14011dc94\ncall    cs:_invoke_watson                                              ; +0x1f6, 0x14011dc96\ndb 0CCh                                                                ; +0x1fc, 0x14011dc9c\ncall    j_j_free                                                       ; +0x1fd, 0x14011dc9d\nmov     rdi, [rsi+408h]                                                ; +0x202, 0x14011dca2\ntest    rdi, rdi                                                       ; +0x209, 0x14011dca9\njz      short loc_14011DCF5                                            ; +0x20c, 0x14011dcac\nmov     rdi, [rdi+168h]                                                ; +0x20e, 0x14011dcae\nmov     rbx, [rsi+408h]                                                ; +0x215, 0x14011dcb5\nmovd    xmm0, ebp                                                      ; +0x21c, 0x14011dcbc\ncvtdq2ps xmm0, xmm0                                                    ; +0x220, 0x14011dcc0\ndivss   xmm0, cs:dword_1408357B0                                       ; +0x223, 0x14011dcc3\ncvtps2pd xmm1, xmm0                                                    ; +0x22b, 0x14011dccb\nmovq    rdx, xmm1                                                      ; +0x22e, 0x14011dcce\nlea     rcx, a1fx; \"%.1fx\"                                             ; +0x233, 0x14011dcd3\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x23a, 0x14011dcda\nmov     rcx, rax                                                       ; +0x240, 0x14011dce0\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x243, 0x14011dce3\nmov     rdx, rax                                                       ; +0x249, 0x14011dce9\nlea     rcx, [rbx+168h]                                                ; +0x24c, 0x14011dcec\ncall    qword ptr [rdi]                                                ; +0x253, 0x14011dcf3\nmov     rcx, [rsp+78h+var_20]                                          ; +0x255, 0x14011dcf5\nxor     rcx, rsp; StackCookie                                          ; +0x25a, 0x14011dcfa\ncall    __security_check_cookie                                        ; +0x25d, 0x14011dcfd\nlea     r11, [rsp+78h+var_8]                                           ; +0x262, 0x14011dd02\nmov     rbx, [r11+18h]                                                 ; +0x267, 0x14011dd07\nmov     rbp, [r11+20h]                                                 ; +0x26b, 0x14011dd0b\nmov     rsi, [r11+28h]                                                 ; +0x26f, 0x14011dd0f\nmovaps  xmm6, [rsp+78h+var_18]                                         ; +0x273, 0x14011dd13\nmov     rsp, r11                                                       ; +0x278, 0x14011dd18\npop     rdi                                                            ; +0x27b, 0x14011dd1b\nretn                                                                   ; +0x27c, 0x14011dd1c", "xrefs": ["DeathMarkerSettingsPopup::init @ 0x14011cb81", "<???> @ 0x14091643c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}