{"type": "func", "start": 5444128, "end": 5444156, "name": "CreateParticlePopup::particleValueIsInt", "pseudocode": "// \n// CreateParticlePopup::particleValueIsInt from 0x531220 to 0x53123c (28 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::updateInputNodeStringForType @ 0x531284\n// > CreateParticlePopup::sliderChanged @ 0x531db6\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\nbool CreateParticlePopup::particleValueIsInt(CreateParticlePopup *a1, gjParticleValue a2)\n{\n  if ( (unsigned int)a2 <= EndSpinVar )\n    return (unsigned int)a2 >= Emission || a2 == MaxParticles;\n  return (unsigned int)(a2 - 50) <= 5;\n}", "assembly": "; \n; CreateParticlePopup::particleValueIsInt from 0x531220 to 0x53123c (28 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::updateInputNodeStringForType @ 0x531284\n; > CreateParticlePopup::sliderChanged @ 0x531db6\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\nCMP             R1, #0x19                                              ; +0x0, 0x531220\nBHI             loc_53122E                                             ; +0x2, 0x531222\nCMP             R1, #5                                                 ; +0x4, 0x531224\nBCS             loc_531238                                             ; +0x6, 0x531226\nCMP             R1, #1                                                 ; +0x8, 0x531228\nBNE             loc_531234                                             ; +0xa, 0x53122a\nB               loc_531238                                             ; +0xc, 0x53122c\nSUBS            R1, #0x32 ; '2'                                        ; +0xe, 0x53122e\nCMP             R1, #5                                                 ; +0x10, 0x531230\nBLS             loc_531238                                             ; +0x12, 0x531232\nMOVS            R0, #0                                                 ; +0x14, 0x531234\nBX              LR                                                     ; +0x16, 0x531236\nMOVS            R0, #1                                                 ; +0x18, 0x531238\nBX              LR                                                     ; +0x1a, 0x53123a", "xrefs": ["CreateParticlePopup::updateInputNodeStringForType @ 0x531284", "CreateParticlePopup::sliderChanged @ 0x531db6"], "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"}