{"type": "func", "start": 5374780144, "end": 5374780323, "name": "CreateParticlePopup::sliderBegan", "pseudocode": "// \n// CreateParticlePopup::sliderBegan from 0x1405ca2f0 to 0x1405ca3a3 (179 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407f9138\n// > <???> @ 0x14092e3e8\n// \n// This function is hookable on this platform (idp: pc, 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 11:34:52 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::sliderBegan(__int64 a1, __int64 a2)\n{\n  __int64 v3; // kr00_8\n  __int64 result; // rax\n\n  v3 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) - 6;\n  switch ( (int)v3 )\n  {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n      result = *(_QWORD *)(a1 + 120);\n      *(_DWORD *)(result + 548) = 3;\n      break;\n    case 4:\n    case 5:\n    case 44:\n    case 46:\n      result = *(_QWORD *)(a1 + 120);\n      *(_DWORD *)(result + 548) = 1;\n      break;\n    case 6:\n    case 7:\n      result = *(_QWORD *)(a1 + 120);\n      *(_DWORD *)(result + 548) = 2;\n      break;\n    default:\n      result = v3;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::sliderBegan from 0x1405ca2f0 to 0x1405ca3a3 (179 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407f9138\n; > <???> @ 0x14092e3e8\n; \n; This function is hookable on this platform (idp: pc, 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 11:34:52 +0000\n; \npush    rbx                                                            ; +0x0, 0x1405ca2f0\nsub     rsp, 20h                                                       ; +0x2, 0x1405ca2f2\nmov     rax, [rdx]                                                     ; +0x6, 0x1405ca2f6\nmov     rbx, rcx                                                       ; +0x9, 0x1405ca2f9\nmov     rcx, rdx                                                       ; +0xc, 0x1405ca2fc\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x1405ca2ff\nadd     eax, 0FFFFFFFAh; switch 47 cases                               ; +0x12, 0x1405ca302\ncmp     eax, 2Eh                                                       ; +0x15, 0x1405ca305\nja      short def_1405CA325; jumptable 00000001405CA325 default case, cases 14-49,51 ; +0x18, 0x1405ca308\nlea     rcx, cs:140000000h                                             ; +0x1a, 0x1405ca30a\ncdqe                                                                   ; +0x21, 0x1405ca311\nmovzx   eax, ds:(byte_1405CA374 - 140000000h)[rcx+rax]                 ; +0x23, 0x1405ca313\nmov     edx, ds:(jpt_1405CA325 - 140000000h)[rcx+rax*4]                ; +0x2b, 0x1405ca31b\nadd     rdx, rcx                                                       ; +0x32, 0x1405ca322\njmp     rdx; switch jump                                               ; +0x35, 0x1405ca325\nmov     rax, [rbx+78h]; jumptable 00000001405CA325 cases 10,11,50,52   ; +0x37, 0x1405ca327\nmov     dword ptr [rax+224h], 1                                        ; +0x3b, 0x1405ca32b\nadd     rsp, 20h                                                       ; +0x45, 0x1405ca335\npop     rbx                                                            ; +0x49, 0x1405ca339\nretn                                                                   ; +0x4a, 0x1405ca33a\nmov     rax, [rbx+78h]; jumptable 00000001405CA325 cases 12,13         ; +0x4b, 0x1405ca33b\nmov     dword ptr [rax+224h], 2                                        ; +0x4f, 0x1405ca33f\nadd     rsp, 20h                                                       ; +0x59, 0x1405ca349\npop     rbx                                                            ; +0x5d, 0x1405ca34d\nretn                                                                   ; +0x5e, 0x1405ca34e\nmov     rax, [rbx+78h]; jumptable 00000001405CA325 cases 6-9           ; +0x5f, 0x1405ca34f\nmov     dword ptr [rax+224h], 3                                        ; +0x63, 0x1405ca353\nadd     rsp, 20h; jumptable 00000001405CA325 default case, cases 14-49,51 ; +0x6d, 0x1405ca35d\npop     rbx                                                            ; +0x71, 0x1405ca361\nretn                                                                   ; +0x72, 0x1405ca362\nalign 4                                                                ; +0x73, 0x1405ca363\ndd offset loc_1405CA34F - 140000000h; jump table for switch statement  ; +0x74, 0x1405ca364\ndb      0,     0,     0,     0; indirect table for switch statement    ; +0x84, 0x1405ca374", "xrefs": ["<???> @ 0x1407f9138", "<???> @ 0x14092e3e8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}