{"type": "func", "start": 5373386016, "end": 5373386204, "name": "SetupTriggerPopup::triggerSliderChanged", "pseudocode": "// \n// SetupTriggerPopup::triggerSliderChanged from 0x140475d20 to 0x140475ddc (188 bytes)\n// \n// 2 xrefs:\n// > SetupTriggerPopup::createValueControlAdvanced @ 0x1404766c8\n// > <???> @ 0x1406db678\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 SetupTriggerPopup::triggerSliderChanged(SetupTriggerPopup *a1, cocos2d::CCObject *a2)\n{\n  bool m_disableTextDelegate; // bp\n  __int64 v5; // rsi\n  double v6; // xmm0_8\n  float TruncatedValue; // xmm6_4\n  struct cocos2d::CCObject *v8; // rax\n  SetupTriggerPopup *v9; // rcx\n\n  m_disableTextDelegate = a1->m_disableTextDelegate;\n  a1->m_disableTextDelegate = 1;\n  v5 = a2->getTag(a2);\n  SliderThumb::getValue((SliderThumb *)a2);\n  v6 = ((double (__fastcall *)(SetupTriggerPopup *, _QWORD))a1->triggerValueFromSliderValue)(a1, (unsigned int)v5);\n  TruncatedValue = *(float *)&v6;\n  v8 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, v5);\n  if ( v8 )\n    TruncatedValue = SetupTriggerPopup::getTruncatedValue(v9, *(float *)&v6, v8[10].m_nZOrder);\n  SetupTriggerPopup::valueChanged(a1, v5, TruncatedValue);\n  ((void (__fastcall *)(SetupTriggerPopup *, _QWORD))a1->updateInputNode)(a1, (unsigned int)v5);\n  a1->m_disableTextDelegate = m_disableTextDelegate;\n}", "assembly": "; \n; SetupTriggerPopup::triggerSliderChanged from 0x140475d20 to 0x140475ddc (188 bytes)\n; \n; 2 xrefs:\n; > SetupTriggerPopup::createValueControlAdvanced @ 0x1404766c8\n; > <???> @ 0x1406db678\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140475d20\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140475d25\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x140475d2a\npush    rdi                                                            ; +0xf, 0x140475d2f\nsub     rsp, 30h                                                       ; +0x10, 0x140475d30\nmovzx   ebp, byte ptr [rcx+2CCh]                                       ; +0x14, 0x140475d34\nmov     rdi, rcx                                                       ; +0x1b, 0x140475d3b\nmov     byte ptr [rcx+2CCh], 1                                         ; +0x1e, 0x140475d3e\nmov     rbx, rdx                                                       ; +0x25, 0x140475d45\nmov     rax, [rdx]                                                     ; +0x28, 0x140475d48\nmov     rcx, rdx                                                       ; +0x2b, 0x140475d4b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x2e, 0x140475d4e\ncall    qword ptr [rax+38h]                                            ; +0x33, 0x140475d53\nmov     rcx, rbx                                                       ; +0x36, 0x140475d56\nmovsxd  rsi, eax                                                       ; +0x39, 0x140475d59\ncall    SliderThumb__getValue                                          ; +0x3c, 0x140475d5c\nmov     r8, [rdi]                                                      ; +0x41, 0x140475d61\nmovaps  xmm2, xmm0                                                     ; +0x44, 0x140475d64\nmov     edx, esi                                                       ; +0x47, 0x140475d67\nmov     rcx, rdi                                                       ; +0x49, 0x140475d69\ncall    qword ptr [r8+478h]                                            ; +0x4c, 0x140475d6c\nmov     rcx, [rdi+2D8h]                                                ; +0x53, 0x140475d73\nmov     rdx, rsi                                                       ; +0x5a, 0x140475d7a\nmovaps  xmm6, xmm0                                                     ; +0x5d, 0x140475d7d\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x60, 0x140475d80\ntest    rax, rax                                                       ; +0x66, 0x140475d86\njz      short loc_140475D9D                                            ; +0x69, 0x140475d89\nmov     r8d, [rax+25Ch]                                                ; +0x6b, 0x140475d8b\nmovaps  xmm1, xmm6                                                     ; +0x72, 0x140475d92\ncall    SetupTriggerPopup__getTruncatedValue                           ; +0x75, 0x140475d95\nmovaps  xmm6, xmm0                                                     ; +0x7a, 0x140475d9a\nmovaps  xmm2, xmm6                                                     ; +0x7d, 0x140475d9d\nmov     edx, esi                                                       ; +0x80, 0x140475da0\nmov     rcx, rdi                                                       ; +0x82, 0x140475da2\ncall    SetupTriggerPopup__valueChanged                                ; +0x85, 0x140475da5\nmov     rax, [rdi]                                                     ; +0x8a, 0x140475daa\nmovaps  xmm2, xmm6                                                     ; +0x8d, 0x140475dad\nmov     edx, esi                                                       ; +0x90, 0x140475db0\nmov     rcx, rdi                                                       ; +0x92, 0x140475db2\ncall    qword ptr [rax+458h]                                           ; +0x95, 0x140475db5\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x9b, 0x140475dbb\nmov     rsi, [rsp+38h+arg_10]                                          ; +0xa0, 0x140475dc0\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa5, 0x140475dc5\nmov     [rdi+2CCh], bpl                                                ; +0xaa, 0x140475dca\nmov     rbp, [rsp+38h+arg_8]                                           ; +0xb1, 0x140475dd1\nadd     rsp, 30h                                                       ; +0xb6, 0x140475dd6\npop     rdi                                                            ; +0xba, 0x140475dda\nretn                                                                   ; +0xbb, 0x140475ddb", "xrefs": ["SetupTriggerPopup::createValueControlAdvanced @ 0x1404766c8", "<???> @ 0x1406db678"], "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"}