{"type": "func", "start": 5373115072, "end": 5373115167, "name": "CreateParticlePopup::maxSliderValueForType", "pseudocode": "// \n// CreateParticlePopup::maxSliderValueForType from 0x140433ac0 to 0x140433b1f (95 bytes)\n// \n// 3 xrefs:\n// > CreateParticlePopup::updateSliderForType @ 0x14043495f\n// > CreateParticlePopup::sliderChanged @ 0x140434abd\n// > <???> @ 0x1406d9c2c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nfloat CreateParticlePopup::maxSliderValueForType(CreateParticlePopup *a1, gjParticleValue a2)\n{\n  float result; // xmm0_4\n\n  switch ( a2 )\n  {\n    case MaxParticles:\n    case Emission:\n      result = 1.0;\n      break;\n    case Lifetime:\n      result = 0.0099999998;\n      break;\n    case Angle:\n      result = -180.0;\n      break;\n    case GravityX:\n    case GravityY:\n      result = -1000.0;\n      break;\n    case AccelRad:\n    case AccelTan:\n      result = -800.0;\n      break;\n    case RotSec:\n      result = -360.0;\n      break;\n    default:\n      result = 0.0;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::maxSliderValueForType from 0x140433ac0 to 0x140433b1f (95 bytes)\n; \n; 3 xrefs:\n; > CreateParticlePopup::updateSliderForType @ 0x14043495f\n; > CreateParticlePopup::sliderChanged @ 0x140434abd\n; > <???> @ 0x1406d9c2c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ndec     edx; switch 72 cases                                           ; +0x0, 0x140433ac0\ncmp     edx, 47h                                                       ; +0x2, 0x140433ac2\nja      short def_140433AE3; jumptable 0000000140433AE3 default case, cases 2,4,7-11,15,17-53,55-72 ; +0x5, 0x140433ac5\nmovsxd  rax, edx                                                       ; +0x7, 0x140433ac7\nlea     rdx, cs:140000000h                                             ; +0xa, 0x140433aca\nmovzx   eax, ds:(byte_140433B40 - 140000000h)[rdx+rax]                 ; +0x11, 0x140433ad1\nmov     ecx, ds:(jpt_140433AE3 - 140000000h)[rdx+rax*4]                ; +0x19, 0x140433ad9\nadd     rcx, rdx                                                       ; +0x20, 0x140433ae0\njmp     rcx; switch jump                                               ; +0x23, 0x140433ae3\nmovss   xmm0, cs:dword_1406229AC; jumptable 0000000140433AE3 case 3    ; +0x25, 0x140433ae5\nretn                                                                   ; +0x2d, 0x140433aed\nmovss   xmm0, cs:flt_140622C24; jumptable 0000000140433AE3 cases 1,5   ; +0x2e, 0x140433aee\nretn                                                                   ; +0x36, 0x140433af6\nmovss   xmm0, cs:dword_140623A9C; jumptable 0000000140433AE3 case 6    ; +0x37, 0x140433af7\nretn                                                                   ; +0x3f, 0x140433aff\nmovss   xmm0, cs:dword_140623AE0; jumptable 0000000140433AE3 cases 12,13 ; +0x40, 0x140433b00\nretn                                                                   ; +0x48, 0x140433b08\nmovss   xmm0, cs:dword_140623ADC; jumptable 0000000140433AE3 cases 14,16 ; +0x49, 0x140433b09\nretn                                                                   ; +0x51, 0x140433b11\nmovss   xmm0, cs:dword_140623AD8; jumptable 0000000140433AE3 case 54   ; +0x52, 0x140433b12\nretn                                                                   ; +0x5a, 0x140433b1a\nxorps   xmm0, xmm0; jumptable 0000000140433AE3 default case, cases 2,4,7-11,15,17-53,55-72 ; +0x5b, 0x140433b1b\nretn                                                                   ; +0x5e, 0x140433b1e", "xrefs": ["CreateParticlePopup::updateSliderForType @ 0x14043495f", "CreateParticlePopup::sliderChanged @ 0x140434abd", "<???> @ 0x1406d9c2c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}