{"type": "func", "start": 4298571608, "end": 4298571748, "name": "CreateParticlePopup::sliderBegan", "pseudocode": "// \n// CreateParticlePopup::sliderBegan from 0x10036ff58 to 0x10036ffe4 (140 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009316a8\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 11:03:22 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::sliderBegan(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n  int v4; // w8\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( (unsigned int)result <= 0x34 )\n  {\n    if ( ((1LL << result) & 0x3C0) != 0 )\n    {\n      v4 = 3;\n    }\n    else if ( ((1LL << result) & 0x14000000000C00LL) != 0 )\n    {\n      v4 = 1;\n    }\n    else\n    {\n      if ( ((1LL << result) & 0x3000) == 0 )\n        return result;\n      v4 = 2;\n    }\n    *(_DWORD *)(*(_QWORD *)(a1 + 792) + 548LL) = v4;\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::sliderBegan from 0x10036ff58 to 0x10036ffe4 (140 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009316a8\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 11:03:22 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10036ff58\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10036ff5c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10036ff60\nMOV             X19, X0                                                ; +0xc, 0x10036ff64\nLDR             X8, [X1]                                               ; +0x10, 0x10036ff68\nLDR             X8, [X8,#0x40]                                         ; +0x14, 0x10036ff6c\nMOV             X0, X1                                                 ; +0x18, 0x10036ff70\nBLR             X8                                                     ; +0x1c, 0x10036ff74\nCMP             W0, #0x34 ; '4'                                        ; +0x20, 0x10036ff78\nB.HI            loc_10036FFD8                                          ; +0x24, 0x10036ff7c\nMOV             W8, W0                                                 ; +0x28, 0x10036ff80\nMOV             W9, #1                                                 ; +0x2c, 0x10036ff84\nLSL             X9, X9, X8                                             ; +0x30, 0x10036ff88\nTST             X9, #0x3C0                                             ; +0x34, 0x10036ff8c\nB.NE            loc_10036FFB4                                          ; +0x38, 0x10036ff90\nMOV             W9, #1                                                 ; +0x3c, 0x10036ff94\nLSL             X9, X9, X8                                             ; +0x40, 0x10036ff98\nMOV             X10, #0x14000000000C00                                 ; +0x44, 0x10036ff9c\nTST             X9, X10                                                ; +0x4c, 0x10036ffa4\nB.EQ            loc_10036FFBC                                          ; +0x50, 0x10036ffa8\nMOV             W8, #1                                                 ; +0x54, 0x10036ffac\nB               loc_10036FFD0                                          ; +0x58, 0x10036ffb0\nMOV             W8, #3                                                 ; +0x5c, 0x10036ffb4\nB               loc_10036FFD0                                          ; +0x60, 0x10036ffb8\nMOV             W9, #1                                                 ; +0x64, 0x10036ffbc\nLSL             X8, X9, X8                                             ; +0x68, 0x10036ffc0\nTST             X8, #0x3000                                            ; +0x6c, 0x10036ffc4\nB.EQ            loc_10036FFD8                                          ; +0x70, 0x10036ffc8\nMOV             W8, #2                                                 ; +0x74, 0x10036ffcc\nLDR             X9, [X19,#0x318]                                       ; +0x78, 0x10036ffd0\nSTR             W8, [X9,#0x224]                                        ; +0x7c, 0x10036ffd4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x80, 0x10036ffd8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x84, 0x10036ffdc\nRET                                                                    ; +0x88, 0x10036ffe0", "xrefs": ["<???> @ 0x1009316a8"], "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"}