{"type": "func", "start": 5435734, "end": 5435804, "name": "CreateParticlePopup::sliderBegan", "pseudocode": "// \n// CreateParticlePopup::sliderBegan from 0x52f156 to 0x52f19c (70 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CreateParticlePopup::sliderBegan @ 0x52f1a0\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\nvoid CreateParticlePopup::sliderBegan(CreateParticlePopup *a1, Slider *a2)\n{\n  int v3; // r0\n  ParticlePreviewLayer *m_previewLayer; // r3\n  int v5; // r2\n\n  v3 = a2->getTag(a2);\n  if ( v3 <= 11 )\n  {\n    if ( v3 < 10 )\n    {\n      if ( v3 < 6 )\n        return;\n      m_previewLayer = a1->m_previewLayer;\n      v5 = 3;\nLABEL_13:\n      m_previewLayer->m_drawMode = v5;\n      return;\n    }\nLABEL_10:\n    m_previewLayer = a1->m_previewLayer;\n    v5 = 1;\n    goto LABEL_13;\n  }\n  if ( v3 == 50 )\n    goto LABEL_10;\n  if ( v3 > 50 )\n  {\n    if ( v3 != 52 )\n      return;\n    goto LABEL_10;\n  }\n  if ( v3 <= 13 )\n  {\n    m_previewLayer = a1->m_previewLayer;\n    v5 = 2;\n    goto LABEL_13;\n  }\n}", "assembly": "; \n; CreateParticlePopup::sliderBegan from 0x52f156 to 0x52f19c (70 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CreateParticlePopup::sliderBegan @ 0x52f1a0\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\nLDR             R3, [R1]                                               ; +0x0, 0x52f156\nPUSH            {R4,LR}                                                ; +0x2, 0x52f158\nMOV             R4, R0                                                 ; +0x4, 0x52f15a\nLDR             R3, [R3,#0x20]                                         ; +0x6, 0x52f15c\nMOV             R0, R1                                                 ; +0x8, 0x52f15e\nBLX             R3                                                     ; +0xa, 0x52f160\nCMP             R0, #0xB                                               ; +0xc, 0x52f162\nBGT             loc_52F170                                             ; +0xe, 0x52f164\nCMP             R0, #0xA                                               ; +0x10, 0x52f166\nBGE             loc_52F180                                             ; +0x12, 0x52f168\nCMP             R0, #6                                                 ; +0x14, 0x52f16a\nBGE             loc_52F190                                             ; +0x16, 0x52f16c\nPOP             {R4,PC}                                                ; +0x18, 0x52f16e\nCMP             R0, #0x32 ; '2'                                        ; +0x1a, 0x52f170\nBEQ             loc_52F180                                             ; +0x1c, 0x52f172\nBGT             loc_52F17C                                             ; +0x1e, 0x52f174\nCMP             R0, #0xD                                               ; +0x20, 0x52f176\nBLE             loc_52F188                                             ; +0x22, 0x52f178\nPOP             {R4,PC}                                                ; +0x24, 0x52f17a\nCMP             R0, #0x34 ; '4'                                        ; +0x26, 0x52f17c\nBNE             locret_52F19A                                          ; +0x28, 0x52f17e\nLDR.W           R3, [R4,#0x238]                                        ; +0x2a, 0x52f180\nMOVS            R2, #1                                                 ; +0x2e, 0x52f184\nB               loc_52F196                                             ; +0x30, 0x52f186\nLDR.W           R3, [R4,#0x238]                                        ; +0x32, 0x52f188\nMOVS            R2, #2                                                 ; +0x36, 0x52f18c\nB               loc_52F196                                             ; +0x38, 0x52f18e\nLDR.W           R3, [R4,#0x238]                                        ; +0x3a, 0x52f190\nMOVS            R2, #3                                                 ; +0x3e, 0x52f194\nSTR.W           R2, [R3,#0x1BC]                                        ; +0x40, 0x52f196\nPOP             {R4,PC}                                                ; +0x44, 0x52f19a", "xrefs": ["`non-virtual thunk to'CreateParticlePopup::sliderBegan @ 0x52f1a0"], "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"}