{"type": "func", "start": 6704548, "end": 6704570, "name": "CreateParticlePopup::minSliderValueForType", "pseudocode": "// \n// CreateParticlePopup::minSliderValueForType from 0x664da4 to 0x664dba (22 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::updateSliderForType @ 0x665806\n// > CreateParticlePopup::sliderChanged @ 0x666966\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:55:40 +0000\n// \n\nint __fastcall CreateParticlePopup::minSliderValueForType(int a1, int a2)\n{\n  unsigned int v2; // r1\n\n  v2 = a2 - 1;\n  if ( v2 > 0x47 )\n    return 0;\n  else\n    return dword_BEF188[v2];\n}", "assembly": "; \n; CreateParticlePopup::minSliderValueForType from 0x664da4 to 0x664dba (22 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::updateSliderForType @ 0x665806\n; > CreateParticlePopup::sliderChanged @ 0x666966\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:55:40 +0000\n; \nSUBS            R1, #1                                                 ; +0x0, 0x664da4\nCMP             R1, #0x47 ; 'G'                                        ; +0x2, 0x664da6\nBHI             loc_664DB6                                             ; +0x4, 0x664da8\nLDR             R3, =(dword_BEF188 - 0x664DB0)                         ; +0x6, 0x664daa\nADD             R3, PC; dword_BEF188                                   ; +0x8, 0x664dac\nADD.W           R1, R3, R1,LSL#2                                       ; +0xa, 0x664dae\nLDR             R0, [R1]                                               ; +0xe, 0x664db2\nBX              LR                                                     ; +0x10, 0x664db4\nMOVS            R0, #0                                                 ; +0x12, 0x664db6\nBX              LR                                                     ; +0x14, 0x664db8", "xrefs": ["CreateParticlePopup::updateSliderForType @ 0x665806", "CreateParticlePopup::sliderChanged @ 0x666966"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}