{"type": "func", "start": 4296917024, "end": 4296917136, "name": "CustomizeObjectSettingsPopup::onCustomToggleTriggerValue", "pseudocode": "// \n// CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x1001dc020 to 0x1001dc090 (112 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ade288\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 12:26:26 +0000\n// \n\n__int64 __fastcall CustomizeObjectSettingsPopup::onCustomToggleTriggerValue(__int64 a1, __int64 a2)\n{\n  int v2; // r14d\n\n  *(_BYTE *)(a1 + 1024) = 1;\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  SetupTriggerPopup::updateValue(a1, 497, (float)v2);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 0, v2 == 0);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v2 == 1);\n  return SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v2 == 2);\n}", "assembly": "; \n; CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x1001dc020 to 0x1001dc090 (112 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ade288\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 12:26:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001dc020\nmov     rbp, rsp                                                       ; +0x1, 0x1001dc021\npush    r14                                                            ; +0x4, 0x1001dc024\npush    rbx                                                            ; +0x6, 0x1001dc026\nmov     rbx, rdi                                                       ; +0x7, 0x1001dc027\nmov     byte ptr [rdi+400h], 1                                         ; +0xa, 0x1001dc02a\nmov     rax, [rsi]                                                     ; +0x11, 0x1001dc031\nmov     rdi, rsi                                                       ; +0x14, 0x1001dc034\ncall    qword ptr [rax+40h]                                            ; +0x17, 0x1001dc037\nmov     r14d, eax                                                      ; +0x1a, 0x1001dc03a\ncvtsi2ss xmm0, eax                                                     ; +0x1d, 0x1001dc03d\nmov     rdi, rbx                                                       ; +0x21, 0x1001dc041\nmov     esi, 1F1h                                                      ; +0x24, 0x1001dc044\ncall    SetupTriggerPopup__updateValue                                 ; +0x29, 0x1001dc049\nxor     edx, edx                                                       ; +0x2e, 0x1001dc04e\ntest    r14d, r14d                                                     ; +0x30, 0x1001dc050\nsetz    dl                                                             ; +0x33, 0x1001dc053\nmov     rdi, rbx                                                       ; +0x36, 0x1001dc056\nxor     esi, esi                                                       ; +0x39, 0x1001dc059\ncall    SetupTriggerPopup__updateCustomToggleTrigger                   ; +0x3b, 0x1001dc05b\nxor     edx, edx                                                       ; +0x40, 0x1001dc060\ncmp     r14d, 1                                                        ; +0x42, 0x1001dc062\nsetz    dl                                                             ; +0x46, 0x1001dc066\nmov     rdi, rbx                                                       ; +0x49, 0x1001dc069\nmov     esi, 1                                                         ; +0x4c, 0x1001dc06c\ncall    SetupTriggerPopup__updateCustomToggleTrigger                   ; +0x51, 0x1001dc071\nxor     edx, edx                                                       ; +0x56, 0x1001dc076\ncmp     r14d, 2                                                        ; +0x58, 0x1001dc078\nsetz    dl                                                             ; +0x5c, 0x1001dc07c\nmov     rdi, rbx                                                       ; +0x5f, 0x1001dc07f\nmov     esi, 2                                                         ; +0x62, 0x1001dc082\npop     rbx                                                            ; +0x67, 0x1001dc087\npop     r14                                                            ; +0x68, 0x1001dc088\npop     rbp                                                            ; +0x6a, 0x1001dc08a\njmp     SetupTriggerPopup__updateCustomToggleTrigger                   ; +0x6b, 0x1001dc08b", "xrefs": ["<???> @ 0x100ade288"], "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"}