{"type": "func", "start": 4297038848, "end": 4297038960, "name": "CustomizeObjectSettingsPopup::onCustomToggleTriggerValue", "pseudocode": "// \n// CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x1001f9c00 to 0x1001f9c70 (112 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008da138\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 __fastcall CustomizeObjectSettingsPopup::onCustomToggleTriggerValue(\n        CustomizeObjectSettingsPopup *a1,\n        cocos2d::CCObject *a2)\n{\n  int v2; // r14d\n\n  a1->m_settingsChanged = 1;\n  v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);\n  SetupTriggerPopup::updateValue(a1, 497, (float)v2);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 0, v2 == 0);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v2 == 1);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v2 == 2);\n}", "assembly": "; \n; CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x1001f9c00 to 0x1001f9c70 (112 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008da138\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\npush    rbp                                                            ; +0x0, 0x1001f9c00\nmov     rbp, rsp                                                       ; +0x1, 0x1001f9c01\npush    r14                                                            ; +0x4, 0x1001f9c04\npush    rbx                                                            ; +0x6, 0x1001f9c06\nmov     rbx, rdi                                                       ; +0x7, 0x1001f9c07\nmov     byte ptr [rdi+3B8h], 1                                         ; +0xa, 0x1001f9c0a\nmov     rax, [rsi]                                                     ; +0x11, 0x1001f9c11\nmov     rdi, rsi                                                       ; +0x14, 0x1001f9c14\ncall    qword ptr [rax+40h]                                            ; +0x17, 0x1001f9c17\nmov     r14d, eax                                                      ; +0x1a, 0x1001f9c1a\ncvtsi2ss xmm0, eax                                                     ; +0x1d, 0x1001f9c1d\nmov     rdi, rbx                                                       ; +0x21, 0x1001f9c21\nmov     esi, 1F1h                                                      ; +0x24, 0x1001f9c24\ncall    SetupTriggerPopup__updateValue                                 ; +0x29, 0x1001f9c29\nxor     edx, edx                                                       ; +0x2e, 0x1001f9c2e\ntest    r14d, r14d                                                     ; +0x30, 0x1001f9c30\nsetz    dl                                                             ; +0x33, 0x1001f9c33\nmov     rdi, rbx                                                       ; +0x36, 0x1001f9c36\nxor     esi, esi                                                       ; +0x39, 0x1001f9c39\ncall    SetupTriggerPopup__updateCustomToggleTrigger                   ; +0x3b, 0x1001f9c3b\nxor     edx, edx                                                       ; +0x40, 0x1001f9c40\ncmp     r14d, 1                                                        ; +0x42, 0x1001f9c42\nsetz    dl                                                             ; +0x46, 0x1001f9c46\nmov     rdi, rbx                                                       ; +0x49, 0x1001f9c49\nmov     esi, 1                                                         ; +0x4c, 0x1001f9c4c\ncall    SetupTriggerPopup__updateCustomToggleTrigger                   ; +0x51, 0x1001f9c51\nxor     edx, edx                                                       ; +0x56, 0x1001f9c56\ncmp     r14d, 2                                                        ; +0x58, 0x1001f9c58\nsetz    dl                                                             ; +0x5c, 0x1001f9c5c\nmov     rdi, rbx                                                       ; +0x5f, 0x1001f9c5f\nmov     esi, 2                                                         ; +0x62, 0x1001f9c62\npop     rbx                                                            ; +0x67, 0x1001f9c67\npop     r14                                                            ; +0x68, 0x1001f9c68\npop     rbp                                                            ; +0x6a, 0x1001f9c6a\njmp     SetupTriggerPopup__updateCustomToggleTrigger                   ; +0x6b, 0x1001f9c6b", "xrefs": ["<???> @ 0x1008da138"], "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"}