{"type": "func", "start": 5374776304, "end": 5374776399, "name": "CreateParticlePopup::maxSliderValueForType", "pseudocode": "// \n// CreateParticlePopup::maxSliderValueForType from 0x1405c93f0 to 0x1405c944f (95 bytes)\n// \n// 3 xrefs:\n// > CreateParticlePopup::updateSliderForType @ 0x1405ca28f\n// > CreateParticlePopup::sliderChanged @ 0x1405ca3ed\n// > <???> @ 0x14092e3ac\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:34:52 +0000\n// \n\ndouble __fastcall CreateParticlePopup::maxSliderValueForType(__int64 a1, int a2)\n{\n  double result; // xmm0_8\n\n  switch ( a2 )\n  {\n    case 1:\n    case 5:\n      *(_QWORD *)&result = 1065353216;\n      break;\n    case 3:\n      *(_QWORD *)&result = 1008981770;\n      break;\n    case 6:\n      *(_QWORD *)&result = 3274964992LL;\n      break;\n    case 12:\n    case 13:\n      *(_QWORD *)&result = 3296329728LL;\n      break;\n    case 14:\n    case 16:\n      *(_QWORD *)&result = 3293052928LL;\n      break;\n    case 54:\n      *(_QWORD *)&result = 3283353600LL;\n      break;\n    default:\n      result = 0.0;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::maxSliderValueForType from 0x1405c93f0 to 0x1405c944f (95 bytes)\n; \n; 3 xrefs:\n; > CreateParticlePopup::updateSliderForType @ 0x1405ca28f\n; > CreateParticlePopup::sliderChanged @ 0x1405ca3ed\n; > <???> @ 0x14092e3ac\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:34:52 +0000\n; \ndec     edx; switch 72 cases                                           ; +0x0, 0x1405c93f0\ncmp     edx, 47h                                                       ; +0x2, 0x1405c93f2\nja      short def_1405C9413; jumptable 00000001405C9413 default case, cases 2,4,7-11,15,17-53,55-72 ; +0x5, 0x1405c93f5\nmovsxd  rax, edx                                                       ; +0x7, 0x1405c93f7\nlea     rdx, cs:140000000h                                             ; +0xa, 0x1405c93fa\nmovzx   eax, ds:(byte_1405C9470 - 140000000h)[rdx+rax]                 ; +0x11, 0x1405c9401\nmov     ecx, ds:(jpt_1405C9413 - 140000000h)[rdx+rax*4]                ; +0x19, 0x1405c9409\nadd     rcx, rdx                                                       ; +0x20, 0x1405c9410\njmp     rcx; switch jump                                               ; +0x23, 0x1405c9413\nmovss   xmm0, cs:dword_140834D9C; jumptable 00000001405C9413 case 3    ; +0x25, 0x1405c9415\nretn                                                                   ; +0x2d, 0x1405c941d\nmovss   xmm0, cs:flt_140835080; jumptable 00000001405C9413 cases 1,5   ; +0x2e, 0x1405c941e\nretn                                                                   ; +0x36, 0x1405c9426\nmovss   xmm0, cs:dword_140836068; jumptable 00000001405C9413 case 6    ; +0x37, 0x1405c9427\nretn                                                                   ; +0x3f, 0x1405c942f\nmovss   xmm0, cs:dword_1408360B0; jumptable 00000001405C9413 cases 12,13 ; +0x40, 0x1405c9430\nretn                                                                   ; +0x48, 0x1405c9438\nmovss   xmm0, cs:dword_1408360AC; jumptable 00000001405C9413 cases 14,16 ; +0x49, 0x1405c9439\nretn                                                                   ; +0x51, 0x1405c9441\nmovss   xmm0, cs:dword_1408360A8; jumptable 00000001405C9413 case 54   ; +0x52, 0x1405c9442\nretn                                                                   ; +0x5a, 0x1405c944a\nxorps   xmm0, xmm0; jumptable 00000001405C9413 default case, cases 2,4,7-11,15,17-53,55-72 ; +0x5b, 0x1405c944b\nretn                                                                   ; +0x5e, 0x1405c944e", "xrefs": ["CreateParticlePopup::updateSliderForType @ 0x1405ca28f", "CreateParticlePopup::sliderChanged @ 0x1405ca3ed", "<???> @ 0x14092e3ac"], "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"}