{"type": "func", "start": 5441252, "end": 5441278, "name": "CreateParticlePopup::maxSliderValueForType", "pseudocode": "// \n// CreateParticlePopup::maxSliderValueForType from 0x5306e4 to 0x5306fe (26 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::updateSliderForType @ 0x53112a\n// > CreateParticlePopup::sliderChanged @ 0x531da2\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  unsigned __int32 v2; // r1\n\n  v2 = a2 - 1;\n  if ( v2 > 0x47 )\n    return 1.0;\n  else\n    return flt_9AD00C[v2 + 72];\n}", "assembly": "; \n; CreateParticlePopup::maxSliderValueForType from 0x5306e4 to 0x5306fe (26 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::updateSliderForType @ 0x53112a\n; > CreateParticlePopup::sliderChanged @ 0x531da2\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\nSUBS            R1, #1                                                 ; +0x0, 0x5306e4\nCMP             R1, #0x47 ; 'G'                                        ; +0x2, 0x5306e6\nBHI             loc_5306F8                                             ; +0x4, 0x5306e8\nLDR             R3, =(flt_9AD00C - 0x5306F0)                           ; +0x6, 0x5306ea\nADD             R3, PC; flt_9AD00C                                     ; +0x8, 0x5306ec\nADD.W           R1, R3, R1,LSL#2                                       ; +0xa, 0x5306ee\nLDR.W           R0, [R1,#0x120]                                        ; +0xe, 0x5306f2\nBX              LR                                                     ; +0x12, 0x5306f6\nMOV.W           R0, #0x3F800000                                        ; +0x14, 0x5306f8\nBX              LR                                                     ; +0x18, 0x5306fc", "xrefs": ["CreateParticlePopup::updateSliderForType @ 0x53112a", "CreateParticlePopup::sliderChanged @ 0x531da2"], "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"}