{"type": "func", "start": 11517888, "end": 11518028, "name": "CreateParticlePopup::sliderBegan", "pseudocode": "// \n// CreateParticlePopup::sliderBegan from 0xafbfc0 to 0xafc04c (140 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CreateParticlePopup::sliderBegan @ 0xafc050\n// > <???> @ 0xa93a8\n// > <???> @ 0x14b0320\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:01:18 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::sliderBegan(CreateParticlePopup *this, Slider *a2)\n{\n  __int64 result; // x0\n\n  result = (*(unsigned int (__fastcall **)(Slider *))(*(_QWORD *)a2 + 64LL))(a2) - 6;\n  switch ( (int)result )\n  {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n      result = *((_QWORD *)this + 99);\n      *(_DWORD *)(result + 548) = 3;\n      break;\n    case 4:\n    case 5:\n    case 44:\n    case 46:\n      result = *((_QWORD *)this + 99);\n      *(_DWORD *)(result + 548) = 1;\n      break;\n    case 6:\n    case 7:\n      result = *((_QWORD *)this + 99);\n      *(_DWORD *)(result + 548) = 2;\n      break;\n    default:\n      return result;\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::sliderBegan from 0xafbfc0 to 0xafc04c (140 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CreateParticlePopup::sliderBegan @ 0xafc050\n; > <???> @ 0xa93a8\n; > <???> @ 0x14b0320\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:01:18 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xafbfc0\nMOV             X29, SP                                                ; +0x4, 0xafbfc4\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xafbfc8\nMOV             X19, X0                                                ; +0xc, 0xafbfcc\nMOV             X0, X1                                                 ; +0x10, 0xafbfd0\nLDR             X1, [X1]                                               ; +0x14, 0xafbfd4\nLDR             X1, [X1,#0x40]                                         ; +0x18, 0xafbfd8\nBLR             X1                                                     ; +0x1c, 0xafbfdc\nSUB             W0, W0, #6; switch 47 cases                            ; +0x20, 0xafbfe0\nCMP             W0, #0x2E                                              ; +0x24, 0xafbfe4\nB.HI            def_AFC000; jumptable 0000000000AFC000 default case, cases 14-49,51 ; +0x28, 0xafbfe8\nADRL            X1, jpt_AFC000                                         ; +0x2c, 0xafbfec\nLDRB            W0, [X1,W0,UXTW]                                       ; +0x34, 0xafbff4\nADR             X1, loc_AFC004; jumptable 0000000000AFC000 cases 6-9   ; +0x38, 0xafbff8\nADD             X0, X1, W0,SXTB#2                                      ; +0x3c, 0xafbffc\nBR              X0; switch jump                                        ; +0x40, 0xafc000\nLDR             X0, [X19,#0x318]; jumptable 0000000000AFC000 cases 6-9 ; +0x44, 0xafc004\nMOV             W1, #3                                                 ; +0x48, 0xafc008\nSTR             W1, [X0,#0x224]                                        ; +0x4c, 0xafc00c\nLDR             X19, [SP,#0x20+var_10]; jumptable 0000000000AFC000 default case, cases 14-49,51 ; +0x50, 0xafc010\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0xafc014\nRET                                                                    ; +0x58, 0xafc018\nLDR             X0, [X19,#0x318]; jumptable 0000000000AFC000 cases 12,13 ; +0x5c, 0xafc01c\nMOV             W1, #2                                                 ; +0x60, 0xafc020\nSTR             W1, [X0,#0x224]                                        ; +0x64, 0xafc024\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x68, 0xafc028\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x6c, 0xafc02c\nRET                                                                    ; +0x70, 0xafc030\nLDR             X0, [X19,#0x318]; jumptable 0000000000AFC000 cases 10,11,50,52 ; +0x74, 0xafc034\nMOV             W1, #1                                                 ; +0x78, 0xafc038\nSTR             W1, [X0,#0x224]                                        ; +0x7c, 0xafc03c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x80, 0xafc040\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x84, 0xafc044\nRET                                                                    ; +0x88, 0xafc048", "xrefs": ["`non-virtual thunk to'CreateParticlePopup::sliderBegan @ 0xafc050", "<???> @ 0xa93a8", "<???> @ 0x14b0320"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}